SHA256
1
0
forked from pool/u-boot
u-boot/beagle-bootscr.patch
Stephan Kulow ae43375422 Accepting request 163711 from Base:System
- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets

OBS-URL: https://build.opensuse.org/request/show/163711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=12
2013-04-17 07:25:52 +00:00

39 lines
1.3 KiB
Diff

From 7ac25bef0f5d49410705e5e576c114bb2bdf7a2d Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Thu, 12 Jul 2012 14:51:05 +0200
Subject: [PATCH] OMAP: Add autorun support for boot.scr
Signed-off-by: Alexander Graf <agraf@suse.de>
Index: u-boot-2013.04rc2/include/configs/omap3_beagle.h
===================================================================
--- u-boot-2013.04rc2.orig/include/configs/omap3_beagle.h
+++ u-boot-2013.04rc2/include/configs/omap3_beagle.h
@@ -273,6 +273,9 @@
"loadramdisk=ext2load mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
"loaduimagefat=ext2load mmc ${mmcdev} ${loadaddr} uImage\0" \
"loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
+ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+ "source ${loadaddr}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"bootm ${loadaddr}\0" \
@@ -304,9 +307,13 @@
"echo Running uenvcmd ...;" \
"run uenvcmd;" \
"fi;" \
- "if run loaduimage; then " \
- "run mmcboot;" \
- "fi;" \
+ "if run loadbootscript; then " \
+ "run bootscript; " \
+ "else " \
+ "if run loaduimage; then " \
+ "run mmcboot; " \
+ "fi; " \
+ "fi; " \
"fi;" \
"run nandboot;" \