nftl_format/nftlmount problems.

Felix Radensky felix at allot.com
Mon Jul 9 08:56:43 EDT 2001


Hi, all

I'm using the latest CVS mtd code with 2.4.2 kernel from Monta Vista.
My platform is a custom PowerPC 405GP based board. I'm booting my
kernel from 96M DiskOnChip 2000. The technique uses M-Systems
DFORMAT utility to create so called "binary" partition and store kernel
image on it. ROM monitor reads kernel image and loads it into memory.

This works ok. However, nftl code in linux kernel has problems calculating
the correct DOC geometry (I suspect endian issues). So I tried to use
nftl_format
(which supposed to handle big endian correctly), like this:

# nftl_format /dev/mtd0 606208

(my "binary" partition occupies 37 erase units).

The kernel still boots, but nftlmount code complains about not being able
to find a valid boot record.

If I run nftl_format on the entire DOC and boot via network, everything
if fine, i.e. nftl code correctly recognizes DOC geometry.

Please advice.

Thanks in advance.

Felix.






More information about the linux-mtd mailing list