14 lines
419 B
Bash
14 lines
419 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
HSS_PAYLOAD_GENERATOR="${HOST_DIR}"/bin/hss-payload-generator
|
||
|
MKIMAGE="${HOST_DIR}"/bin/mkimage
|
||
|
BOARD_DIR="$(pwd)"/"${0%/*}"
|
||
|
|
||
|
pushd "${BINARIES_DIR}"
|
||
|
"${HSS_PAYLOAD_GENERATOR}" -c "${BOARD_DIR}"/config.yaml payload.bin
|
||
|
cp "${BOARD_DIR}"/mpfs_icicle.its "${BINARIES_DIR}"/mpfs_icicle.its
|
||
|
"${MKIMAGE}" -f mpfs_icicle.its mpfs_icicle.itb
|
||
|
popd
|
||
|
support/scripts/genimage.sh -c "${BOARD_DIR}"/genimage.cfg
|