kumquat-buildroot/board/wandboard/post-build.sh
Fabio Estevam 9b15e3a2b7 wandboard: Use U-Boot 2016.07
Upgrade U-Boot version to 2016.07 and make proper use of U-Boot
distro configuration features.

Provide a boot.scr binary script that is one of the standard ways to
pass a U-Boot script with distro features enabled.

With this method the uboot-env.txt file is no longer needed, so it is
removed.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-11 21:58:18 +02:00

9 lines
231 B
Bash
Executable File

#!/bin/sh
BOARD_DIR="$(dirname $0)"
$HOST_DIR/usr/bin/mkimage -A arm -O linux -T script -C none \
-n "boot script" -d $BOARD_DIR/boot.scr.txt $BOARD_DIR/boot.scr
install -m 0644 -D $BOARD_DIR/boot.scr $TARGET_DIR/boot/boot.scr