I use our own ls1028 board, the emmc model is the same as ls1028ardb.
When running OpenIL-1.10 version, emmc will report the following error when starting up.
[ 27.306495] 000: mmc1: Got data interrupt 0x00600000 even though no data operation was in progress.
[ 27.306502] 000: mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 27.306504] 000: mmc1: sdhci: Sys addr: 0x00000030 | Version: 0x00002202
[ 27.306507] 000: mmc1: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000030
[ 27.306509] 000: mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[ 27.306511] 000: mmc1: sdhci: Present: 0x01fd0008 | Host ctl: 0x00000034
[ 27.306513] 000: mmc1: sdhci: Power: 0x00000006 | Blk gap: 0x00000000
[ 27.306515] 000: mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000208
[ 27.306517] 000: mmc1: sdhci: Timeout: 0x0000000c | Int stat: 0x00000001
[ 27.306519] 000: mmc1: sdhci: Int enab: 0x037f100f | Sig enab: 0x037f100b
[ 27.306521] 000: mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00002202
[ 27.306523] 000: mmc1: sdhci: Caps: 0x00fa0000 | Caps_1: 0x0000af00
[ 27.306525] 000: mmc1: sdhci: Cmd: 0x00000c1a | Max curr: 0x00000000
[ 27.306527] 000: mmc1: sdhci: Resp[0]: 0x00000b00 | Resp[1]: 0x0000000c
[ 27.306529] 000: mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 27.306531] 000: mmc1: sdhci: Host ctl2: 0x00000081
[ 27.306532] 000: mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xf81aa200
[ 27.306534] 000: mmc1: sdhci: ============================================
[ 27.364818] 001: mmc1: tuning execution failed: -110
[ 27.420779] 001: mmc1: tuning execution failed: -110
[ 27.476777] 001: mmc1: tuning execution failed: -110
[ 27.532776] 001: mmc1: tuning execution failed: -110
[ 27.672769] 000: mmc1: tuning execution failed: -110
[ 27.728769] 000: mmc1: tuning execution failed: -110
emmc related information
[root@MYD-JLS1028 ~] # cat /mnt/mmc1/ios
clock: 200000000 Hz
actual clock: 150000000 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: 3 (8 bits)
timing spec: 10 (mmc HS400)
signal voltage: 1 (1.80 V)
driver type: 0 (driver type B)
The following error is reported when writing
[root@MYD-JLS1028 ~] # dd if=/dev/zero of=/dev/mmcblk1 bs=500M count=1
[ 45.896754] 001: mmc1: tuning execution failed: -110
[ 45.952721] 001: mmc1: tuning execution failed: -110
[ 46.008716] 001: mmc1: tuning execution failed: -110
[ 46.064732] 001: mmc1: tuning execution failed: -110
[ 46.120713] 001: mmc1: tuning execution failed: -110
[ 46.176711] 001: mmc1: tuning execution failed: -110
[ 46.232709] 001: mmc1: tuning execution failed: -110
[ 46.288678] 001: mmc1: tuning execution failed: -110
[ 46.344694] 001: mmc1: tuning execution failed: -110
[ 46.400671] 001: mmc1: tuning execution failed: -110
[ 46.456703] 001: mmc1: tuning execution failed: -110
When I use the LSDK-20.12 version to test, there will be no problems when writing emmc hs400 mode.
I copied the kernel Image compiled by LSDK-20.12 and directly copied it to the image of openil-1.10 to test and there would be no problems.
I wonder if there are some problems in hs400 mode of emmc driver of rt-linux.