[ALL DISTROS] SD with multiple distros

yves mahe ymahe at zindep.com
Thu Sep 25 09:34:16 CEST 2008


Joachim Ott wrote:
> 
> I've started to write something about this subject, it's not complete 
> yet: http://nop0.blogspot.com/2008/09/having-multiple-distributions-on.html
> 
> The difference to your setup is
> - I don't have a FAT partition
> - I put the uImage.bin into the each particular root-directory
> 
> I haven't had a partition beyond 7 GB yet. Does your u-boot environment 
> look similar like mine?
> 
Here are my commands to setup the u-boot environment:

setenv menu_1 Boot from microSD (partition 2): setenv bootargs 
\${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 
\${mtdparts} ro\; mmcinit\; ext2load mmc 0:2 0x32000000 /boot/uImage\; 
bootm 0x32000000
setenv menu_2 Boot from microSD (partition 3): setenv bootargs 
\${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p3 rootdelay=5 
\${mtdparts} ro\; mmcinit\; ext2load mmc 0:3 0x32000000 
/boot/uImage.bin\; bootm 0x32000000
setenv menu_3 Boot from microSD (partition 4): setenv bootargs 
\${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p4 rootdelay=5 
\${mtdparts} ro\; mmcinit\; ext2load mmc 0:4 0x32000000 
/boot/uImage.bin\; bootm 0x32000000

Right now, you are able to boot from your partitions 1, 2, 3 and 6 ?

I will reformat my fat partition into ext2 and test again.

Thanks
Yves MAHE




More information about the support mailing list