2014年3月3日 星期一

[Linux]Mount the image file with jffs2 file system in the Linux OS.

1. modprobe mtdblock

2. modprobe mtdram total_size=512k erase_size=64k

3. dd if=jffs2.img of=/dev/mtdblock0

4. mount -t jffs2 /dev/mtdblock0 /mnt/