Creating a distro on a sim card

Christopher J. White chris at grierwhite.com
Sat Nov 29 22:09:20 CET 2008


On Sat, 2008-11-29 at 12:45 -0800, Rodney Myers wrote:
> if I change 1st partition to ext2, I get this error;
> 
> unable to read  image "uImage.bin"
> 
> and then pops back into the boot menu

If you change the SD partition to ext2, you have change the boot_args to
something like in the NAND flash.   The key difference, I believe, is
changing the rootfstype to ext2.

With Debian on a 2GB microSD card, here's my boot cmdline
(cat /proc/cmdline):

glamo_mci.sd_max_clk=10000000 rootfstype=jffs2 root=/dev/mtdblock6
console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot
mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs) rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5

For details on setting bootargs variable, see:

http://docs.openmoko.org/trac/ticket/1743

...cj






More information about the community mailing list