python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / board / firefly / firefly-rk3288 / post-image.sh
blob1dd30a6e7e8e2c41a0c8cdee74d65720fd05ed0b
1 #!/bin/sh
3 MKIMAGE=$HOST_DIR/usr/bin/mkimage
5 BOARD_DIR="$(dirname $0)"
6 GENIMAGE_CFG="${BOARD_DIR}/sd-image.cfg"
7 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
9 $MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
11 rm -rf "${GENIMAGE_TMP}"
13 genimage \
14 --rootpath "${TARGET_DIR}" \
15 --tmppath "${GENIMAGE_TMP}" \
16 --inputpath "${BINARIES_DIR}" \
17 --outputpath "${BINARIES_DIR}" \
18 --config "${GENIMAGE_CFG}"
20 exit $?