This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
如何为 K2E - ARM 构建 Linux? 从"processor-SDK-Linux-K2E"软件包中下载?
先决条件
步骤:
1.从处理器 SDK 6.3软件包转到 Linux 目录
========================================================================================================================================
cd ~/ti-processor-sdk-linux-k2e-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85
2.执行 dist-clean 命令
===================================
make clean distclean arch=arm cross_compile=arm-linux-gnueabihf-
3.查找 k2e 板的 defconfig:
===================================
----
注意:def-config 文件应与您的 EVM 匹配。
因此、我们使用"ls arch/arm/configs/| grep k2e"来检查"tisdk_k2e-evm_defconfig"是否与我们在下一个命令中使用的命令相匹配
----
LS arch/arm/configs/| grep k2e
使 tisdk_k2e-evm_defconfig arch=arm cross_compile=arm-linux-gnueabihf-
4.构建 Linux 和 dtbs
===========================
------
注:以下命令将构建 Linux 映像( zImage )和"DTB"。
------
make -j8 zImage dtbs arch=arm cross_compile=arm-linux-gnueabihf-
------------
5.检查时间戳以验证编译是否成功完成。
------------
LS -al ./arch/arm/boot/dts/keystone-k2e-evm.dtb
LS -al ./arch/arm/boot/zImage
此致
Shankari G