flash jffs2

Use flash on a arm-linux board always requires jffs2.

Here is the command that do flash erase and copy rootfs to mtdblock4.


# flash_eraseall -j /dev/mtd4
# dd if=rootfs.jffs2 of=/dev/mtd4 bs=4096
# mount -t jffs2 /dev/mtdblock4 /mnt/jffs2

0 comments: