Mike Montour
Wed, 06 Aug 2008 09:41:01 -0700
Andy Green wrote:
> setenv bootcmd mmcinit \; ext2load mmc 2 0x32000000 uImage.bin \;
> setenv bootargs \${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2
> console=ttySAC2,115200 loglevel=4 init=/sbin/init \; bootm 0x32000000 ; boot
>
> Notice on ext2load the first number is the partition index it should
> use, counting from 1.
Minor correction - the parameter for ext2load and fatload is <device>:<partition>, so partition 2 would be "ext2load mmc 1:2 ...". IIRC this is documented in the online help for "fatload" but not for "ext2load". For troubleshooting you can also run "mmcinit; ext2ls mmc 1:2 /" from the u-boot console to make sure that u-boot is able to access the partition, and to see what files are on the card. There is also a "fatls" command to look at a VFAT partition. _______________________________________________ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support