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