summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-06-19 21:21:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-06-19 23:31:50 +0200
commita6d2c6d3270fdcff05a873c33fed5ceade300b8e (patch)
treefbaa53c036ce08a5b42d3f8085e2f38a13e2fca8
parent0067a474b84b49ffff6e065278ecf5045ef21f15 (diff)
use u-boot boot script
-rw-r--r--package/u-boot/Makefile1
-rwxr-xr-xscripts/install.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index 5d92f78ff..1b55adf64 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -86,6 +86,7 @@ ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
$(INSTALL_BIN) $(WRKBUILD)/SPL $(FW_DIR)
+ $(INSTALL_BIN) ./files/boot.script.imx6 $(FW_DIR)
endif
include $(ADK_TOPDIR)/mk/host-bottom.mk
diff --git a/scripts/install.sh b/scripts/install.sh
index 303fbef3d..01a2bde9f 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -561,6 +561,9 @@ case $target {
[[ -e "$x" ]] && cp "$fwdir"/*.dtb "$R/boot/"
break
done
+ mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
+ -n "SolidrunImx6" \
+ -d $fwdir/boot.script.imx6 $R/boot/boot.scr.uimg
;;
(banana-pro)
for x in "$fwdir"/*.dtb; do