Another Question / Ext3 SD and Debian on Freerunner

Andy Green andy at openmoko.com
Sun Jul 20 22:17:19 CEST 2008


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

Somebody in the thread at some point said:
|> Awesome, nobody ever mentioned this marvel... got to give this a try
|> tonight!
|
| let us know how it turned out!

Well there is good and bad news, good news is thanks to Mike Montour
ext3 SD boot in U-Boot works fine now, and again thanks to him updated
U-Boot packages including this and all our git patches will be available
in the next day or two.

You just do the usual mkfs.ext3 /dev/sdX1 on the SD Card, untar the
rootfs and also copy a uImage.bin from a current kernel on there in /.

You can boot it from U-Boot with this

setenv bootcmd mmcinit \; ext2load mmc 1 0x32000000 uImage.bin \; setenv
bootargs \${mtdparts} rootfstype=ext3 root=/dev/mmcblk0p1
console=ttySAC2,115200 loglevel=4 ro \; bootm 0x32000000 ; boot

That's very nice to see, previously we had to use a little FAT partition
at the start so U-Boot could get the kernel.

However, the Debian rootfs didn't work right away, it mounted the ext3
rootfs and ran init, but complained "unable to open an initial console",
I think this is an insufficiently populated /dev so I will meddle on a bit.

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

iEYEARECAAYFAkiDnU8ACgkQOjLpvpq7dMqq4gCfdpS4ronSWDx7SQAqhLMoADRk
VjUAniyJoruGWigUOEknE8Gv2DAE6Pll
=8nat
-----END PGP SIGNATURE-----




More information about the community mailing list