![]() |
2006-03-31
, 09:57
|
Posts: 6 |
Thanked: 3 times |
Joined on Mar 2006
|
#2
|
sudo modprobe mtdblock $ sudo modprobe mtdram total_size=65536 erase_size=256 $ sudo modprobe jffs2 $ sudo modprobe loop $ sudo losetup /dev/loop0 /pathtoimage/rootfs.jffs2 $ sudo dd if=/pathtoimage/rootfs.jffs2 of=/dev/mtdblock0 $ mkdir /mnt/jffs2 $ sudo mount -t jffs2 /dev/mtdblock0 /mnt/jffs2
$ cd /mnt/jffs2 $ sudo tar cvzf /my_path/myRootImage.tar.gz . $ cd $ umount /mnt/jffs2
$ mkfs.ext3 /dev/sda1 $ mkdir /mnt/mymmc $ mount -t ext3 /dev/sda1 /mnt/mymmc $ cd /mnt/mymmc $ tar xvzf /my_path/myRootImage
$./flasher --set-root-device mmc --reboot
$./flasher --set-root-device flash --reboot
![]() |
2006-03-31
, 10:06
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#3
|
It is possible to install the full OS in the MMC card, and boot from it, using the flasher tool.I wanted to boot from it to be able to compile/debug/test natively on the platform, and have more room for applications.
I havent tested if it's possible to have different partitions on an MMC for swap/ext3 root filesystem/FAT storage and keep the 770 alive, but guess it's possible.