x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Help me with Bootloader reinstallation on SIMPAD SL4, PLEASE !

1 2 3 4
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 5:35 AM
#
Status:
Hello everybody,

i`ve tried to install linux on my SimPad SL4. The installation of hh.org bootloader works fine and the installation of opie either but i dont liked it so i tried another linux - gpe. The installation was done without problems but it's not what i expected so i decided to reinstall win ce. The problem is:

I installed the old 2.4 bootloader "simpadsl.rom" and the simpad booted but the bootloader is located as an alternate bootloader so that i cannot update to 2.5.3 bootloader version wich i need for win ce.net 4.1. I searched the howto but everything i could find is "check for bootloader" which tells me that the bootloader is in an alternate bootloader memory adress but how i could fix it isn't described.

Please, could someone help me?
 Top of the page
cmonex Page Icon Posted 2006-11-23 6:09 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
hey.

you can boot cenet 4.1 with old 2.4 bootloader. i don't know why faq's say it requires 2.5.3. that is just not true.

but if you have the alternative bootloader active that isn't able to flash the CE OS (any version of it).

did you try to flash the other bootloader space? (not alternative one) you can try that. (of course 2.4, and not 2.5.3 - i'm sure you're aware of that)

if that doesn't work, then i'd like to know: how did you flash simpadsl.rom? with the linux bootloader? and what was the file size in bytes?

Edited by cmonex 2006-11-23 6:12 AM
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 6:28 AM
#
Status:
Hi, thanks for that fast reply first.

>did you try to flash the other bootloader space? (not alternative one) you can >try that. (of course 2.4, and not 2.5.3 - i'm sure you're aware of that)

Uhmm. how should i force to use memory adress 0xxxxxx for flashing?
i thought it will select the right place by it own.

>if that doesn't work, then i'd like to know: how did you flash simpadsl.rom? >with the linux bootloader?

I did exactly what is described in the howto:


>First attach your pad to a serial terminal program (Hyperterm, minicom etc.) >with the settings 115200 8N1. Press the reset button on the back of the pad >and press any key while the bootldr is initiating. The bootldr should stop at a >boot> prompt. Now run the following commands at the "boot>" prompt:
>
> * "set override=1"
> * "pflash 0 0x40000 0"
> * "load flash 0" (serial installation) or "copy hda1:/simpadXX.rom bootldr" >(from a CF card)
>
>If you install over serial you will upload the simpadXX.rom via ymodem after >step three. If you install from CF you will have to copy the simpadXX.rom to >the CF card and insert it into the pad first. The CF card must be FAT >formatted.
>
>The output in your seriallistener (minicom/hyperterm) could look like this:
>
>boot> set override = 1
>setting param <override> to value <1>
>boot> pflash 0 0x40000 0
>addr=00000000
>len=00040000
>protect=00000000
>Protect=00000000
>boot> load flash 0
>loading flash region flash
>using ymodem
>ready for YMODEM transfer...
>CC362F95577901AFF5C29BA77867A9D33B
>00022EC0 bytes loaded to C0000400
>
>programming flash...erasing ...
>Erasing sector 00000000
>Erasing sector 00020000
>writing flash..
>addr: 00000000 data: E1A00000
>addr: 00010000 data: E1A0C00D
>addr: 00020000 data: 4144540A
>verifying ...
>done.
>boot>
>
>Be careful not to run serload and minicom/hyperterm at the same time.


The output in hyperterm is exactly the same !

>and what was the file size in bytes?

thats 143.040 Bytes (Windows report: filesize) filesize.

I'm able to do an flashing with jtag i think, but it would be great if i don't need to do it !!! (I JUST WANT MY CE.NET 4.1 BACK )
 Top of the page
cmonex Page Icon Posted 2006-11-23 6:44 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
don't worry i don't think you'll need jtag for this..overkill really.

the file you flashed should be ok..

no, actually the CE bootloader doesn't select the address on its own. the image format you send to it tells it where to flash. so send it the bootloader file that is meant to be flashed at 0x00008014 - or something like that (just to simplify things). the alternative bootloader should be able to flash that without overlapping problems. and if everything works ok it'll also switch to this bootloader (which can flash CE OS'es). of course this bootloader is also hard coded for 0x00008xxx addresses. if you don't have the file let me know. (give me an email address or msn/icq/yahoo if you prefer that)

Edited by cmonex 2006-11-23 6:46 AM
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 6:45 AM
#
Status:
This is actually shown in hyperterm after rebooting:


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:
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 0x050a0000 -> 0x00000619

NO PCMCIA CARD! -- Use serial IO
Sysinit done
Calling Monitor

=====================
Monitor:
=====================
Boot from Flash 'f'
Boot from Net 'n'
Power Off 'o'
Erase PSM+Registry'p'
Exit 'q'
Erase Registry 'r'
Soft Reset 's'
Print Fab-String 'w'
->
 Top of the page
cmonex Page Icon Posted 2006-11-23 6:47 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
yeah you have the alternative bootloader active. it looks alive and working
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 6:56 AM
#
Status:
Hi, my ICQ is 362-321-112.
 Top of the page
cmonex Page Icon Posted 2006-11-23 6:56 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
OK, but i need to go now, but will be back later and we can talk
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 6:56 AM
#
Status:
my ICQ is 362-321-112.
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-23 9:56 AM
#
Status:
Quote
the alternative bootloader should be able to flash that without overlapping problems. and if everything works ok it'll also switch to this bootloader (which can flash CE OS'es).


Do you mean that i can flash the actual 2.5.3 bootloader to my simpad by using the actual installed bootloader 2.4 although this version couldn't erase flash???

Quote
of course this bootloader is also hard coded for 0x00008xxx addresses. if you don't have the file let me know. (give me an email address or msn/icq/yahoo if you prefer that)


ok, i think i don't have that file, however i think i need a explicit explanation than. i'am waiting for your contact
 Top of the page
cmonex Page Icon Posted 2006-11-23 11:10 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
Quote
Soldalot1 - 2006-11-23 3:56 PM

Quote
the alternative bootloader should be able to flash that without overlapping problems. and if everything works ok it'll also switch to this bootloader (which can flash CE OS'es).


Do you mean that i can flash the actual 2.5.3 bootloader to my simpad by using the actual installed bootloader 2.4 although this version couldn't erase flash???

Quote
of course this bootloader is also hard coded for 0x00008xxx addresses. if you don't have the file let me know. (give me an email address or msn/icq/yahoo if you prefer that)


ok, i think i don't have that file, however i think i need a explicit explanation than. i'am waiting for your contact


how else would you flash 2.5.3 if not using the original 2.4? sorry not sure if i understand your question.

wait a couple of hours please, i'll be back at my PC and send you the file & give explanation on icq
 Top of the page
cmonex Page Icon Posted 2006-11-23 1:16 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
i added you to my contact list on icq now.
 Top of the page
Soldalot1
Soldalot1 Page Icon Posted 2006-11-25 7:06 AM
#
Status:
My Pad has been awaken....

thanks to cmonex how has given the right bootloader image...
i guess i updated a wrong image so that the 2.5.3 bl cant be flashed. the 2.4 bl and os are from opensimpad.org that both are seems to be wrong...

however, ma pad is like before



and i NEVER try that sh** linux again !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

thank you all
 Top of the page
joni
joni Page Icon Posted 2006-12-06 8:08 PM
#
Status:
Quote


how else would you flash 2.5.3 if not using the original 2.4? sorry not sure if i understand your question.

wait a couple of hours please, i'll be back at my PC and send you the file & give explanation on icq


Hi

Have you the 2.4 bootloader bin file for the 0x8XXX address? Can you send them to devnow a-t gmail. c-o-m. I have destroyed the bootldr trying to get kernel 2.6 working on simpad. I jtaged the 2.4 bootloader from opensimpad.org, but this just booting the alternative bootloader (0x14XXXX). And this loader would not load any image or bootloader over serload

Hardware: Simpad SL4

thanks
jonathan
 Top of the page
cmonex Page Icon Posted 2006-12-06 9:29 PM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
yep i have that file. as you're the second one to ask for it, i'll upload all the bootloaders and host them on my site.

link: http://izemize.fw.hu/simpadSL4bootl.zip (367343 bytes).

usage...

2_4_fullprimary folder contains two images, one is the full bootloader including the pbl (first 0x1000 bytes) what you flashed over jtag (and this is the same thing that the linux bootloader can flash i.e. Soldalot1 flashed this when he tried to return to CE). the other one named flashable arnold is what the normal alternative bootloader can flash if the normal first (at 0x8014) bootloader has a problem (you can force it to flash this full image by shorting certain pins that i mentioned in another thread - or by erasing bootstrap with extended bootloader commands).
this thing is only the alternative bl but it flashes first one too with itself.. that's why you cannot get to 0x8014 now.

2_4_normal folder contains the normal 2.4 bootloaders (first bl and alternative bl), this doesn't have the pbl... but can be flashed without forcing.. and this is what you'll need in your case.
loader_bl = first bootloader (at 0x8014)
loader_bl.alt = alternative bootloader (at 0x1f00014)

2_5_3_normal is the same just with version 2.5.3 images.

finally i included serload... why not make it complete

oh and ... if anyone has the original 1.4 CL4 bootloader images (or 2.0 SL4 bootloader, just for fun) i'm interested.. (i can upload 2.5.x cl4 if someone wants it)

----

so procedure you need to follow: you already have the full pbl image flashed for both bootloader spaces... now flash 2.4 normal first bootloader, then it'll switch to 0x8014 as you'll see in the terminal output (either serload or hyperterminal).
if you want to update with 2.5.3, you can now flash the alternative bootloader for 2.5.3 version, it'll switch to alternative (0x1f00014), then flash 2.5.3. first bl too, and it'll return to that (0x8014) finally.
and that's it.
 Top of the page
1 2 3 4
Jump to forum:
Seconds to generate: 0.265 - Cached queries : 65 - Executed queries : 11