ubuntu下设备树信息dtb文件反编译方法

问题:如何查看ubunt下的.dtb文件

如果是银河麒麟arm64架构的处理器平台,建议在如下链接去下载相应版本的device-tree-compiler软件包并安装

https://packages.debian.org/buster/device-tree-compiler

如果是在Ubuntu下则直接运行

sudo apt-get install device-tree-compiler
进行安装即可.

运行dtc --help

反编译命令:

dtc -I dtb -O dts -o xx.dtb xxx.dts

表示将.dtb格式的(二进制人看不懂的)文件反编译成.dts格式

正编译命令:

dtc -I dts -O dtb -o xx.dts xxx.dtb

猜你喜欢

转载自blog.csdn.net/qq_28643619/article/details/95541351