SD card not recognised - mmc1: Reset 0x1 never completed


I have Variscite (DART-SD410) board (similar to DragonBoard410c).

I use Linaro 17.09 (Linux 4.9.56-linaro-lt-qcom).

When I insert SD card I got error in dmesg:

[ 2430.667641] mmc1: Reset 0x1 never completed.
[ 2430.667661] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2430.670966] sdhci: Sys addr: 0x00000000 | Version: 0x00002e02
[ 2430.676607] sdhci: Blk size: 0x00004000 | Blk cnt: 0x00000000
[ 2430.682423] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 2430.688239] sdhci: Present: 0x00080000 | Host ctl: 0x00000000
[ 2430.694056] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 2430.699872] sdhci: Wake-up: 0x00000000 | Clock: 0x00000003
[ 2430.705688] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 2430.711503] sdhci: Int enab: 0x00000000 | Sig enab: 0x00000000
[ 2430.717319] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2430.723135] sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 2430.728950] sdhci: Cmd: 0x00000000 | Max curr: 0x00000000
[ 2430.734766] sdhci: Host ctl2: 0x00000000
[ 2430.740581] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000

I have another problems with Linaro 20.07, so I want to stay with Linaro 17.09.

I 've already done sudo apt-get dist upgrade, but nothing changed.

I inserted SD card even before boot, but this error appeared on startup.

How can I force that reset to start SD card working?

I don’t know how to patch kernel. Exist here some simplier solution?

I would like to backup my eMMC to SD card and I don’t need SD card to read more (only if I will need restore system from SD card to eMMC).


Finally I used Natec All-in-One Beetle SDHC USB 2.0 Card Reader to recognize SD card.
Then I used “dd” to make img file from rootfs partition and I used “truncate” to decrease size from 7.1GB to 7.GB.
Then I tried clone system to another Variscite board via fastboot (version 1.4.3).
… OK.

maybe also update to newer release/kernel, I think this issue has already been addressed.

I know, therefore I wrote “I have another problems with Linaro 20.07, so I want to stay with Linaro 17.09.”
But now I am satisfied with this older version.

In Linaro 20.07 I have problem with random resets.


linaro-alip kernel: [ 49.108642] qcom-q6v5-mss 4080000.remoteproc: fatal error received: dog.c:1498:Watchdog detects stalled initialization