cmdlineparts and chip initialization order

Marc Singer elf at buici.com
Thu Nov 11 17:01:46 EST 2004


With a command line like this:

  console=ttyAM0 root=/dev/hda1 mtdparts=norflash:2m(boot),-(root);nandflash:32k(apex)ro,-(root)

I am able to initialization partitions for the NOR flash, but not the
NAND flash.  It look like the problem is that the NOR flash driver is
initializing before the mtdparts command line parsed, but the NAND
flash isn't.

All code is linked into the kernel--no modules.

Moving the cmdlinepart.o file to the end of the list appears to
prevent the command line from being parsed.

Is this a recognized problem with a known solution.

BTW, it looks like none of the other NAND drivers expect a command
line partition setup.  Has anyone else tried?

Cheers.





More information about the linux-mtd mailing list