Xilinx ZynqMP - ZCU102: SPL not able to use MMC/SD card

Daniel Cizinsky listy at gebbeth.cz
Tue Nov 9 21:21:41 CET 2021


Hi!

I am trying to switch to as much current vanilla SW as possible on Xilinx
ZCU102 evaluation board.  But I am stuck at a very early stage.

I've got U-Boot + SPL + Linux kernel & userspace compilled, but even after
trying hard I had no success in running SPL to read ATF, not even speaking
about the main U-Boot.

I keep getting (debug info included):

U-Boot SPL 2022.01-rc1 (Nov 09 2021 - 13:57:10 +0100)
PMUFW:  v1.1
Loading new PMUFW cfg obj (2024 bytes)
Silicon version:        3
EL Level:       EL3
Multiboot:      0
Trying to boot from MMC2
spl: could not initialize mmc. error: -19
Trying to boot from MMC1
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-legacy = 0 0
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-mmc-hs = 63 72
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-sd-hs = 63 60
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-uhs-sdr12 = 0 0
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-uhs-sdr25 = 63 60
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-uhs-sdr50 = 0 72
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-uhs-sdr104 = 0 135
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-uhs-ddr50 = 183 48
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-mmc-ddr52 = 54 72
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-mmc-hs200 = 0 135
arasan_sdhci mmc at ff170000: Using predefined clock phase for clk-phase-mmc-hs400 = 0 0
arasan_sdhci mmc at ff170000: arasan_sdhci_set_tapdelay, host:mmc at ff170000, mode:0
CMD_SEND:0
                ARG                      0x00000000
                MMC_RSP_NONE
CMD_SEND:8
                ARG                      0x000001aa
                RET                      -110
CMD_SEND:55
                ARG                      0x00000000
                RET                      -110
CMD_SEND:0
                ARG                      0x00000000
                MMC_RSP_NONE
CMD_SEND:1
                ARG                      0x00000000
                RET                      -110
Card did not respond to voltage select! : -110
mmc_init: -95, time 22
spl: mmc init failed with error: -95
SPL: Unsupported Boot Device 0
SPL: failed to boot from all boot devices (err=-6)
### ERROR ### Please RESET the board ###

The base address is AFAIK correct and the SPL itself has been successfully
loaded from this very SD card. I suppose MMC2 lines to be a kind of
necessity.

I tried a few versions of U-Boot, including the last snapshot release (as
shown) with exactly the same results. Any ideas?

Thank you!

-- 
Daniel Cizinsky at various lists


More information about the U-Boot mailing list