Whatīs the (short?)device name for the boot partition, /dev/mmcblk0p2 or what?
I also concerned about the different filesystems as I have the ext2 on the card. Having run the Code: mount /dev/mmcblk0p2 /opt ./mkfs.jffs2 -r /opt -o /media/mmc1/rootfs.jffs2 -e 128 -l -n produced what seems to be a compressed image of my card. But can I really mix the system types like this? What happens when I want to restore the jff2 image to my ext2 card again?
mount /dev/mmcblk0p2 /opt ./mkfs.jffs2 -r /opt -o /media/mmc1/rootfs.jffs2 -e 128 -l -n
mount /dev/mmcblk0p2 /opt cd /opt /path/to/gnu/tar -zcvf /media/mmc1/backup.tar.gz .
mount /dev/mmcblk0p2 /opt cd /opt /path/to/gnu/tar -zxvf /media/mmc1/backup.tar.gz
Can I run something like this from the flash system then even though itīs ext2? Code: ./flash_eraseall -j /dev/mmcblk0p2 ./nandwrite -a -p /dev/mmcblk0p2 /media/mmc1/rootfs.jffs2
./flash_eraseall -j /dev/mmcblk0p2 ./nandwrite -a -p /dev/mmcblk0p2 /media/mmc1/rootfs.jffs2