I.MX device-tree overlay implement

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.MX device-tree overlay implement

392 次查看
charleshuang
Senior Contributor II

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

标签 (1)
0 项奖励
回复
1 回复

366 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复