Hello, I’m working to build a Yocto Mender image for Beaglebone Black using U-Boot. Things seem to be working well but I’m puzzled by this warning I see during builds of u-boot:
WARNING: u-boot-1_2019.01-r0 do_provide_mender_defines: Found more than one dtb specified in KERNEL_DEVICETREE. Only one should be specified. Choosing the last one.
This warning does not occur when following the official integration directions, but when I change it to use u-boot instead of grub, I see the warning occur.
The only change I made was to add these two lines to my
local.conf as instructed to in the Mender docs.
MENDER_FEATURES_ENABLE_append = " mender-uboot mender-image-sd" MENDER_FEATURES_DISABLE_append = " mender-grub mender-image-uefi"
I observed that the file
sources/poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf sets KERNEL_DEVICETREE to
"am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb", and I am using Beaglebone Black, so the “choosing the last one” is not correct. However, everything seems to be working correctly and my patches to
am335x-boneblack.dtb are being applied and show up when I install the new system image, so I’m not exactly sure if this warning is worth investigating.