设备树(Device Tree)包括DTC(device tree compiler),DTS(device tree source和DTB(device tree blob)。
dtc编译器能够把 dts 文件生成为dtb文件,也能把dtb文件生成为dts文件,Jetpack中提供了编译工具dtc,所在的目录为:

....64_TX2/Linux_for_Tegra_tx2/kernel

语法

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

例如:
dtb反编译生成dts:

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

dts编译生成dtb:

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

相关文章:

  • 2021-12-08
  • 2021-08-03
  • 2022-02-28
  • 2022-12-23
  • 2021-04-12
  • 2021-12-04
  • 2021-12-14
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2021-12-29
  • 2021-09-17
  • 2021-12-14
  • 2021-09-03
  • 2021-07-21
  • 2021-07-04
相关资源
相似解决方案