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.

[参考译文] AM62A7-Q1:SDK 10.0中的 MMC 初始化失败

Guru**** 2483335 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1445009/am62a7-q1-mmc-init-fail-in-sdk-10-0

器件型号:AM62A7-Q1

工具与软件:

尊敬的专家:

客户在 SDK 10_00_00_08中运行以下 MMC 初始化错误、虽然他们在 SDK 09_02_00_05中没有找到此错误、但可以成功进入内核。 您能否帮助检查 uboot 中是否对 MMC 进行了任何修改、如何解决此问题? 谢谢你

此致、

Zhu Xingyu

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

    您好!

    您能否应用以下补丁来启用 MMC 跟踪并共享引导日志?

    diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig
    index bc02634a432..792a1a57019 100644
    --- a/configs/am62ax_evm_a53_defconfig
    +++ b/configs/am62ax_evm_a53_defconfig
    @@ -163,3 +163,6 @@ CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
     CONFIG_USB_GADGET_VENDOR_NUM=0x0451
     CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
     CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
    +
    +CONFIG_MMC_TRACE=y
    +
    

    谢谢!

    Prashant

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

    您好!

    日志如下:

    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 01:11:53 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 01:11:46 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:8
                    ARG                      0x000001aa
                    MMC_RSP_R1,5,6,7         0x000001aa 
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000120 
    CMD_SEND:41
                    ARG                      0x41300000
                    MMC_RSP_R3,4             0x00ff8000 
    CMD_SEND:55
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000120 
    CMD_SEND:41
                    ARG                      0x41300000
                    MMC_RSP_R3,4             0xc1ff8000 
    CMD_SEND:11
                    ARG                      0x00000000
                    MMC_RSP_R1,5,6,7         0x00000320 
    CMD_SEND:0
                    ARG                      0x00000000
                    MMC_RSP_NONE
    CMD_SEND:8
                    ARG                      0x000001aa
                    RET                      -70
    CMD_SEND:55
                    ARG                      0x00000000
                    RET                      -70
    spl: mmc init failed with error: -70
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

    此致、

    TWL

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

    您好!

    感谢您分享日志。

    看起来 SD 卡没有正确响应 CMD8。 为了排除任何 SD 卡问题、您是否尝试过不同品牌的不同 SD 卡、但仍然看到相同的问题?

    谢谢!

    Prashant

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

    您好!

    我发现 v10将发送 CMD11、v9将不发送 CMD11。

    如果是这种情况、则需要3.3V 至1.8V 电压的 UHS 未在 v9中启用速度模式。 您的原理图并非针对该电压开关而设计、这会导致在 UHS SDR (v10中的默认值)模式下初始化 SD 卡失败。

    请参阅以下回复:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1442037/sk-am62b-p1-evm-is-not-booting-even-though-all-the-pipeline-is-correctly-performing-the-image-is-also-built-but-the-board-is-not-booting/5530694#5530694

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1439508/am62a7-q1-device-hangs-at-sysfw-abi-on-custom-hardware/5527791#5527791

    此致、

    Prashant

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

    感谢 Prashant、 问题已解决、请关闭此主题。