On Wed, 20 May 2009, Tilman Baumann wrote: > I run SHR from SD. Kernel from Flash because uboot can not load from SDHC > on GTA01. Rootfs on SD.
While it can't boot a kernel from SDHC, it can boot it from SD. I have a 1GB SD card in my gta01, I partitioned the SD into three partitions of 330MB each, and I can boot any one of 4 distros (one in internal flash, three on external) each with their own kernel in their /boot directory. Here are some working examples based on what I gleaned from the wiki: menu_6=Boot from SD 1: setenv bootargs root=/dev/mmcblk0p1 rootdelay=5 ${mtdparts}; mmcinit; ext2load mmc 1:1 0x32000000 /boot/uImage; bootm 0x32000000 menu_7=Boot from SD 2: setenv bootargs root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts}; mmcinit; ext2load mmc 1:2 0x32000000 /boot/uImage; bootm 0x32000000 The "ext2load mmc 1:1 0x32000000 /boot/uImage" part is what I was missing for a while. 1:n will load the kernel from partition n of the SD card. I could partition smaller and boot more different distros, but it seems I cannot get uboot to recognize menu items higher than "9". It's good to see some gta01-specific discussion here! -Andy It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so. - Mark Twain _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel