How to compile dts Linux device tree source files to dtb?

前端 未结 3 1905
粉色の甜心
粉色の甜心 2020-12-23 14:11

I have a device tree file (.dts) and I want to compile the file for my powerpc based board.

How can I do it on my machine, which is not powerpc based?? Can I do it w

3条回答
  •  梦毁少年i
    2020-12-23 14:41

    make dtbs

    Doing this from the kernel tree is another common way to compile them, since the standard place to put dts is under the kernel tree in directories of the form ./arch//boot/dts/.

    This ends up calling dtc, but might work better because potential includes will be in the right place.

    dtb files are placed in the same directory as the dts.

提交回复
热议问题