[PATCH] jffs2 file system

Juergen Beisert juergen.beisert at weihenstephan.org
Thu Feb 22 22:29:46 EST 2007


On Thursday 22 February 2007 11:58, Nethra wrote:
> do i need to mention mtdparts in command line....i thought that it is
> enabled in case if we want we can specify partitions in command line
> itself.

The kernel does not know anything about your flash partitioning. Where is mtd0 
starting in your flash? At the baseaddress of the flash?

> do i need to disable ramdisk option in kernel config for jffs2 booting?

No.

On my MPC5200 based system I start the kernel with this partition command:

mtdparts=phys_mapped_flash:256k(ubootl),1792k(kernel),13312k(jffs2),256k(uboot)ro,-(space)
root=/dev/mtdblock2 rootfstype=jffs2

Juergen



More information about the Linuxppc-embedded mailing list