Linux: Decompile/show a device tree binary file dtb

Hi,

under linux device tree is a way to describe hardware which is not discoverable.

The kernel uses a compiled version of the device tree. This can be decompiled in an readable formet by the device tree compiler.

Install device tree compiler

apt-get install device-tree-compiler

Decode a dtb file

michael@devdeb ~# dtc -I dtb -O dts sun8i-h3-orangepi-pc.dtb -o /tmp/tmp.dts 
michael@devdeb ~#  less /tmp/tmp.dts

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.