Skip to contentSkip to conversation

beagleboard auto-boot

DISCUSSION Robert Berger 1 participant 1 message May 14, 2011

lore
Share & tools
lore
#0 lore raw

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, [email protected]

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