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.

[参考译文] Linux/EVMK2EX:在 K2E 器件上使用 U-boot 引导 Linux 内核

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/602648/linux-evmk2ex-booting-linux-kernel-using-u-boot-on-k2e-device

器件型号:EVMK2EX

工具/软件:Linux

您好!

我正在尝试使用 Keystone 2 66AK2Ex 上的 U-Boot 从 TFTP 获取 Linux 内核映像、并从 SPI 闪存引导。

我使用 TI 处理器 SDK 构建了 Linux 内核映像和器件树二进制文件、如下链接所示:

http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide#Compiling_the_Kernel

我在 U-Boot 上使用以下引导命令:

http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot#SPI_Flash

但是、上面的 bootm 命令显示错误的内核映像。 那么、我应该在 TFTP 服务器中保留 uImage 吗? 目前、我从 SDK 构建的映像是 zImage。 您能告诉我如何构建 uImage 吗?

此外、我还应该在 tftpboot 目录中保存哪些文件、以及从 U-boot 保存的 tftp? 我是否也应该保留.dTB 文件和 ramdisk 文件?

另外,请提供准确的 U-Boot 命令,以便从 U-Boot 引导内核映像(以及.dTB,如果需要,ramdisk 文件)。 上述 SPI 链接命令也适用于 K2E 器件?

此致、

Ashwini