2016-12-15 17:24:45 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# post-build.sh for OrangePi taken from CubieBoard's post-build.sh
|
|
|
|
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
|
|
|
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
2017-07-05 13:14:26 +02:00
|
|
|
MKIMAGE=$HOST_DIR/bin/mkimage
|
2016-12-15 17:24:45 +01:00
|
|
|
BOOT_CMD=$BOARD_DIR/boot.cmd
|
|
|
|
BOOT_CMD_H=$BINARIES_DIR/boot.scr
|
|
|
|
|
|
|
|
# U-Boot script
|
|
|
|
$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H
|