Re: Updating the bootloader after piggyback does not work?!

Massimo <[email protected]> Tue, 14 Sep 2004 13:26:24 +0000 (UTC)
Newsgroups gmane.comp.handhelds.simpad.linux
Message-ID <[email protected]>
Ralf Miunske <ralf <at> miunske.de> writes:

> 
> Hehe, this is again the overlapping thingy...
> It seems, that someone had thought about this and knew, that the first 
> bootloader ever to ship simpads with will be real old in just a litlle time, 
> so that piggy-back restores some kind of old "loader_alt", so that you can 
> flash the newest bootloader first, without having to upload an alternate 
> bootloader, just to throw it away some minutes later. Try to flash the newest 
> bootloader first, usually it should be the non-alternate version, but you can 
> change between both as often as you like. Or did you try a opensimpad-image 
> which requires the alternate bootloader? Then piggy-back restores the 
> ordinary bootloader and you'll need loader_alt first to upload that image.
> Overlapping problems are usually caused by the wrong type of the arnold 
> bootloader or alternatively you image says

Uhm, actually I've tried serload all loader_bl I've been able to find. The 
problem is always the same. The upload process work, the loader seems 
installed, but at the next reboot the 2.4 is always there. Look at the log:
---------------------------------------------------------------------------
C:\simpad>serload loader_bl
Ready to download file "loader_bl". Press RESET!

PBL V2.4 20.07.2001
Booting...
================================================
Siemens Switzerland Bootloader V2.4 20.07.2001
Running @206Mhz Processor ID 0x6901b118
Press ESC for monitor
Occupied Memory: [0x00004000-0x00008000],[0x01f00014-0x01f74b9c]
Flash Id 0x00000018 at virt adr 0x05000000 Size 0x01000000
No 32Bit Flash detected 0x00000000
FlashImage Checksum 0x05040014-0x05061ab0=0x342f5fd8 Bootloader Image OK
Fabdata Flash @0x05061ab4 Ram @0x01f21ab4 FABDATA: S842-KJPLM
MSC2=0x211954e0 :: MQ200 - Revision ID=2 ...
Initialise PCMCIA Interface... done.
Codec UCB1200 ID:0x1005 Ver.5 Dev.0 Suppl.1 IO 0x00000000
No PCMCIA Card Attached
☻Setting baud rate to 115200
♠☻Serial download request
NO PCMCIA CARD!  -- Use serial IO
Sysinit done
Booting : (null)
Serial download entered.
☻☻
Base    : 0x8000 Size 107300 entry:0x8014
♠☻[*********************/]   1070086
Load finished with 7kB/sec
Starting Image at 8014 PPCR 0x0000000a

PBL V2.4 20.07.2001
Booting...
================================================
Siemens Switzerland Bootloader V2.4 20.07.2001
Running @206Mhz Processor ID 0x6901b118
Press ESC for monitor
Occupied Memory: [0x00004000-0x00008000],[0x01f00014-0x01f74b9c]
Flash Id 0x00000018 at virt adr 0x05000000 Size 0x01000000
No 32Bit Flash detected 0x00000000
FlashImage Checksum 0x05040014-0x05061ab0=0x342f5fd8 Bootloader Image OK
Fabdata Flash @0x05061ab4 Ram @0x01f21ab4 FABDATA: S842-KJPLM
MSC2=0x211954e0 :: MQ200 - Revision ID=2 ...
Initialise PCMCIA Interface... done.
Codec UCB1200 ID:0x1005 Ver.5 Dev.0 Suppl.1 IO 0x00000000
No PCMCIA Card Attached
☻

> You've got quite an old arnold bootloader restored: update it first using 
> loader_alt and loader afterwards when using any CE-Images or stay at 
> loader_alt, when you try to upload a newer (unpatched) opensimpad image.

I guess if the loader you are talking about are somehow different from the 
loader_bl found on sourceforge (maybe the original siemens loader??) In that 
case, where I can found them?


> > - It's not possible to upload any Windows CE image nor any alternate
> > bootloader (I always get the overlap error and it refuses to upload
> > anything)
> OK, this means that you have got the alternate bootloader installed right now 
> with an real old version. I'd wonder if you could not update the simpad to 
> the newest one available for your device: Figure out, whether you have a SL4 
> or CL4/T-Sinus-Pad.

I've got a SL4


> 
> > - It's not possible to upload any opensimpad image (the 2.4 
> > bootloader menu miss the 'Y' option to actually erase the mem before
> > upload.
> Right, this can also be fixed by using an empty image. Do we have something 
> like this around? If not, we'll make one for you ;)

Please... make it for me!!! Thanks!!!

> 
> > Desperate!
> Don't be!  Don't do any mercy killings: Give it to me, then I've got two of 
> them. Hang on! Just mail me you bootlog (with cut'n'paste or something) and 
> let's have a look what exactly is on your device.
> 
> Ralf.

Here is what happens when I try to serload a CE (4.1) image (but it's always 
the same with any CE images, from 3.0 up to 4.1):

C:\simpad>serload "CE.net 4.1 for simpad__S842-SI-INT-152"
Ready to download file "CE.net 4.1 for simpad__S842-SI-INT-152". Press RESET!

PBL V2.4 20.07.2001
Booting...
================================================
Siemens Switzerland Bootloader V2.4 20.07.2001
Running @206Mhz Processor ID 0x6901b118
Press ESC for monitor
Occupied Memory: [0x00004000-0x00008000],[0x01f00014-0x01f74b9c]
Flash Id 0x00000018 at virt adr 0x05000000 Size 0x01000000
No 32Bit Flash detected 0x00000000
FlashImage Checksum 0x05040014-0x05061ab0=0x342f5fd8 Bootloader Image OK
Fabdata Flash @0x05061ab4 Ram @0x01f21ab4 FABDATA: S842-KJPLM
MSC2=0x211954e0 :: MQ200 - Revision ID=2 ...
Initialise PCMCIA Interface... done.
Codec UCB1200 ID:0x1005 Ver.5 Dev.0 Suppl.1 IO 0x00000000
No PCMCIA Card Attached
☻Setting baud rate to 115200
♠☻Serial download request
NO PCMCIA CARD!  -- Use serial IO
Sysinit done
Booting : (null)
Serial download entered.
☻☻
Base    : 0x1080014 Size 27254787 entry:0x4081000
Overlap: 1080014-2a7e017   && 1f00014-1f74b9c
Will fail -- try to load alternate loader: loader.alt


Thanks for you patience Ralf!!

Massimo




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php