Hi NXP team,
How to load dtbo (overlay file) in runtime.
An example for imx8mp, In kernel 6.1.36 there have imx8mp-evk-revb4.dtbo and it merge with others DTB file to generate a new one like :
imx8mp-evk-revb4-ov2775-dtbs = imx8mp-evk-ov2775.dtb imx8mp-evk-revb4.dtbo
In this case can we use imx8mp-evk-ov2775.dtb and runtime load imx8mp-evk-revb4.dtbo ?
If the answer is yes, how to do that ?
BR,
Sean
the purpose of your request is that you wan to add or remove dtbo file dynamically, right?
you can refer to the document as below, which is verified on nxp bsp, if/else test can meet your request or not
How to use linux device tree overlay from u-boot and apply it automatically - NXP Community
you also can refer to
Device tree overlay - dynamic load and unload - Raspberry Pi Forums
pi 4 - Using the Dynamic Device Tree to add Overlays at Run Time - Raspberry Pi Stack Exchange