1. 设备树编译(devicetree.dts --> devicetree.dtb)
(1)将devicetree.dts存放到Linux源码的以下路径中:
# Linux源码位置~/linux/linux-3.10.1
~/linux/linux-3.10.1/arch/arm/boot/dts/devicetree.dts
(2) cd至源码根目录下,运行以下命令:
./scripts/dtc/dtc -I dts -O dtb -o devicetree.dtb arch/arm/boot/dts/devicetree.dts
(3) 在源码根目录下生成编译后的devicetree.dtb