Skip to contentSkip to conversation

Lost DOC2000 after trying to load grub

DISCUSSION Herman Theron 1 participant 1 message Mar 7, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi Chris!

When I tried Grub, I followed the same route you did..... Use the "eraseall" utility to clean the flash. Then you can use dformat again.

Have you tried the latest stock lilo? It supports DOC devices.

Cheers
Herman

****************************************
Herman Theron
Hermanus Magnetic Observatory
CSIR
PO Box 32
Hermanus
7200
South Africa
E-mail: [email protected]
Phone: +27 28 3121196
Fax: +27 28 3122039
Cel: +27 833 206 311

Quoted 1 line
Quoted 1 line
Quoted 1 line

Chris Fowler <[email protected]> 03/06/02 05:19PM >>>

Help. I decided to replace my doc-lilo with grub. I did the following:

[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware
Performing Flash Erase of length 16384 at offset 0
Performing Flash Erase of length 16384 at offset 16384
Performing Flash Erase of length 16384 at offset 32768
Performing Flash Erase of length 16384 at offset 49152
Performing Flash Erase of length 16384 at offset 65536
Performing Flash Erase of length 16384 at offset 81920
Writing the firmware of length 94528 at 0... Done.
[root@cas8]# restart

Now when it boots I get a grub propmt. I'm not sure what to do to make the doc-lilo boot now. So I do not know what to type at grub>

But that is not the main problem. I decided to replace my orignal software. Between major changes I've been using getimage and putimage. I did a putimage <image name> and get
Error: Too much bad sector

So I do a dformat /win:D000 /s:DOC504.exb /FIRST /NOFORMAT /Y and I get the following error:

Error writing EXB

Status code 26 (flUnknownMedia) received from flPlaceExbByBuffer. Format Failed.

I know this has something to do with:

[root@cas8]# ./doc_loadbios /dev/mtd0 grub_firmware

How do I revocer without replaceing the chip?

Thanks,
Chris Fowler

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/