Can't Boot Qtopia from microSD

Andy Green andy at openmoko.com
Wed Aug 6 10:15:24 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| I changed the kernel name based on something I read stating it had to be
| called uImage.bin (is that wrong?)

It needs to match whatever you called it on the kernel commandline in
U-Boot, our ones use "uImage.bin".

| 3. I upgraded my NAND U-boot to a post-July 23 version. I think I have
| the August 5 version now.

Great.

| 4. I edited by NAND U-boot menu to include:
| setenv menu_9 Boot from microSD part2 (ext2+ext2): setenv bootargs
| \${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5
| \${mtdparts} ro\; mmcinit\; ext2load mmc 1 0x32000000
| \${sd_image_name}\; bootm 0x32000000

Ignoring the menu stuff for a moment, here is a canned one liner to do
something like what you want

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.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiZXZwACgkQOjLpvpq7dMrZEACeIF7knB0jDkU2FkkYR03iKMGo
UAIAoIjFUKKff0Q+RAzA7j+v8L+ajji3
=+TDp
-----END PGP SIGNATURE-----




More information about the support mailing list