DoC + GRUB booting problem

Ilguiz Latypov ilatypov at infradead.org
Fri Apr 11 03:50:16 EDT 2003


On Tue, 8 Apr 2003, Edward A. Hildum wrote:

> I have disassembled the BIOS boot code (included below) and found some
> conflicts with the README_DiskOnChip info:

Ted,

May I suggest that the DoC bootloader you've disassembled was the one 
supplied by M-Sys?  I myself didn't use the DFORMAT utility to load the 
GRUB firmware, but that shouldn't mean it isn't possible.  

Is it possible to DFORMAT the DoC's NFTL layer only, starting from the
given offset?  If yes, it would be a good choice, accompanied by the 
mtd/util/doc_loadbios utility which will store the grub_firmware file into 
the beginning of the flash memory.

I heard that the mtd/util/nftl_format utility may not be compatible with 
the bad block table stored in the DoC at the factory.  I was lucky enough 
to disregard the bad block table by issuing the erase_all command against 
/dev/mtd0 and then proceeding with nftl_format.  However, this is not the 
safest approach because NAND memory is error prone.

-- 
Ilguiz Latypov
Montreal, Quebec
Canada

tel. +1 (514) 526-6911





More information about the linux-mtd mailing list