JFFS2 mounting problem

Thomas Gleixner tglx at linutronix.de
Thu Jul 28 05:15:47 EDT 2005


On Thu, 2005-07-28 at 16:57 +0900, Amit Sharma wrote:
> mkfs.jffs2 -d /home/jffs2stuff -o /tmp/jffs2.image

Yoe have to set the correct options for your FLASH.

mkfs.jffs2 -e ERASEBLOCKSIZE -p NANDPAGESIZE -n -d ... -o ...

> cat /tmp/jffs2.image >/dev/mtdblock/0

Use nandwrite for that. Read
http://linux-mtd.infradead.org/faq/nand.html

> mount -t jffs2 /dev/mtdblock/0 /mnt/

tglx






More information about the linux-mtd mailing list