Setting up MTD via command line?
Jamie Guinan
guinan at bluebutton.com
Sat Sep 11 10:26:15 EDT 2004
On Tue, 31 Aug 2004, Jamie Guinan wrote:
> > Can anyone explain, or is there docs on how to setup MTD via command
> > line, which I think was introduced so
> > you don't need to write your own driver for e.g. embedded processors
> > such as ARM.
>
> Hi Bo,
>
> I found it in the config help for "Command line partition table parsing",
> and also in the comments in cmdlinepart.c.
>
> For the LogicPD board (lpd7a404 here), I used this kernel command-line,
>
> boot console=ttyAM1 root=/dev/mtdblock3 rootfstype=jffs2 \
> mtdparts=phys_mapped_flash:256k,256k,1536k,2048k
Erm, that only gets access to 4MB (one of my test boards has only 4MB,
which is why I tested it as above). To use the full 16MB of flash on
some LogicPD boards,
mtdparts=phys_mapped_flash:256k,256k,1536k,14336k
-Jamie
More information about the linux-mtd
mailing list