2013-12-22 19:38:12 +01:00
|
|
|
--- include/configs/omap3_beagle.h.orig 2013-11-21 15:44:37.041667288 +0100
|
|
|
|
+++ include/configs/omap3_beagle.h 2013-11-21 15:47:25.589580653 +0100
|
|
|
|
@@ -264,6 +264,9 @@
|
|
|
|
"rootfstype=${ramrootfstype}\0" \
|
|
|
|
"loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}\0" \
|
|
|
|
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
|
|
|
|
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot/boot.scr\0" \
|
|
|
|
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
|
|
|
+ "source ${loadaddr}\0" \
|
|
|
|
"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
|
2012-08-07 08:24:10 +02:00
|
|
|
"mmcboot=echo Booting from mmc ...; " \
|
|
|
|
"run mmcargs; " \
|
2013-12-22 19:38:12 +01:00
|
|
|
@@ -300,9 +303,13 @@
|
2012-08-07 08:24:10 +02:00
|
|
|
"echo Running uenvcmd ...;" \
|
|
|
|
"run uenvcmd;" \
|
|
|
|
"fi;" \
|
2013-12-22 19:38:12 +01:00
|
|
|
- "if run loadimage; then " \
|
2012-08-07 08:24:10 +02:00
|
|
|
- "run mmcboot;" \
|
|
|
|
- "fi;" \
|
|
|
|
+ "if run loadbootscript; then " \
|
|
|
|
+ "run bootscript; " \
|
|
|
|
+ "else " \
|
2013-12-22 19:38:12 +01:00
|
|
|
+ "if run loadimage; then " \
|
|
|
|
+ "run mmcboot;" \
|
|
|
|
+ "fi;" \
|
2012-08-07 08:24:10 +02:00
|
|
|
+ "fi; " \
|
|
|
|
"fi;" \
|
|
|
|
"run nandboot;" \
|
2013-12-22 19:38:12 +01:00
|
|
|
"setenv bootfile zImage;" \
|