Chris Martin | 10 Dec 2004 13:05
Picon

Bootldr updater image - for easy one-step installation!!

Hi all,

I created a serloadable mini image that installs the hh.org bootldr 
directly into flash and if you have a CF Card the bootldr will 
automatically install an image with the name of simpad-rootfs.jffs2 from 
the top-level of the CF upon reset.

So if you have a CF Card it is possible to install the new bootldr and a 
rootfs image in just "one" easy step (well actually three ;-)):

1. Copy jffs2 image to CF and name it "simpad-rootfs.jffs2"
2. serload the blupdater.img and reset
3. After the bootldr is successfully installed - disconnect serial 
connection and reset again

If you have a CF Card in the PCMCIA slot of the pad then bootldr 
installs and boots the new image automatically.
This does take some time, so don't forget AC Power - I force you to plug 
it in anyways, since my image won't continue to install if you don't ;-)

If you want to see what's happening on a serial console, then connect a 
terminal program at 115200 8N1 WITHOUT Hardware flow control before 
doing step 3.
If you connect while step 3 is in progress the bootldr gets some input 
and drops to a boot> prompt. Then you will have to either reset again or 
install manually.

Oh yeah, at the moment THIS ONLY WORKS ON 32MB DEVICES - SL4/SLC.

Yesterday a friend and i tried it on a CL4/T-Sinus pad and it is now 
(Continue reading)

Bruno Seoane | 21 Dec 2004 05:07
Picon
Picon
Favicon

Re: Bootldr updater image - for easy one-step installation!!

Hi,

> I created a serloadable mini image that installs the hh.org bootldr
> directly into flash and if you have a CF Card the bootldr will
> automatically install an image with the name of simpad-rootfs.jffs2 from
> the top-level of the CF upon reset.

Great work, it worked like a charm here.

I may sound like a newbie, but I'd like to know how to reflash the simpad with 
any of the two images. I've tried to do it with serload, but it won't work, 
it just won't take the image on reset.

I believe that maybe it has to do with the booting to the bl prompt, but... 
how do I get to it?

Is there another method to flash it again?

--

-- 
Bruno Seoane

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Chris Martin | 21 Dec 2004 09:41
Picon

Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

Hi,

the days of serload are over when we use the hh.org bootldr. ;-)

To install a new image from CF:

I) Method 1(no serial connection necessary):
1. create a /boot/params file in the running image with the following 
contents:
(yes, the pcmcia and vfat commands need to be placed in there twice - 
for some reason the bootldr isn't ready for those commands the first 
time through, so the first set is just to win time until the bootldr is 
ready)
###/boot/params###
set linuxargs="noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0"
pcmcia insert 0
vfat mount /
pcmcia insert 0
vfat mount /
copy hda1:/simpad-rootfs.jffs2 root
##############
2. copy the jffs2 image to CF (make sure it's FAT formatted) and rename 
it simpad-rootfs.jffs2 (or whatever you name it in /boot/params)
3. insert the CF and reset the pad
After installation is finished the image is booted automatically so just 
wait long enough until it comes up (~10-15 min.)

II) Method 2 (via serial connection)
1. connect a serial terminal with settings 115200 8N1 to the simpad
2. reset and hit space bar while bootldr is initiating
(Continue reading)

Bruno Seoane | 22 Dec 2004 04:12
Picon
Picon
Favicon

Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

Hi,

Well, that's quite nifty. The bootloader really kicks ass.
This stuff you just wrote should be copied to the wiki...

Now, one final question about the bootloader. Suppose I want to go back to the 
WinCE system. Since hh.org bootloader can't boot wince images (will it ever 
be able to?), would something like

copy hda1:/siemens_bootloader.bl bootldr work?

Or does this documentation still apply to go back to the old siemens 
bootloader?
http://opensimpad.org/wiki/index.php/Docs/SerialInstall

> Hi,
>
> the days of serload are over when we use the hh.org bootldr. ;-)
>
> To install a new image from CF:
>
> I) Method 1(no serial connection necessary):
> 1. create a /boot/params file in the running image with the following
> contents:
> (yes, the pcmcia and vfat commands need to be placed in there twice -
> for some reason the bootldr isn't ready for those commands the first
> time through, so the first set is just to win time until the bootldr is
> ready)
> ###/boot/params###
> set linuxargs="noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0"
(Continue reading)

Chris Martin | 22 Dec 2004 12:12
Picon

Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

Hi,

> 
> Well, that's quite nifty. The bootloader really kicks ass.
> This stuff you just wrote should be copied to the wiki...

Yeah, as soon as this is released to the public we can do that. The hh.org
bootldr is pretty well documented at handhelds.org also.

> Since hh.org bootloader can't boot wince images (will it
> ever be able to?),

The problem is not the bootldr itself. The problem as far as I understand it
is that the CE Images were modified to work with the Siemens bootlader. So
it seems there is something in the CE Images that isn't standard.
The hh.org bootldr has been able to boot CE almost from the beginning (at
least on the iPAQs).
Walter, maybe you can explain this in detail and maybe you have a solution
how we can get the CE Images to work with the hh.org bootldr.

> would something like
> 
> copy hda1:/siemens_bootloader.bl bootldr work?
>

Yes. But you have to use the original ROM that is also used when reviving a
device via JTAG. AFAIK the Siemens bootloaders used to update the bootloader
(e.g. the 2.5.3 version) would not be suitable.
But to answer yout question - with the right ROM (there are two simpadSL.rom
and simpadCL.rom) you could reinstall the Siemens bootloader from CF the way
(Continue reading)

Schweizer Walter | 22 Dec 2004 12:58
Picon

RE: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

Hi Bruno

Bootldr cannot boot WinCE, because the WinCE image is depending
on the original bootloader. I do not think that there is an easy way
of adapting bootldr to load WinCE.

To run WinCE again you have to load the old bootloader.

Regards
Walter

> -----Original Message-----
> From: simpad-general-admin <at> lists.sourceforge.net
> [mailto:simpad-general-admin <at> lists.sourceforge.net]On Behalf Of Bruno
> Seoane
> Sent: Wednesday, December 22, 2004 4:13 AM
> To: simpad-general <at> lists.sourceforge.net
> Subject: Re: [Simpad-general] manual image installation with 
> the hh.org
> bootldr - was Bootldr updater image - for easy one-step installation!!
> 
> 
> Hi,
> 
> 
> Well, that's quite nifty. The bootloader really kicks ass.
> This stuff you just wrote should be copied to the wiki...
> 
> Now, one final question about the bootloader. Suppose I want 
> to go back to the 
(Continue reading)

Bruno Seoane | 22 Dec 2004 13:18
Picon
Picon
Favicon

Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

El Wednesday, 22 de December de 2004 10:34, Schweizer Walter escribía:

Hi,

I know, I know... Chris already reminded us that when he sent the first email 
of this series.

What I'm wondering is what's the right way to proceed and flash the old 
bootldr.

Can it be done from the hh.org bootloader (copy hda1:/siemens_bootloader.bl 
bootldr maybe?) or do we need to flash using the old method?

--

-- 
Bruno Seoane

> Hi Bruno
>
> Bootldr cannot boot WinCE, because the WinCE image is depending
> on the original bootloader. I do not think that there is an easy way
> of adapting bootldr to load WinCE.
>
> To run WinCE again you have to load the old bootloader.
>
> Regards
> Walter
>
> > -----Original Message-----
> > From: simpad-general-admin <at> lists.sourceforge.net
> > [mailto:simpad-general-admin <at> lists.sourceforge.net]On Behalf Of Bruno
(Continue reading)

Guylhem Aznar | 22 Dec 2004 13:44

Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!

On Wednesday, 22 December 2004 at 12:12:56 (+0100), Chris Martin wrote:
> Yeah, as soon as this is released to the public we can do that. The hh.org
> bootldr is pretty well documented at handhelds.org also.

Attached my own install ntes (whenever I install something I take
notes) base on yours. Usually I put everything I do on my machines in
a .txt file - including what I remove and what I install [btw 3.5.2
feed is missing - you have to add that]

> The problem is not the bootldr itself. The problem as far as I understand it
> is that the CE Images were modified to work with the Siemens bootlader. So
> it seems there is something in the CE Images that isn't standard.
> The hh.org bootldr has been able to boot CE almost from the beginning (at
> least on the iPAQs).
> Walter, maybe you can explain this in detail and maybe you have a solution
> how we can get the CE Images to work with the hh.org bootldr.

I saw some very interesting websites about dual and triple boot using
bootldr on an ipaq. Basically, you just say which part of the wince
image is loaded into which part of the ram.

IMHO, if we knew which modifications had been applied to the CE image,
that should be possible (supposing the CE image contains a mix of
specific instructions to load something at some place in the RAM,
followed by what to load)

> But to answer yout question - with the right ROM (there are two simpadSL.rom
> and simpadCL.rom) you could reinstall the Siemens bootloader from CF the way
> you mentioned. Since the bootldr partition is protected you would have to
> run two commands before the copy command:
(Continue reading)

Bruno Seoane | 22 Dec 2004 13:56
Picon
Picon
Favicon

sandisk connect plus working

Hi,

It looks like someone sent to Jouni Malinen a spare card and he got it working 
in dual mode (storage + wifi).

Wifi support was included in CVS a couple of days ago, and he got storage 
working disabling some of the ports enabled per default in config.opts

Well, it looks that at last we'll have a way to go online and have some real 
storage space :)

--

-- 
Bruno Seoane

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Guylhem Aznar | 22 Dec 2004 16:31

Re: sandisk connect plus working

On Wednesday, 22 December 2004 at 13:56:23 (+0100), Bruno Seoane wrote:
> Wifi support was included in CVS a couple of days ago, and he got storage 
> working disabling some of the ports enabled per default in config.opts

Did post that a little earlier. It would be great if one could make
the .o modules and the explaination available... Point me to the
changes in config.opts and I'll see what I can do !
[I only have gcc 2.95.3 cross compiler however]

-- 
Bien à vous - Best regards,
Guylhem P. Aznar

--

-- 
* <at> externe.net                                            http://externe.net
Périmé/Deprecated:     <at> oeil.qc.ca,  <at> metalab.unc.edu,  <at> ibiblio.org,  <at> 7un.org
GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubkey

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

Gmane