Hi,
I have implemented Watch dog timer and configured at 1min and resetting the WDT at every 5 seconds. The processor was in the below error state for more than 5 min before it could restart itself. I have no clue about this error help me to find the root cause of this below error (Log file is attached for quick info)
[107434.234408] mmc0: Timeout waiting for hardware interrupt.
[107434.239900] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[107434.246428] mmc0: sdhci: Sys addr: 0xbbbde51c | Version: 0x00000002
[107434.252955] mmc0: sdhci: Blk size: 0x00000004 | Blk cnt: 0x00000001
[107434.259481] mmc0: sdhci: Argument: 0x9410d004 | Trn mode: 0x00000003
[107434.266008] mmc0: sdhci: Present: 0x01d88008 | Host ctl: 0x00000013
[107434.272534] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[107434.279060] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000001f
[107434.285587] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000103
[107434.292112] mmc0: sdhci: Int enab: 0x107f110b | Sig enab: 0x107f110b
[107434.298639] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000502
[107434.305165] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407
[107434.311690] mmc0: sdhci: Cmd: 0x0000353a | Max curr: 0x00ffffff
[107434.318217] mmc0: sdhci: Resp[0]: 0x00001000 | Resp[1]: 0x00000000
[107434.324744] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[107434.331268] mmc0: sdhci: Host ctl2: 0x00000088
[107434.335798] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x78089208
[107434.342323] mmc0: sdhci: ============================================
[107434.349298] AR6000: SDIO bus operation failed! MMC stack returned : -110
[107434.356191] __HIFReadWrite, addr:0X000868, len:00000004, Write, Sync
Regards
Santhosh Kumar S
could you tell me which version of BSP are you using?
Linux Version is 4.14.78_1.0.0
Is the SDHC connecting to a device called AR6000? You may try to add some printf in the driver to see where it stop?
I have no idea where to add.. Can you guide which file to touch
Regards
Santhosh