DOC2000 + GRUB/LILO booting problems
David Woodhouse
dwmw2 at infradead.org
Mon Mar 18 10:57:49 EST 2002
ilatypov at superbt.com said:
> I agree it might be impossible for the kernel to mount a partition
> formatted within NFTL layer if NFTL data structures in the beginning
> of the flash chip are overwritten. But I don't know the exact details
> of the NFTL layer myself.
It would be impossible. The two erase blocks at the beginning of the NFTL
are required.
> The GRUB bootloader needs around 96K at minimum. NFTL layer can be
> set up after the bootloader only. It seems the start of the NFTL
> layer will be detected automatically by the kernel. In my
> understanding, the kernel will simply search for a signature in every
> erase unit of the chip to find the beginning of NFTL layer.
Correct. The best way to do this is to use the DOS dformat program to
reserve that 96KiB, then put Grub in afterwards. We should probably work
out how to make the .EXB file format that DFORMAT uses, so we can actually
use DFORMAT to program Grub too.
--
dwmw2
More information about the linux-mtd
mailing list