View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#13
you also need ext2 module inserted while doing the rsync
Code:
Nokia770-26:~# insmod /mnt/initfs/lib/modules/current/ext2.ko
Nokia770-26:~# mount -t jffs2 /dev/mtdblock4 /floppy -o rw,rpsize=1024,rpuid=0,rpuid=30000
Nokia770-26:~# mount /dev/mmcblk0p2 /opt/
Nokia770-26:~# rsync -avH --delete /floppy/ /opt/
Nokia770-26:~# umount /opt
Nokia770-26:~# umount /floppy
after you have exact copy of flash rootfs booting from mmc and you are tired of selecting mmc partition 2 on every boot, you can set it as default boot mode via

Code:
Nokia770-26:~# chroot /mnt/initfs cal-tool --set-root-device mmcblk0p2
Then if you have problem with mmc later you can select boot from flash in the menu and repair the card.