hello.
we boot the apq8096 board with emmc, not ufs, but fail with the mmc0: Timeout waiting for hardware interrupt log, how to resolved it?
[ 16.097198] mmc0: Timeout waiting for hardware interrupt.
[ 16.097244] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 16.101595] mmc0: sdhci: Sys addr: 0x00000008 | Version: 0x00004902
[ 16.108017] mmc0: sdhci: Blk size: 0x00004200 | Blk cnt: 0x00000006
[ 16.114438] mmc0: sdhci: Argument: 0x03a3df80 | Trn mode: 0x0000003b
[ 16.120861] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x0000003d
[ 16.127286] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 16.133708] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 16.140133] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 16.146555] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 16.152979] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 16.159403] mmc0: sdhci: Caps: 0x762dc8b2 | Caps_1: 0x00008007
[ 16.165826] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 16.172251] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000000
[ 16.178674] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000900
[ 16.185096] mmc0: sdhci: Host ctl2: 0x0000000b
[ 16.191519] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff040200
[ 16.195858] mmc0: sdhci: ============================================
the linux kernel from git clone git://git.linaro.org/landing-teams/working/qualcomm/kernel.git -b release/qcomlt-4.14,
but the emmc size and partions can be recognized.
[ 4.192947] mmc0: Switching to 3.3V signalling voltage failed
[ 4.233293] mmc0: SDHCI controller on 7464900.sdhci [7464900.sdhci] using ADMA 64-bit
[ 4.237532] sdhci_msm 74a4900.sdhci: Got CD GPIO
[ 4.285419] mmc0: new HS200 MMC card at address 0001
[ 4.286289] mmcblk0: mmc0:0001 BJNB4R 29.1 GiB
[ 4.289550] mmc1: SDHCI controller on 74a4900.sdhci [74a4900.sdhci] using ADMA 64-bit
[ 4.289612] mmcblk0boot0: mmc0:0001 BJNB4R partition 1 4.00 MiB
[ 4.289764] mmcblk0boot1: mmc0:0001 BJNB4R partition 2 4.00 MiB
[ 4.289857] mmcblk0rpmb: mmc0:0001 BJNB4R partition 3 4.00 MiB
[ 4.314294] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49
the detaied information as belows:
…
[ 4.180282] Synopsys Designware Multimedia Card Interface Driver
[ 4.185396] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.192947] mmc0: Switching to 3.3V signalling voltage failed
[ 4.233293] mmc0: SDHCI controller on 7464900.sdhci [7464900.sdhci] using ADMA 64-bit
[ 4.237532] sdhci_msm 74a4900.sdhci: Got CD GPIO
[ 4.285419] mmc0: new HS200 MMC card at address 0001
[ 4.286289] mmcblk0: mmc0:0001 BJNB4R 29.1 GiB
[ 4.289550] mmc1: SDHCI controller on 74a4900.sdhci [74a4900.sdhci] using ADMA 64-bit
[ 4.289612] mmcblk0boot0: mmc0:0001 BJNB4R partition 1 4.00 MiB
[ 4.289764] mmcblk0boot1: mmc0:0001 BJNB4R partition 2 4.00 MiB
[ 4.289857] mmcblk0rpmb: mmc0:0001 BJNB4R partition 3 4.00 MiB
[ 4.314294] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49
[ 4.319405] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.339016] usbcore: registered new interface driver usbhid
[ 4.343903] usbhid: USB HID core driver
[ 4.352383] usbcore: registered new interface driver snd-usb-audio
[ 4.354199] NET: Registered protocol family 10
[ 4.360200] Segment Routing with IPv6
[ 4.363712] NET: Registered protocol family 17
[ 4.367451] 9pnet: Installing 9P2000 support
[ 4.371893] Key type dns_resolver registered
[ 4.376642] registered taskstats version 1
[ 4.392489] qcom-qusb2-phy 7411000.phy: Registered Qcom-QUSB2 phy
[ 4.393036] qcom-qusb2-phy 7412000.phy: Registered Qcom-QUSB2 phy
[ 4.398164] qcom-pcie 600000.qcom,pcie: Unbalanced pm_runtime_enable!
[ 4.404216] OF: PCI: host bridge /soc/agnoc@0/qcom,pcie@00600000 ranges:
[ 4.410087] OF: PCI: IO 0x0c200000…0x0c2fffff → 0x0c200000
[ 4.416841] OF: PCI: MEM 0x0c300000…0x0cffffff → 0x0c300000
[ 5.503820] qcom-pcie 600000.qcom,pcie: phy link never came up
[ 5.505795] qcom-pcie 600000.qcom,pcie: cannot initialize host
[ 5.509441] qcom-pcie: probe of 600000.qcom,pcie failed with error -110
[ 5.516933] arm-smmu b40000.arm,smmu: probing hardware configuration…
[ 5.520982] arm-smmu b40000.arm,smmu: SMMUv2 with:
[ 5.527603] arm-smmu b40000.arm,smmu: stage 1 translation
[ 5.532401] arm-smmu b40000.arm,smmu: address translation ops
[ 5.537857] arm-smmu b40000.arm,smmu: non-coherent table walk
[ 5.543664] arm-smmu b40000.arm,smmu: (IDR0.CTTW overridden by FW configuration)
[ 5.549488] arm-smmu b40000.arm,smmu: stream matching with 2 register groups
[ 5.557076] arm-smmu b40000.arm,smmu: 2 context banks (0 stage-2 only)
[ 5.564193] arm-smmu b40000.arm,smmu: Supported page sizes: 0x63315000
[ 5.570580] arm-smmu b40000.arm,smmu: Stage-1: 48-bit VA → 36-bit IPA
[ 5.580304] phy phy-7412000.phy.6: QUSB2PHY pll lock failed: status reg = 0
[ 5.583753] phy phy-7412000.phy.6: phy init failed → -16
[ 5.590682] dwc3 7600000.dwc3: failed to initialize core
[ 5.596271] dwc3: probe of 7600000.dwc3 failed with error -16
[ 5.603144] phy phy-7411000.phy.5: QUSB2PHY pll lock failed: status reg = 0
[ 5.607370] phy phy-7411000.phy.5: phy init failed → -16
[ 5.614120] dwc3 6a00000.dwc3: failed to initialize core
[ 5.619706] dwc3: probe of 6a00000.dwc3 failed with error -16
[ 5.629587] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ 5.631559] hctosys: unable to open rtc device (rtc0)
[ 5.638415] wlan-en-regulator: disabling
[ 5.642504] ALSA devic[ 5.649777] Freeing unused kernel memory: 1152K
Loading, please wait…
starting version 238
[ 5.893685] rtc-pm8xxx 400f000.qcom,spmi:pmic@0:rtc@6000: rtc core: registered pm8xxx_rtc as rtc0
[ 5.919025] atl1c 0002:01:00.0 enP2p1s0: renamed from eth0
[ 16.097198] mmc0: Timeout waiting for hardware interrupt.
[ 16.097244] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 16.101595] mmc0: sdhci: Sys addr: 0x00000008 | Version: 0x00004902
[ 16.108017] mmc0: sdhci: Blk size: 0x00004200 | Blk cnt: 0x00000006
[ 16.114438] mmc0: sdhci: Argument: 0x03a3df80 | Trn mode: 0x0000003b
[ 16.120861] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x0000003d
[ 16.127286] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 16.133708] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 16.140133] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 16.146555] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 16.152979] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 16.159403] mmc0: sdhci: Caps: 0x762dc8b2 | Caps_1: 0x00008007
[ 16.165826] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 16.172251] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000000
[ 16.178674] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000900
[ 16.185096] mmc0: sdhci: Host ctl2: 0x0000000b
[ 16.191519] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff040200
[ 16.195858] mmc0: sdhci: ============================================
[ 16.303081] mmc0: Reset 0x4 never completed.
[ 16.303107] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 16.306416] mmc0: sdhci: Sys addr: 0x00000008 | Version: 0x00004902
[ 16.312753] mmc0: sdhci: Blk size: 0x00004200 | Blk cnt: 0x00000006
[ 16.319177] mmc0: sdhci: Argument: 0x03a3df80 | Trn mode: 0x0000003b
[ 16.325600] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x0000003d
[ 16.332023] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 16.338448] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 16.344871] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 16.351295] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 16.357717] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 16.364141] mmc0: sdhci: Caps: 0x762dc8b2 | Caps_1: 0x00008007
[ 16.370564] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 16.376989] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 16.383411] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 16.389834] mmc0: sdhci: Host ctl2: 0x0000000b
[ 16.396259] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff040200
[ 16.400597] mmc0: sdhci: ============================================
Begin: Loading essential drivers … done.
Begin: Running /scripts/init-premount … done.
Begin: Mounting root file system … Begin: Running /scripts/local-top … done.
Begin: Running /scripts/local-premount … [ 126.185221] raid6: int64x1 gen() 1103 MB/s