RedBoot from DoC not working quite well
Hi,
I succsessfuly replaced a DoC millenium firmware with RedBoot using the GRUB
patch as the base. After
>>> doc_loadbios /dev/mtd0 redboot_firmware
RedBoot boots fine (int18 or int19). But after formating my DoC with nftl_format utility:
>>> nftl_format /dev/mtd0 128000
which should leave all the RedBoot blocks unchanged, my RedBoot is gone. The whole redboot_firmware size is 126280.
Can someone tell me why the RedBoot and NFTL blocks interleave, if they do.
Thanks
iz
Quoted 5 lines · Iztok Zupet
RedBoot boots fine (int18 or int19). But after formating my DoC with
nftl_formatutility:>>> nftl_format /dev/mtd0 128000
You can't start a format from that address. It's not an erase block boundary. (Most DoC devices have 8k erase blocks. THat means 8192 bytes, not 8000.)
Try erasing from 131072, rather than 128000.
Jas.
Quoted 6 lines · Jasmine Strong
Quoted 4 lines · Iztok Zupet
RedBoot boots fine (int18 or int19). But after formating my DoC with
nftl_formatutility:>>> nftl_format /dev/mtd0 128000
Quoted 7 lines
You can't start a format from that address. It's not an erase block boundary. (Most DoC devices have 8k erase blocks. THat means 8192 bytes, not 8000.)
Try erasing from 131072, rather than 128000.
Jas.
I tried but it still owerwrites or erases my RedBoot.
Size of my redboot_firmware is exactly 123.2K.
Regards
iz
Quoted 18 lines · Iztok Zupet
Quoted 6 lines · Jasmine Strong
Quoted 4 lines · Iztok Zupet
RedBoot boots fine (int18 or int19). But after formating my DoC with
nftl_formatutility:>>> nftl_format /dev/mtd0 128000Quoted 7 lines
You can't start a format from that address. It's not an erase block boundary. (Most DoC devices have 8k erase blocks. THat means 8192 bytes, not 8000.)
Try erasing from 131072, rather than 128000.
Jas.
I tried but it still owerwrites or erases my RedBoot.
Size of myredboot_firmwareis exactly 123.2K.
Quoted 6 lines
Regards
iz______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
It OK now . My RedBoot firware was 8K bytes too big, eg it loaded yust a
little pass the 0x20000 in DoC.
Regards
iz