![]() |
Booting from the MMC card (nokia 770)
Maybe someone find this useful.
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. |
Howto
I've no blog/web page to publish the step by step guide...So i'm posting it here...
How to boot the Maemo reference root filesystem from the MMC What you need: 1) The maemo Dev Platform rootfs : (Warning:This fs is for developing..All user utilities are stripped out..The "normal" image is here, but i've not tested with this.. 2)The flasher tool How to do it: The first steps are just like the ones shown in the Maemo wiki: Code:
sudo modprobe mtdblock Code:
$ cd /mnt/jffs2 Code:
$ mkfs.ext3 /dev/sda1 Telling the nokia to boot from the MMC: Use the flasher tool.Shut down the 770, unplug the battery if plugged in, and connect it to the computer with the USB cable. Exec this (supposing flasher is in the same directory where your shell is) Code:
$./flasher --set-root-device mmc --reboot You can always reset the root partition with: Code:
$./flasher --set-root-device flash --reboot Booting from the MMC is great to test things like new kernels or apps you just downloaded. Once you've formatted your MMC as ext3, the system in the flash will not auto-recognize the mmc (or the partition you used to put the new fs in). By gaining root (see maemo website), and with a xterm (see maemo website), you can mount it by hand. If then, you cd to it, and chroot in it...you'll be able to launch apps both in the "flash root", and the "mmc root". TODO: The file /mnt/initfs/linuxrc has a "boot menu" that should appear if rd-mode is enabled (i think..not looking at it right now).Is it possible to enable that menu at boot time , so root (and other options) can be set without the flasher? |
You may try to add it to maemo wiki too http://maemo.org/maemowiki/HowTo
In forum it will be lost forever. Well, maybe in wiki too :) |
All times are GMT. The time now is 03:01. |
vBulletin® Version 3.8.8