I am trying to build a yocto image for the PicoCore iMX8MN (nano version, not mini) with the provided yocto sources from the download section but I am getting the following error:
ERROR: imx-boot-1.0-r0 do_compile: Execution of '/fsimx8mx-nano-Y2020.11-pre/sources/yocto-fus/build/tmp/work/fsimx8mn-poky-linux/imx-boot/1.0-r0/temp/run.do_compile.8019' failed with exit code 2:
22056+0 records in
22056+0 records out
88224 bytes (88 kB, 86 KiB) copied, 0.0581221 s, 1.5 MB/s
./../scripts/dtb_check.sh imx8mn-ddr3l-val.dtb valddr3l.dtb
Can't find u-boot DTB file, please copy from u-boot
soc.mak:150: recipe for target 'valddr3l.dtb' failed
make[1]: *** [valddr3l.dtb] Error 254
Makefile:22: recipe for target 'flash_ddr3l_val' failed
make: *** [flash_ddr3l_val] Error 2
WARNING: /fsimx8mx-nano-Y2020.11-pre/sources/yocto-fus/build/tmp/work/fsimx8mn-poky-linux/imx-boot/1.0-r0/temp/run.do_compile.8019:1 exit 2 from 'make SOC=iMX8MN ${target}'
It seems that the dtb_check.sh is looking for the compiled device tree but cannot find the file. Is there something that needs to be done before trying to build an image with yocto to have the compiled device tree and if so, how exactly is this done? If not, is this a known problem and is there a solution for this?