Hi, I'm working with the i.MX9 evaluation board and have done the first steps regarding the Yocto build described in the i.MX Yocto Project User's Guide.
MACHINE=imx93-11x11-lpddr4x-evk DISTRO=poky source imx-setup-release.sh -b build-ixm
While building the core-image-minimal below error occured:
| make[2]: *** No rule to make target 'arch/arm64/boot/dts/freescale/imx93-11x11-evk-ld.dtb'. Stop.
| make[1]: *** [/home/user/Documents/RD0204/linux-platform/imx/build-ixm/tmp/work-shared/imx93-11x11-lpddr4x-evk/kernel-source/scripts/Makefile.build:500: arch/arm64/boot/dts/freescale] Error 2imx93-11x11-evk-ld.dtb
| make: *** [/home/user/Documents/RD0204/linux-platform/imx/build-ixm/tmp/work-shared/imx93-11x11-lpddr4x-evk/kernel-source/Makefile:1471: freescale/imx93-11x11-evk-ld.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user/Documents/RD0204/linux-platform/imx/sources/meta-freescale/recipes-kernel/linux/linux-fslc-imx_6.1.bb:do_compile) failed with exit code '1'
It seems that the imx93-11x11-evk-ld.dtb file can't be build for some reason, I'm struggling with finding where exactly it should sit in the file tree. There is a file named imx93-11x11-evk.dtb
in tmp/work/imx93_11x11_lpddr4x_evk-poky-linux/linux-fslc-imx/6.1.24+gitAUTOINC+897d73a656-r0/build/arch/arm64/boot/dts/freescale, however the names differ.
Do you know how to cope with this error?
Similar problem was mentioned in this question, yet in my case the dts file cannot be found in the file tree.