Hi
we have designed a custom board with imx6dl processor. we are able to boot from the mmc0 and mmc2, mmc0 is connected to micro sdcard and mmc2 is connected to emmc.
For designing this board , we took reference of imx6sabreauto board, The mmc3 (usdhc4) port is connected to the wi-fi module (wfm200s).
we are able to see the below details in /sys/kernel/debug/mmc3/ios
clock: 50000000 Hz
vdd: 21 (3.3 ~ 3.4 V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 2 (4 bits)
timing spec: 2 (sd high-speed)
signal voltage: 0 (3.30 V)
driver type: 0 (driver type B)
but we are getting the below errors while booting:
[ 2.424318] mmc3: SDHCI controller on 219c000.mmc [219c000.mmc] using ADMA
[ 2.453201] mmc3: new high speed SDIO card at address 0001
[ 12.633992] mmc3: Timeout waiting for hardware interrupt.
[ 12.639415] mmc3: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 12.645874] mmc3: sdhci: Sys addr: 0x12649c00 | Version: 0x00000002
[ 12.652327] mmc3: sdhci: Blk size: 0x00000004 | Blk cnt: 0x00000001
[ 12.658780] mmc3: sdhci: Argument: 0x14000004 | Trn mode: 0x00000013
[ 12.665230] mmc3: sdhci: Present: 0x01fd820e | Host ctl: 0x00000013
[ 12.671682] mmc3: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 12.678133] mmc3: sdhci: Wake-up: 0x00000008 | Clock: 0x0000003f
[ 12.684586] mmc3: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 12.691036] mmc3: sdhci: Int enab: 0x107f100b | Sig enab: 0x107f100b
[ 12.697486] mmc3: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000103
[ 12.703937] mmc3: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000a000
[ 12.710388] mmc3: sdhci: Cmd: 0x0000353a | Max curr: 0x00ffffff
[ 12.716837] mmc3: sdhci: Resp[0]: 0x00002000 | Resp[1]: 0x00000000
[ 12.723287] mmc3: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 12.729736] mmc3: sdhci: Host ctl2: 0x00000000
[ 12.734190] mmc3: sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0x3c043204
[ 12.740641] mmc3: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[ 12.748223] mmc3: sdhci-esdhc-imx: cmd debug status: 0x2100
[ 12.753892] mmc3: sdhci-esdhc-imx: data debug status: 0x22a0
[ 12.759648] mmc3: sdhci-esdhc-imx: trans debug status: 0x23a0
[ 12.765490] mmc3: sdhci-esdhc-imx: dma debug status: 0x2420
[ 12.771160] mmc3: sdhci-esdhc-imx: adma debug status: 0x25b4
[ 12.776915] mmc3: sdhci-esdhc-imx: fifo debug status: 0x2680
[ 12.782671] mmc3: sdhci-esdhc-imx: async fifo debug status: 0x2750
[ 12.788945] mmc3: sdhci: ============================================
[ 12.795882] wfx-sdio mmc3:0001:1: read32: bus communication error: -110
[ 12.802537] wfx-sdio mmc3:0001:1: bus returned an error during first read access. Bus configuration error?
[ 12.812576] wfx-sdio: probe of mmc3:0001:1 failed with error -5
we are able to see the clock and commands on the clock line and cmd line.
can you please provide any solution for this issue.
Thanks & regards,
ShivaSagar.