Br bootloader erased Nokia 2xi Avia 500

Wie blitze ich ein Bild - Permanent Outgoing Incomes
invictus
Beiträge: 2
Registriert: Donnerstag 12. Juni 2003, 16:25

Br bootloader erased Nokia 2xi Avia 500

Beitrag von invictus »

Hello ppl!...
I have a big problem... :( i've just erases all my dbox2 including the Bmon 1.0 and i know that the flash can be programmed externally with a programmer(expensive).
I have a friend that has a programmed so he can program my Intel 28f320 flash but the problem is..... i don't know with one to program... :( becouse are 2 and want to ask you if can tell me with one contains the bootloader and where is it... at the beggining or at the end... i know is 128kB... and i have it i think...
pls any info appreciated....

thanks
Best regards

Invictus
SoLaLa
Tuxboxer
Tuxboxer
Beiträge: 6119
Registriert: Mittwoch 3. April 2002, 00:32

Beitrag von SoLaLa »

hi there to whereever...
the Bootloader (i think you have the 128kB File on disk) is splitted in two peaces, each containing 16bit words
if the bootloaderfile begins with
11 22 33 44 55 66 77 88 then the flash IH2 contains
11 22 55 66...
and the flash IH5 contains
33 44 77 88
if you (or your friend with the programmer) aren et able to convert the 128kB bootloaderfile into two files each 64kB then look out for a tool named "chgendian" which will do the splitting for you
never change a running system
invictus
Beiträge: 2
Registriert: Donnerstag 12. Juni 2003, 16:25

chgendian?

Beitrag von invictus »

can't find this tool anywere! :(
also do you know a link from where i can get Bmon1.2 that is working? my bootloaders that i've extracted using the cat command is nothing like you said...
i've used this to extract:
/proc > cat mtd
dev: size erasesize name
mtd0: 00020000 00004000 "BR bootloader"
mtd1: 00020000 00020000 "flfs (ppcboot)"
mtd2: 006e0000 00020000 "root (cramfs)"
mtd3: 000e0000 00020000 "var (jffs2)"
mtd4: 007e0000 00020000 "flash without bootloader"
mtd5: 00800000 00020000 "complete flash"
/proc > cat /dev/mtd
/dev/mtd/ /dev/mtdblock/
/proc > cat /dev/mtd/0 >/tmp/boot.bin

can someone e-mail me on chris@eta2u.ro the chgendian tool and a working bootloader Bmon1.2 maybe allready splited in 2 for 2xintel?

Thanks in advance