mmc0: Timeout waiting for hardware cmd interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mmc0: Timeout waiting for hardware cmd interrupt

3,022 Views
Eddy1
Contributor IV

hi:

If the SD card error occurs on the ls1028 platform, I will thank you very much for your suggestions:

 

[11173.489047] 001: mmc0: Timeout waiting for hardware cmd interrupt.
[11173.495248] 001: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[11173.502144] 001: mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00002202
[11173.509041] 001: mmc0: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[11173.515937] 001: mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[11173.522834] 001: mmc0: sdhci: Present: 0x01f80008 | Host ctl: 0x00000020
[11173.529730] 001: mmc0: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[11173.536626] 001: mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x000020d8
[11173.543522] 001: mmc0: sdhci: Timeout: 0x00000000 | Int stat: 0x00010001
[11173.550419] 001: mmc0: sdhci: Int enab: 0x007f1007 | Sig enab: 0x007f1003
[11173.557315] 001: mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00002202
[11173.564211] 001: mmc0: sdhci: Caps: 0x01fa0000 | Caps_1: 0x0000af00
[11173.571107] 001: mmc0: sdhci: Cmd: 0x0000371a | Max curr: 0x00000000
[11173.578004] 001: mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[11173.584900] 001: mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[11173.591796] 001: mmc0: sdhci: Host ctl2: 0x00000000
[11173.596687] 001: mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[11173.603582] 001: mmc0: sdhci: ============================================

0 Kudos
2 Replies

3,013 Views
yipingwang
NXP TechSupport
NXP TechSupport

Which version LSDK are you using now?

Please check whether the HS-400 mode can work.

Please check whether this patch has already been included in your source code.

https://patchwork.kernel.org/patch/11093405/

 

0 Kudos

3,009 Views
Eddy1
Contributor IV

I use openil 1.10. I have included this patch. When the following error occurs,

genirq: exiting task "irq/16-eDMA" (110) is an active IRQ thread (irq 16)

Then it will appear: mmc0: Timeout waiting for hardware cmd interrupt

0 Kudos