From a6d2c6d3270fdcff05a873c33fed5ceade300b8e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 19 Jun 2016 21:21:02 +0200 Subject: use u-boot boot script --- package/u-boot/Makefile | 1 + scripts/install.sh | 3 +++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3