[poky] beagleboard auto-boot

Robert Berger gmane at reliableembeddedsystems.com
Sat May 14 08:07:41 PDT 2011


Hi,

I was playing around a bit in order to autoboot Linux from u-boot.

What I came up with is this:

uEnv.txt:
uenvcmd=mmc rescan ${mmcdev}; fatload mmc ${mmcdev} ${loadaddr}
boot.scr; source ${loadaddr}

u-boot-env:

sete console "ttyO2,115200n8"
run mmc rescan ${mmcdev}
run loaduimage
run mmcboot

which I compile to a boot.scr

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Beagleboard-xM
boot script" -d u-boot-env boot.scr

Like this I am also backwards compatible with older versions of u-boot
which don't support uEnv.txt.

Does anyone have a more elegant way?

How does your uEnv.txt look like for a Beagle-XM?

Regards,

Robert
..."You are in a twisty little passage of standards, all conflicting." -
Michael Meissner, meissner at osf.org

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1





More information about the poky mailing list