Compiling the Device Tree Binaries
Starting with the 3.8 kernel each TI evm has an unique device tree binary file required by the kernel. Therefore, you will need to build and install the correct dtb for the target device. All device tree files are located at arch/arm/boot/dts/. Below list various TI evms and the matching device tree file.
| Boards | Device Tree File |
|---|---|
| Beaglebone Black | am335x-boneblack.dts |
| AM335x General Purpose EVM | am335x-evm.dts |
| AM335x Starter Kit | am335x-evmsk.dts |
| AM335x Industrial Communications Engine | am335x-icev2.dts |
| AM437x General Purpose EVM | am437x-gp-evm.dts, am437x-gp-evm-hdmi.dts (HDMI) |
| AM437x Starter Kit | am437x-sk-evm.dts |
| AM437x Industrial Development Kit | am437x-idk-evm.dts |
| AM57xx EVM | am57xx-evm.dts, am57xx-evm-reva3.dts (revA3 EVMs ) |
| AM572x IDK | am572x-idk.dts |
| K2H/K2K EVM | keystone-k2hk-evm.dts |
| K2E EVM | keystone-k2e-evm.dts |
| K2L EVM | keystone-k2l-evm.dts |
| K2G EVM | keystone-k2g-evm.dts |
To build an individual device tree file find the name of the dts file for the board you are using and replace the .dts extension with .dtb. Then run the following command:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- <dt filename>.dtb
The compiled device tree file with be located in arch/arm/boot/dts.
For example, the Beaglebone Black device tree file is named am335x-boneblack.dts. To build the device tree binary you would run:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-boneblack.dtb
本文介绍如何为不同TI评估模块(EVM)构建正确的设备树二进制文件(dtb)。从3.8内核开始,每个TI EVM都需要一个独特的设备树二进制文件。文章列举了各种TI EVM及其对应的设备树文件,并提供了构建特定设备树二进制文件的命令。
122

被折叠的 条评论
为什么被折叠?



