Browse Source

use u-boot boot script

Waldemar Brodkorb 7 years ago
parent
commit
a6d2c6d327
2 changed files with 4 additions and 0 deletions
  1. 1 0
      package/u-boot/Makefile
  2. 3 0
      scripts/install.sh

+ 1 - 0
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

+ 3 - 0
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