How to add extra .dtbo files to the /boot/overlays folder of the boot partition

I wonder how to add pre-built dtbo files to the boot partition /boot/overlays folder in Yocto?

I tried the following, but the file goes to the /boot folder of the rootfs file system:

install -m 644 ${WORKDIR}/colibri-imx8x_ad7879_overlay.dtbo ${D}/boot/overlays

I also tried the following, but it’s also not working:

KERNEL_DEVICETREE += "
colibri-imx8x_ad7879_overlay.dtbo
colibri-imx8x_parallel-rgb_overlay.dtbo
"

Thanks

Greetings @kevinlinux,

Are you using our TorizonCore image or our Yocto BSP reference image? Your question is tagged Torizon, so I’m assuming you’re using TorizonCore.

In that case you could just enable and deploy overlays using TorizonCore Builder as documented here: Device Tree Overlays on Torizon | Toradex Developer Center

Otherwise, we also have an article about working with overlays in a Yocto build over here: Device Tree Overlays (Linux) | Toradex Developer Center

Best Regards,
Jeremias

Sorry, I am using the Yocto BSP reference image.

Hi @kevinlinux , does this problem get fixed? Is it still kirkstone-6.x.y branch based Yocto BSP reference image?