2023年6月20日 星期二

How to decompile dtb file (Device Tree)

dtc -I dtb -O dts -o devicetree.dts devicetree.dtb


$ sudo apt-get install device-tree-compiler


$ dtc -I dtb -O dts test.dtb > test.dts

$ dtc -I dts -O dtb test.dts > test.dtb


 


reference: https://forum.digilentinc.com/topic/2427-how-to-decompile-dtb-file/



Device Tree, reference:

Device Tree(一):背景介绍  http://www.wowotech.net/device_model/why-dt.html

Device Tree(二):基本概念  http://www.wowotech.net/device_model/dt_basic_concept.html

Device Tree(三):代码分析  http://www.wowotech.net/device_model/dt-code-analysis.html

Device Tree(四):文件结构解析 http://www.wowotech.net/device_model/dt-code-file-struct-parse.html

沒有留言:

張貼留言

How to repair and clone disk with ddrescue

  ddrescue  is a tool that can be used to repair and clone disks on a  Linux system . This includes hard drives, partitions, DVD discs, flas...