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 
相關文章
相關標籤/搜索