sdhci timeout on imx8mq
Angus Ainslie
angus at akkea.ca
Wed Dec 23 16:06:08 EST 2020
Hi Lucas,
On 2020-12-18 12:07, Lucas Stach wrote:
>
> Can you show me the full fail log? I do not meet this issue on my side,
> besides, which kind of uboot do you use?
>
I've got the dmesg output and it's 33K. Should I send it to the list or
do you want to see it out of band ?
The 2 relevant sections are
[ 13.281867] mmc0: Timeout waiting for hardware interrupt.
[ 13.287310] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 13.293810] mmc0: sdhci: Sys addr: 0x00000800 | Version: 0x00000002
[ 13.300290] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000001
[ 13.306774] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 13.313258] mmc0: sdhci: Present: 0x01f88a0a | Host ctl: 0x00000011
[ 13.319738] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 13.326218] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x000020ff
[ 13.332699] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 13.339178] mmc0: sdhci: Int enab: 0x107f100b | Sig enab: 0x107f100b
[ 13.345658] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00008402
[ 13.352141] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407
[ 13.358622] mmc0: sdhci: Cmd: 0x0000083a | Max curr: 0x00ffffff
[ 13.365106] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff
[ 13.371589] mmc0: sdhci: Resp[2]: 0x328f5903 | Resp[3]: 0x00d02700
[ 13.378068] mmc0: sdhci: Host ctl2: 0x00000000
[ 13.382554] mmc0: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xe5b90200
[ 13.389042] mmc0: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS
DUMP =========
[ 13.396661] mmc0: sdhci-esdhc-imx: cmd debug status: 0x2100
[ 13.402361] mmc0: sdhci-esdhc-imx: data debug status: 0x2200
[ 13.408119] mmc0: sdhci-esdhc-imx: trans debug status: 0x2300
[ 13.413991] mmc0: sdhci-esdhc-imx: dma debug status: 0x2402
[ 13.419718] mmc0: sdhci-esdhc-imx: adma debug status: 0x2501
[ 13.425478] mmc0: sdhci-esdhc-imx: fifo debug status: 0x2610
[ 13.431294] mmc0: sdhci-esdhc-imx: async fifo debug status: 0x2751
[ 13.437600] mmc0: sdhci: ============================================
[ 13.453076] mmc0: error -110 whilst initialising MMC card
[ 13.662288] mmc0: new HS400 MMC card at address 0001
[ 13.676191] mmcblk0: mmc0:0001 032G32 29.1 GiB
[ 13.684755] mmcblk0boot0: mmc0:0001 032G32 partition 1 4.00 MiB
[ 13.694405] mmcblk0boot1: mmc0:0001 032G32 partition 2 4.00 MiB
[ 13.702264] mmcblk0rpmb: mmc0:0001 032G32 partition 3 4.00 MiB,
chardev (245:0)
[ 13.715966] mmcblk0: p1 p2
[ 29.665891] mmc1: Timeout waiting for hardware interrupt.
[ 29.671310] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 29.677758] mmc1: sdhci: Sys addr: 0x00000800 | Version: 0x00000002
[ 29.684201] mmc1: sdhci: Blk size: 0x00000004 | Blk cnt: 0x00000001
[ 29.690642] mmc1: sdhci: Argument: 0x12008004 | Trn mode: 0x00000013
[ 29.697086] mmc1: sdhci: Present: 0x01f88a0a | Host ctl: 0x00000013
[ 29.703529] mmc1: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 29.709980] mmc1: sdhci: Wake-up: 0x00000008 | Clock: 0x0000003f
[ 29.716426] mmc1: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 29.722868] mmc1: sdhci: Int enab: 0x107f110b | Sig enab: 0x107f110b
[ 29.729310] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00008402
[ 29.735754] mmc1: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407
[ 29.742212] mmc1: sdhci: Cmd: 0x0000353a | Max curr: 0x00ffffff
[ 29.748658] mmc1: sdhci: Resp[0]: 0x00002000 | Resp[1]: 0x00000000
[ 29.755099] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 29.761540] mmc1: sdhci: Host ctl2: 0x00000000
[ 29.765989] mmc1: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xe6605200
[ 29.772439] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS
DUMP =========
[ 29.780026] mmc1: sdhci-esdhc-imx: cmd debug status: 0x2100
[ 29.785692] mmc1: sdhci-esdhc-imx: data debug status: 0x2200
[ 29.791448] mmc1: sdhci-esdhc-imx: trans debug status: 0x2300
[ 29.797284] mmc1: sdhci-esdhc-imx: dma debug status: 0x2402
[ 29.802943] mmc1: sdhci-esdhc-imx: adma debug status: 0x2501
[ 29.808690] mmc1: sdhci-esdhc-imx: fifo debug status: 0x2690
[ 29.814437] mmc1: sdhci-esdhc-imx: async fifo debug status: 0x2751
[ 29.820701] mmc1: sdhci: ============================================
Thanks
Angus
More information about the linux-arm-kernel
mailing list