SDHCI:drivers problem running on pynq

From: 徐天宇
Date: Thu Dec 31 2020 - 11:44:00 EST


When I run the RV_BOOT.bin, which is generated by riscv-pk with
linux-5.9.4 as payload, on xilinx pynq-z2, the BBL met the problem below:

mmc0: Timeout waiting for hardware cmd interrupt.
mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00008901
mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
mmc0: sdhci: Argument: 0x00000c00 | Trn mode: 0x00000000
mmc0: sdhci: Present: 0x01ff0001 | Host ctl: 0x00000001
mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000
mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00004007
mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00018000
mmc0: sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001
mmc0: sdhci: Caps: 0x69ec0080 | Caps_1: 0x00000000
mmc0: sdhci: Cmd: 0x0000341a | Max curr: 0x00000001
mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
mmc0: sdhci: Host ctl2: 0x00000000
mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
mmc0: sdhci:

Does anyone have any idea about this problem? Thanks a lot.