Linux: Decompile/show a device tree binary file dtb


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


Advertisment to support

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress