Hello,
I am currently in the process of building a Yocto based Linux image + kernel + u-boot for the PicoCore™MX8MM.
Unfortunately building u-boot fails with the following output:
- test -e arch/arm/dts/picocoremx8mm-lpddr4.dtb || ( \
- | echo >&2; \
- | echo >&2 "Device Tree Source (arch/arm/dts/picocoremx8mm-lpddr4.dtb) is not correctly specified."; \
- | echo >&2 "Please define 'CONFIG_DEFAULT_DEVICE_TREE'"; \
- | echo >&2 "or build with 'DEVICE_TREE=<device_tree>' argument"; \
- | echo >&2; \
I use kas on top of yocto to build everything.
All my layers use the latest kirkstone commit of their repository.
For meta-fus I use the "fsimx8mm-Y2023.10" tag (hash: ba36ddfb63e8f643d4eba637aa745fce8f6d175f).
machine = fsimx8mm
distro = custom_distro
target = custom_image
In my "u-boot-fus.bbappend" I tell yocto to use the "fsimx8mm-Y2023.11" tag from the u-boot-fus repo.
As stated at the beginning, yocto fails to build u-boot, saying that the device tree is not correctly specified.
But looking at the u-boot sources, I see that in "fsimx8mm_defconfig" the "CONFIG_DEFAULT_DEVICE_TREE" is set to "picocoremx8mm-lpddr4", which seems correct. The corresponding device tree source "picocoremx8mm-lpddr4.dts" is also in the right place and also mentioned in the Makefile.
So currently I don't really know what to do with this error message.
Is this a configuration issue on my side or is there something wrong in the u-boot-fus repository?
Thanks and best regards,
Stefan