Other Parts Discussed in Thread: AM4376
Hi All
We have following issue with the sdhci-omap driver in the AM4372 processor on a custom board
System MPU: AM4372BZDN80
Linux kernel: 5.10.120, SRCREV = "ab2d96e4f21159a7df2e87a6fb2a29bd9535506b" from git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git
eMMC IC: various manufacturers, capacity 4GB and 8GB
Linux kernel configuration, device tree and design files can be delivered through the local support
Issue description:
Sometimes when running reboot command from the Linux console, there is a timeout on the sdhci-omap driver. Board is halted and it is not rebooting. Issue is reproducing randomly, but mostly below 1 hour when running reboot after each startup in the loop.
Console log:
Rebooting... [ 216.799795] mmc1: Timeout waiting for hardware cmd interrupt.
[ 216.805608] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 216.812095] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00003101
[ 216.818577] mmc1: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 216.825059] mmc1: sdhci: Argument: 0x00010000 | Trn mode: 0x00000000
[ 216.831541] mmc1: sdhci: Present: 0x01f70000 | Host ctl: 0x00000000
[ 216.838022] mmc1: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 216.844501] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 216.850980] mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 216.857460] mmc1: sdhci: Int enab: 0x007f0003 | Sig enab: 0x007f0003
[ 216.863939] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 216.870419] mmc1: sdhci: Caps: 0x05e10080 | Caps_1: 0x00000000
[ 216.876899] mmc1: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 216.883378] mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 216.889857] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 216.896333] mmc1: sdhci: Host ctl2: 0x00000000
[ 216.900805] mmc1: sdhci: ============================================
[ 216.936868] sdhci-omap 481d8000.mmc: Timeout waiting on controller reset in sdhci_omap_reset
[ 216.974576] sdhci-omap 481d8000.mmc: Timeout waiting on controller reset in sdhci_omap_reset
Do you have any ideas what could be the reason for that and how to solve it?