工具/软件: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