2 # post-image.sh for CircuitCo BeagleBone and TI am335x-evm
3 # 2014, Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
4 # 2016, Lothar Felten <lothar.felten@gmail.com>
6 BOARD_DIR
="$(dirname $0)"
8 # copy the uEnv.txt to the output/images directory
9 cp board
/beaglebone
/uEnv.txt
$BINARIES_DIR/uEnv.txt
11 GENIMAGE_CFG
="${BOARD_DIR}/genimage.cfg"
12 GENIMAGE_TMP
="${BUILD_DIR}/genimage.tmp"
14 rm -rf "${GENIMAGE_TMP}"
17 --rootpath "${TARGET_DIR}" \
18 --tmppath "${GENIMAGE_TMP}" \
19 --inputpath "${BINARIES_DIR}" \
20 --outputpath "${BINARIES_DIR}" \
21 --config "${GENIMAGE_CFG}"