On Monday 19 July 2010, S wrote:
> 12.07.2010 17:28, Joachim Ott пишет:
> > Yes. This are some entries from my u-boot environment:
> >
> > menu_1=mmcblk0p1 - Om2007.2: setenv bootargs ${bootargs_base}
> > ${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p1 rootdelay=5; mmcinit;
> > ext2load mmc 0:1 0x32000000 uImage.bin; bootm 0x32000000
> > menu_2=mmcblk0p2 - Debian: setenv bootargs ${bootargs_base}
> > ${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5; mmcinit;
> > ext2load mmc 0:2 0x32000000 uImage.bin; bootm 0x32000000
>
> How to set those lines?
http://wiki.openmoko.org/wiki/Uboot#Bootloader_prompt
Remember you need to be in the NAND uboot if you want to save your changes.
> Btw, do I need 2 partitions or uboot is capable of loading everything
> from single 8Gb ext2 partition?
Those examples are for loading everything from the ext2 partition, with a menu
entry for each of 2 partitions to give a dual boot setup. ext2load loads the
kernel from an ext2 partition, mmc 0:2 specifies the second partition on the
mmc.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user