RE: Bootloader problems after serload
"Peter Clarke" <[email protected]> Fri, 16 Jul 2004 09:38:25 +0100
| Newsgroups | gmane.comp.handhelds.simpad.linux |
|---|---|
| Message-ID | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAYS0G+WTxhUur3qy9aC3EIsKAAAAQAAAAjW1bAbHTiEWsANM1n4M+MgEAAAAA@virgin.net> |
Hi Walter, Thanks for the reply. I have been using the normal bootloader (loader_bl) but to no avail. Just so there is no confusion let me tell you exactly what I'm doing. 1. First of all I switch the Simpad off by activating the microswitch (S2) next to the test header (J4) on the back of the unit. 2. I then short pins 1 & 2 on the test header whilst turning on the unit. The following output is obtained from the serial port using Hyperterminal: PBL V2.4 20.07.2001 bootpin short to gnd booting internal image ================================================ 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 Copy Fabdata to Ram... Done [/ ] [*******************- ] [***************************************\] Firmware Update Successfully Finished Press Button to restart Firmware Update Successfully Finished Press Button to restart............. 3. I then disconnect Hyperterminal and load a DOS box and run SERLOAD LOADER_BL (I have tried both v2.4 & v2.5.3 with exactly the same results) and press the reset button on the back and obtain the following output: C:\SIMPAD>serload loader_bl Ready to download file "loader_bl". Press RESET! Firmware Update Successfully Finished Press Button to restart Firmware Update Successfully Finished Press Button to restart 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-KHWMH MSC2=0x211954e0 :: MQ200 - Revision ID=2 ... Initialise PCMCIA Interface... done. Codec UCB1200 ID:0x1005 Ver.5 Dev.0 Suppl.1 IO 0x00000000 Erasing memory after power loss ERASE SDRAM FROM 0x80000 to 0x1f00000 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 10kB/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-KHWMH 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 ☻No serial download request Boothdr at 0x05080000 -> 0x31415926 Loading executable with header 0x0000 [\ ] 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-KHWMH 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 ☻No serial download request Boothdr at 0x05080000 -> 0x31415926 Loading executable with header 0x0000 ^C ] C:\SIMPAD> 4. This output continually repeats and the screen of the SIMpad continually flashes the booting pattern. There are a couple of points to note: At the end of the Serload process and the screen displays ♠☻[*********************/] 1070086 Load finished with 10kB/sec Starting Image at 8014 PPCR 0x0000000a the system immediately reboots without me touching anything. I seem to remember that before I started having all these problems and I performed a Serload of loader_bl it ended with the lines Firmware Update Successfully Finished Press Button to restart This is not the case at the moment. When it does reboot it uses the Alternative bootloader at address 0x01f00014. Could the problem be that the Serload process isn't actually writing the loader_bl image to memory correctly and therefore the system reboots using the alternative one? If this is the case, how do I get the normal bootloader to be saved correctly? Thanks again for your help. Regards Peter > -----Original Message----- > From: Schweizer Walter [mailto:[email protected]] > Sent: 15 July 2004 18:45 > To: Peter Clarke; [email protected] > Subject: RE: [Simpad-general] Bootloader problems after serload > > Hi Peter > > The problem below shows the alternative bootloader. If you burn the > piggyback bootloader then you burn the alternative bootloader. > Look at the occupied memory addresses to see which one is running. > Normal bootloader starts at 0x8014 and alternative bootloader starts > at 0x1f00014. > Next is that the burning of the bootloader failes. > I think that here the alternate bootloader is downloaded again instead > of the nomal one. So it overlaps and is not flashed. > Try downloading the normal instead of the alternative. > > Walter ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click