创建内核设备树(TI TRM)

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.

Device Tree File Name Per Board
BoardsDevice Tree File
Beaglebone Blackam335x-boneblack.dts
AM335x General Purpose EVMam335x-evm.dts
AM335x Starter Kitam335x-evmsk.dts
AM335x Industrial Communications Engineam335x-icev2.dts
AM437x General Purpose EVMam437x-gp-evm.dts, 
am437x-gp-evm-hdmi.dts (HDMI)
AM437x Starter Kitam437x-sk-evm.dts
AM437x Industrial Development Kitam437x-idk-evm.dts
AM57xx EVMam57xx-evm.dts, 
am57xx-evm-reva3.dts (revA3 EVMs )
AM572x IDKam572x-idk.dts
K2H/K2K EVMkeystone-k2hk-evm.dts
K2E EVMkeystone-k2e-evm.dts
K2L EVMkeystone-k2l-evm.dts
K2G EVMkeystone-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
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值