# Rule to build device tree blobs DTC = $(objtree)/scripts/dtc/dtc # Rule to build device tree blobs quiet_cmd_dtc = DTC $@ cmd_dtc = $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 -p 1024 $(dtstree)/$*.dts $(obj)/%.dtb: $(dtstree)/%.dts FORCE $(call if_changed,dtc)
(3) dtc
dtc是编译dts的工具,可以在Ubuntu系统上通过指令apt-get install device-tree-compiler安装dtc工具,不过在内核源码scripts/dtc路径下已经包含了dtc工具。
(4) dtb
dtb(Device Tree Blob),dts经过dtc编译之后会得到dtb文件,dtb通过Bootloader引导程序加载到内核。所以Bootloader需要支持设备树才行;Kernel也需要加入设备树的支持。
标签:dts,DTC,dtb,tree,dtc,device From: https://www.cnblogs.com/hshy/p/17029320.html