aboutsummaryrefslogtreecommitdiff
path: root/board/amarula/vyasa/post-build.sh
diff options
context:
space:
mode:
authorGravatar Jagan Teki <jagannadh.teki@gmail.com>2018-01-30 13:03:53 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-06 11:39:48 +0100
commitcdbb96e0b189ce7a270979993422b9780a3a6224 (patch)
tree8e13bb3cf6ce14b1125cce5085b4f751b8ac6cdc /board/amarula/vyasa/post-build.sh
parent30daaed1935004661cf54d90dc361a3f1d9d509c (diff)
downloadbuildroot-cdbb96e0b189ce7a270979993422b9780a3a6224.tar.gz
buildroot-cdbb96e0b189ce7a270979993422b9780a3a6224.tar.bz2
board: Add Vyasa RK3288 board support
Add Vyasa board, from rk3288 family SOC. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/amarula/vyasa/post-build.sh')
-rwxr-xr-xboard/amarula/vyasa/post-build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/amarula/vyasa/post-build.sh b/board/amarula/vyasa/post-build.sh
new file mode 100755
index 0000000000..ffbbcdeb58
--- /dev/null
+++ b/board/amarula/vyasa/post-build.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+MKIMAGE=$HOST_DIR/bin/mkimage
+BOARD_DIR="$(dirname $0)"
+
+$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img
+cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf