PDA

View Full Version : bootloader commands


itsme
25th December 2003, 01:47 PM
write the gsm rom to your SD card.d2s 60000000 400000
write the extended rom to sd cardd2s 70000000 1f20000
write the bootloader + os rom to sd cardd2s 80000000 2000000

the 6xxxxxxx and 7xxxxxxx memmory ranges are emulated by the
bootloader, no special memory mapping as I first thought.

more bootloader commands, see http://www.xs4all.nl/~itsme/projects/xda/bl-ii-usage.html


willem

andhy
28th December 2003, 09:22 AM
Hi ...
Could you please kindly explain how to 'actually' run the bootloader command?
I mean: do we run it from within the bootlader on the device? or do we have to connect the device to a PC through the cradle/ activesync or through a serial cable?
If must be run from the PC, what application (from Windows) do we need to install?

Thanks a lot in advance...
-Andhy

itsme
28th December 2003, 01:08 PM
on a windows pc you need to connect the xda with a serial cable, and connect with some terminal program, like hyperterm, or securecrt.
or program connecting to \\.\WCEUSBSH001 your self, if you want to connect over usb.

under linux it should be no problem to connect your terminal program to the usb serial line.

put the xda in bootloader mode, by holding down the power button, and navigator button together, while resetting the device with the pen in the little hole on the bottom left.

you will lose all your date when you do this

andhy
28th December 2003, 01:47 PM
Itsme: Many thanks...greatly appreciate your kind response.
Please allow to ask some more questions, I hope it's not too annoying :)
1. what's the name of the application for connecting thru USB? You mentioned "...program connecting to \\.\WCEUSBSH001 ..." sorry I need some guidance in this. Linux may be not an option for me as I have no accesss nor experience with one.
2. Is there any possibility for you to post the GSM ROM image (preferably for 900/1800)? Since we will loose data when doing this connecting application, I won't be able to ask some one to lend their working xda to do this. It would scare all them off.

THanks again for your kind help ....
Cheers...

itsme
28th December 2003, 02:28 PM
you can use my xda2dmp app posted here earlier.
but as I said, under windows there are no apps that I know of that will allow you to connect to other serial ports than COM1 .. COMxxx

so serial over usb is only available to you if you program it yourself.

the gsm rom image is available in the upgrade, in radio.nbf

see also http://www.xs4all.nl/~itsme/projects/xda/xdaii-update-format.html

andhy
28th December 2003, 03:55 PM
Hmmm... no hope for me... I have got no idea about programming communication stuff like that...

Thanks for the info about radio.nbf. I thought this one was only for XDA2 as it is filed under XDA2 title.
sorry if this may sound stupid, but is it possible to flash this radio.nbf from SD card using the XDA OSimage tool?

itsme
28th December 2003, 04:12 PM
yes, radio.nbf is only xda-2

to avoid confusion, now I also set the xda-ii icon on this thread

andhy
28th December 2003, 04:44 PM
could you please guide me to get a GSM ROM for xda?
my xda lost the GSM part since unsuccesful RSUpgrade (after upgrading to TMobile ROM 4.01.0, I accidentally chose the GSM1900 band in the phone- then the phone was not working, and then I tried to flash with an O2 RSUpgrade- but did not sucessful - resulting a total loss of the GSM part - the Radio stack and Protocol version were not shown during splash screen).

So far, I have been trying to fix the GSM using all kind of methods and using almost all sort of tools. No luck, always ended up at the RSUpgrade 1% Flash Failed screen.

I hope you could guide me a bit in this matter. Sorry , if I posted this question in this thread..

thariman
30th December 2003, 09:07 AM
Tried to backup my O2 XDA II to SD (128MB SanDisk) but give the following error message.
Is this just a warning or does it actually fail ?

USB>d2s
SD:Waiting for card insert.........

CMD3 for SD, it's OK, ready to get RCA from response.

SD:Detected one card

SD:ready for transfer OK

pc->drive.total_lba=3C100
pc->drive.num_heads=0
pc->drive.sec_p_track=0
pc->drive.num_cylinders=0
pc->drive.block_size=200
pc->drive.features=0
pc->drive.RCA=A95C
pc->drive.drv_type=40000000
pc->drive.securedAreaSize=0
pc->drive.securityDrv=0
pc->drive.busWidth=1
pc->drive.erasedSize=0
Total card size=7820000

SDCARDD2S+,cStoragePlatformType=FF

*************************************Add SD card record info is fail!

kwlandry
17th April 2004, 12:51 AM
you can use my xda2dmp app posted here earlier.
but as I said, under windows there are no apps that I know of that will allow you to connect to other serial ports than COM1 .. COMxxx

so serial over usb is only available to you if you program it yourself.

the gsm rom image is available in the upgrade, in radio.nbf

see also http://www.xs4all.nl/~itsme/projects/xda/xdaii-update-format.html

Willem,
Have you checked out FTDI? They provide a USB driver that can be driven as a virtual COM port. On the XDA side I can't provide any references.

kaceda
16th June 2004, 07:49 AM
Dear Itsme,

Can I type the following commands to write all rom"gsm+ext.rom+bootloader+os rom" to same one 64MB / 128MB sd card ?
--------------------------------------------------------
write the gsm rom to your SD card.Code:
d2s 60000000 400000
write the extended rom to sd cardCode:
d2s 70000000 1f20000
write the bootloader + os rom to sd cardCode:
d2s 80000000 2000000
-------------------------------------------------------
If not, how can I do that ?

What differents of the commands as following:
--------------------------------------------------------
first copy the first 3 M of the radio to sd:
d2s 60000000 00300000
and now append the extended rom to the sd card:
d2s 70080000 01000000 sd a
---------------------------------------------------------

many thanks !

itsme
16th June 2004, 08:33 AM
you have to add 'sd a' to the appending commands. without 'sd a' each command will start writting at the start of the sd card.

other than that, your commands will make a complete backup of all roms.

hartmut
28th June 2004, 04:45 PM
Hello,

kindly excuse my English.

After the final ROM Update, Iīve made, the updatesoftware doesnīt change the bootloader. Is this correct ?
(I have updated from 1.60.00GER O2 to 1.72 iMate without problems)
At http://wiki.xda-developers.com/wiki/HimalayaBootloaderVersions Iīve found different bootloaders. Whats the differents between the several versions ?
Itīs possible to change the bootloader and itīs useful ?

Thats a lot of questions. I'm looking forward to read your reply
Hartmut