Lost DOC2000 after trying to load grub

Vadim Khmelnitsky VadimK at m-sys.com
Thu Mar 7 10:56:06 EST 2002


If i understand eraseall utility correctly it erases the whole diskonchip
completely . After that bad block table is lost and it's unsafe to use such
diskonchip afterwards . 

Vadim

-----Original Message-----
From: Herman Theron [mailto:HEtheron at csir.co.za]
Sent: Wed, March 06, 2002 10:47 PM
To: strtok at hotmail.com; linux-mtd at lists.infradead.org
Subject: Re: Lost DOC2000 after trying to load grub


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: hetheron at csir.co.za
Phone: +27 28 3121196
Fax: +27 28 3122039
Cel: +27 833 206 311

>>> Chris Fowler <strtok at hotmail.com> 03/06/02 05:19PM >>>
Help.  I decided to replace my doc-lilo with grub.  I did the
following:

[root at 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 at 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 at 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/ 


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




More information about the linux-mtd mailing list