Hello,
i'm trying to create an image for a custom imx7 board based on the imx7dsabresd and i have the same error. linux-imx and u-boot-imx creating both the dtb and the dtb is copied in the tmp/deploy/... /images folder, but do_image_wic fails because make_dtb_boot_files returns an error.
i've discovered, that the variables in the file tmp/sysroots/imx7dsabresd/imgdata/core-image-minimal.env are already resolved
IMAGE_BOOT_FILES="zImage imx7d-sdb.dtb imx7d-sdb-epdc.dtb imx7d-sdb-gpmi-weim.dtb imx7d-sdb-m4.dtb imx7d-sdb-mipi-dsi.dtb imx7d-sdb-qspi.dtb imx7d-sdb-reva.dtb imx7d-sdb-usd-wifi.dtb tee.bin uTee-7dsdb imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin"
in the custom board file are still the function names present
IMAGE_BOOT_FILES="zImage ${@make_dtb_boot_files(d)} ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'tee.bin uTee-${OPTEE_BIN_EXT}', '', d)} ${@bb.utils.contains('COMBINED_FEATURES', 'xen', 'xen', '', d)}"