Andy Green
Wed, 06 Aug 2008 10:01:05 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| 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.
My mistake, I just edited my canned one I use for first partition off the top of my head. One way or another personally I only ever pulled kernel from the first partition on SD Card myself, VFAT or EXT3. - -Andy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkiZ2GcACgkQOjLpvpq7dMrApwCcCsMPGTV4FDanCxmZxUhEJLgs OE0AninO8pLv3/lFF2UCWdPmeskpS7DK =+KGy -----END PGP SIGNATURE----- _______________________________________________ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support