dts、dtb编译

设备树(Device Tree)包括DTC(device tree compiler),DTS(device tree source和DTB(device tree blob)。web

dtc编译器可以把 dts 文件生成为dtb文件,也能把dtb文件生成为dts文件,Jetpack中提供了编译工具dtc,所在的目录为:工具

 

....64_TX2/Linux_for_Tegra_tx2/kernel

语法spa

dtc [-I input-format] [-O output-format] [-o output-filename] [-V output_version] input_filename

例如:
dtb反编译生成dts:code

./dtc -I dtb -O dts -o test.dts test.dtb

dts编译生成dtb:orm

./dtc -I dts -O dtb-o test.dtb  test.dts 
相关文章
相关标签/搜索