View Single Post
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#252
Code:
mount -t ext2 /dev/mmcblk0p2/opt
./mkfs.jffs2 -r /opt -o /media/mmc1/rootfs.jffs2 -e 128 -l -n
umount /opt

./flash_eraseall -j /dev/mmcblk0p2
./nandwrite -a -p /dev/mtd4 /media/mmc1/rootfs.jffs2
will the nandwrite successfully flash the memory card image onto another memory card (partition 2 for both)?
I presume I'll need to format the second partition before starting. Would Milhouse's script work if I go through all the steps until it flashes? I cannot do this operation through the device memory since the boot partition I have right now is running low on space, and I need to expand it from 450MB to ~1.3 GB