How to insert blob device tree (dtb) into linux kernel?

There must be a standard, airborne and architectural independent way to do this, as with initfamfs, no?

I use powerpc and linux-3.10 if that matters. If later the best objects appear, I will be interested to hear about them.

And if anyone knows about the whiteboard where it currently works, which I could use as a reference, that would also be helpful.

I searched and searched, and I find a lot of information about why dts / dtb exists, a fair amount about the ongoing discussion of whether they are useful, as well as how to write dts or use existing dts, but nothing about how they to introduce.

Quick descriptions or pointers to the relevant document would be greatly appreciated.

+4
source share
1 answer

You need the Flattened Image Tree (FIT) format. FIT uses the DTS syntax / format to describe images embedded in one main image. For example, you can pack zImage and one or more DTB files and an initramfs image and that is always the case. Check out these slides for details.

+2
source

All Articles