创建内核设备树(TI TRM)

本文介绍如何为不同TI评估模块(EVM)构建正确的设备树二进制文件(dtb)。从3.8内核开始,每个TI EVM都需要一个独特的设备树二进制文件。文章列举了各种TI EVM及其对应的设备树文件,并提供了构建特定设备树二进制文件的命令。
部署运行你感兴趣的模型镜像

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

您可能感兴趣的与本文相关的镜像

Llama Factory

Llama Factory

模型微调
LLama-Factory

LLaMA Factory 是一个简单易用且高效的大型语言模型(Large Language Model)训练与微调平台。通过 LLaMA Factory,可以在无需编写任何代码的前提下,在本地完成上百种预训练模型的微调

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值