2023-08-21 13:30:33 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
2023-07-12 14:51:54 +02:00
|
|
|
|
2023-08-21 13:30:33 +02:00
|
|
|
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
|