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/processor-SDK-AM437X:SPI 引导失败

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/670056/linux-processor-sdk-am437x-spi-boot-fails

器件型号:PROCESSOR-SDK-AM437X

工具/软件:Linux

你(们)好  

我们有一个基于 AM437X EVM 的定制板。 该电路板具有 SPI 引导选项。 要进行引导,我们必须将 mLo.byteswap 复制到 SPI 闪存中,并从 eMMC 获取 u-boot.img 和 rootfs。 我们在 Linux SDK 03.00.04中的 u-boot 2016中使用了它

我们使用  Winbond、w25x20 SPI 闪存。

现在,我们移植了 对最新 SDK ti-processor-sdk-linux-am437x-evm-04.02.00.09的类似更改,但此处的 SPI 引导无法正常工作。 我们面临以下错误

U-Boot SPL 2017.01-00465-g4ff3d12脏污(2018年3月08日- 13:03:13)
尝试从 SPI 引导
无效总线0 (ERR=-19)
SPI 探测失败。
SPL:无法从所有引导设备引导
###错误###请重置电路板###

有什么想法,为什么会出现这样的错误?原因可能是什么?

此致、

Pavan S

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

    错误消息 Invalid bus 0 (err=-19) is caused by unsuccessful initialization of SPI device (搜索 SPI 设备失败)。 有关进一步调试、请参阅./u-boot/drivers/core/uclass.c 文件中的 uclass_get_device_By_Seq 函数。
    此外、您还可以调试 SPI 初始化以在./u-boot/common/sip/spi.c 文件中搜索某些 eerors。

    BR
    Tsvetolin Shulev