@@ -2,7 +2,9 @@
HSS_PAYLOAD_GENERATOR=${HOST_DIR}/bin/hss-payload-generator
MKIMAGE=${HOST_DIR}/bin/mkimage
-"${HSS_PAYLOAD_GENERATOR}" -c board/microchip/mpfs_icicle/config.yaml "${BINARIES_DIR}"/payload.bin
-cp board/microchip/mpfs_icicle/mpfs_icicle.its "${BINARIES_DIR}"/mpfs_icicle.its
+cd "${BINARIES_DIR}" || exit
+"${HSS_PAYLOAD_GENERATOR}" -c "${CONFIG_DIR}"/board/microchip/mpfs_icicle/config.yaml payload.bin
+cd "${CONFIG_DIR}" || exit
+cp "${CONFIG_DIR}"/board/microchip/mpfs_icicle/mpfs_icicle.its "${BINARIES_DIR}"/mpfs_icicle.its
(cd "${BINARIES_DIR}" && "${MKIMAGE}" -f mpfs_icicle.its mpfs_icicle.itb)
support/scripts/genimage.sh -c board/microchip/mpfs_icicle/genimage.cfg
The hss-payload-generator could not find where u-boot.bin was when looking for it using the config.yaml. This needs to be ran in the same directory as the u-boot.bin file to enable it to find it. Fix the post image script to allow an image to get built. Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com> --- board/microchip/mpfs_icicle/post-image.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)