How to patch device tree? (YOCTO)

HI @Romain.Donze

So as general Knowledge, we have a developer page about creating hello_world using Yocto. You can use this page as an example for creating your own meta-layer and put your custom device-tree there.

Also thanks for that, but now I need answer about the whole process of doing this device tree thing.

Please check the Yocto Manual.

Is it written by hand?

Yes. General Information about device-tree, you can find here.

Is it generated automatically with the meta-layer?

No

So how do I write it in my meta-layer?

Please check the developer page mentioned above.

How do we patch a device tree? etc.

One way do the this to make the changes by hand and create a patch file as explained here.

(It seems to me that there is like some fight club rules about all this linux building process XD… First rule is that you don’t talk about it)

No, everything is open-source. You just need to look for it and try it out. And it is more Matrix Style and it depends on what you want to believe.

Thanks again and I hope you can help me!

You are welcome

Best regards,
Jaski