View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#231
Originally Posted by iliaden View Post
how does one create an exact backup of the entire filesystem to mmc card?

what I have is :
#mount -t jffs2 /dev/mtdblock4 /opt
#./mkfs.jffs2 -r /opt -o /media/mmc2/rootfs.jffs2 -e 128 -l -n
/bin/sh: ./mkfs.jffs2: not found
The './' part tells it to search for command in current directory. mkfs.jffs2 is inside initfs_flasher/ directory of initfs flasher


These steps will make jffs2 image directly flashable by linux flasher over usb or by mtd-utils (flash_eraseall, nandwrite) when running from device.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post: