cancel
Showing results for 
Search instead for 
Did you mean: 

Device tree overlay does not get applied

jpcarlos
Associate II

I want to support a couple of display panels/LCDs so I tried modifying the uboot so it loads the desired device tree overlay according to the state of the input pins (digital). However, when I'm testing it, it does not get applied.

I already spent a couple of days trying to figure this one out but I did not get any luck so I tried testing this concept with RaspberryPi and it works.

Do I just need to set CONFIG_OF_LIBFDT_OVERLAY to the defconfig make this one work?

3 REPLIES 3
kirillyatsenko
Associate II

I'm interested in this topic as well

jpcarlos
Associate II

I found a work around. In my linux_stm32mp_%.append I prepend my DTS to STM32MP_KERNEL_DEVICETREE and append my configs to KERNEL_CONFIG_FRAGMENTS. However, this is not ideal as you will end up having multiple full DTBs (~140KB each).

kirillyatsenko
Associate II

Ah, got you, thank you for sharing information.
I'm mostly interested in it, so I can update Device Tree at runtime.