Pages

2010-10-12

Linux: Mounting JFFS2 on an MTD RAM Device

$ modprobe jffs2
$ modprobe mtdblock
$ modprobe mtdram
$ dd if=jffs2.bin of=/dev/mtdblock0
$ mount -t jffs2 /dev/mtdblock0 /mnt/flash

And now to save changes we do:
$ dd if=/dev/mtdblock0 of=new-jffs2.bin.

No comments:

Post a Comment