From 5140658c1a141ba728019c43ab2a6ab6ec81e0ba Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Tue, 26 May 2015 10:19:40 +0200 Subject: board/boundarydevices: rework and update u-boot scripts Those scripts are executed by u-boot in order to detect the hardware configuration (board, displays etc...), configure the bootargs and device tree accordingly or update the bootloader located in NOR flash. This update is necessary due to the kernel bump to version 3.10.53. The rework consists of replacing the binaries by their text file equivalent and generate the binaries from the post-build.sh script. Signed-off-by: Gary Bisson Signed-off-by: Thomas Petazzoni --- board/boundarydevices/nitrogen6x/post-build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'board/boundarydevices/nitrogen6x/post-build.sh') diff --git a/board/boundarydevices/nitrogen6x/post-build.sh b/board/boundarydevices/nitrogen6x/post-build.sh index 2b43aa322..f68fa0e61 100755 --- a/board/boundarydevices/nitrogen6x/post-build.sh +++ b/board/boundarydevices/nitrogen6x/post-build.sh @@ -8,11 +8,13 @@ BOARD_DIR="$(dirname $0)" # bd u-boot looks for bootscript here -install -D -m 0644 $BOARD_DIR/6x_bootscript $TARGET_DIR/6x_bootscript +$HOST_DIR/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ +-n "boot script" -d $BOARD_DIR/6x_bootscript.txt $TARGET_DIR/6x_bootscript # u-boot / update script for bd upgradeu command if [ -e $BINARIES_DIR/u-boot.imx ]; then install -D -m 0644 $BINARIES_DIR/u-boot.imx $TARGET_DIR/u-boot.imx - install -D -m 0644 $BOARD_DIR/6x_upgrade $TARGET_DIR/6x_upgrade + $HOST_DIR/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "upgrade script" -d $BOARD_DIR/6x_upgrade.txt $TARGET_DIR/6x_upgrade fi -- cgit v1.2.3