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

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress