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

此致、
Zhu Xingyu
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.
工具与软件:
尊敬的专家:
客户在 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
您好!
我发现 v10将发送 CMD11、v9将不发送 CMD11。
如果是这种情况、则需要3.3V 至1.8V 电压的 UHS 未在 v9中启用速度模式。 您的原理图并非针对该电压开关而设计、这会导致在 UHS SDR (v10中的默认值)模式下初始化 SD 卡失败。
请参阅以下回复:
此致、
Prashant