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}"
14 --rootpath "${TARGET_DIR}" \
15 --tmppath "${GENIMAGE_TMP}" \
16 --inputpath "${BINARIES_DIR}" \
17 --outputpath "${BINARIES_DIR}" \
18 --config "${GENIMAGE_CFG}"