OneNAND - Cannot mount jffs2 partition (Amit kumar Sharma)

Amit Kumar Sharma sharma.amit at samsung.com
Sun Aug 13 21:06:58 EDT 2006


Hi John 

For creating JFFS2 on One nand image use these options 

./flasheraseall -j /dev/mtd partition

./mkfs.jffs2 --pad=0x3e80000 (ur mtd onenand partition size) -s 2KiB -m
none -e 128KiB(block size) --root=empty/(source directory for image ) -o
jffs2.image(output file)

Use nandwrite from mtd utils for image writing 

Thanks	
Amit





More information about the linux-mtd mailing list