====== Tout sur la carte BeagleBoard-Xm ======
===== Boot de linux =====
==== boot.scr ====
La configuration exposée a pour but d'avoir un rootfs linux résidant sur un disque USB.
=== Fichier source ===
setenv bootargs 'console=ttyO2,115200n8 root=/dev/sda1 rw rootfstype=ext4 rootwait'
sleep 200
mmc init
fatload mmc 0 0x80300000 uImage
bootm 0x80300000
boot
=== Compilation ===
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Beagleboard-xM boot script" -d bootcmd boot.scr
le fichier compilé doit être alors placé sur la carte sd avec le fichier uEnv.txt, le binaire de u-boot (u-boot.bin) et le noyau linux (uImage).
bla