Skip to content
Advertisement

How to include device tree overlay into Raspberry Pi CM4

I would like to include UART3 and UART5 overlay to enable them, using Yocto. They are already delivered with the whole package (https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/uart3-overlay.dts) I added to my main image recipe lines:

JavaScript

I have also added .bbappend to enable them in /boot/config.txt (file /meta-mylayer/recipes-bsp/bootfiles/rpi-config_%.bbappend):

JavaScript

And I receive an error:

JavaScript

I suppose that those overlays are not compiled, how can I include them into a compiling process?

Cheers

Advertisement

Answer

Found the solution.

Just add those lines into the local.conf inside the build folder.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement