Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iMX8MQ SD boot issue (Re: sdhc1: data crc error)



On Fri, Oct 17, 2025 at 07:24:03PM +0800, Rui-Xiang Guo wrote:
> On Sun, Feb 09, 2025 at 09:26:28AM +0800, Rui-Xiang Guo wrote:
> > Hi,
> > When trying to boot 10.0 aarch64 on the Google i.MX8MQ Phanbell board
> > (a.k.a Coral Dev Board), everything looks fine except 'sdhc1: data crc error'.
> 
> Describe it in detail:
> 1. Boot with default imx8mq-phanbell.dtb and the dmesg shows
> [...]
> [   1.0000040] sdhc0 at simplebus4: SDMMC (400000 kHz)
> [   1.0000040] sdhc0: interrupting on irq 54
> [   1.0000040] sdhc0: SDHC 3.0, rev 0, 32-bit ADMA2, 180000 kHz, HS SDR50 DDR50 1.8V 3.0V 3.3V, re-tuning mode 1, 4096 byte blocks
> [   1.0000040] sdmmc0 at sdhc0 slot 0
> [   1.0000040] sdhc1 at simplebus4: SDMMC (400000 kHz)
> [   1.0000040] sdhc1: interrupting on irq 55
> [   1.0000040] sdhc1: SDHC 3.0, rev 0, 32-bit ADMA2, 180000 kHz, HS SDR50 DDR50 1.8V 3.0V 3.3V, re-tuning mode 1, 4096 byte blocks
> [   1.0000040] sdmmc1 at sdhc1 slot 0
> [   1.0000040] /soc@0/bus@32c00000/interrupt-controller@32e2d000 at simplebus6 not configured
> [   1.0000040] xhci0 at simplebus1: cannot switch 'otg' mode to host
> [   1.0000040] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 3.10a)
> [   1.0000040] xhci1: interrupting on irq 73
> [   1.0000040] usb0 at xhci1: USB revision 3.0
> [   1.0000040] usb1 at xhci1: USB revision 2.0
> [   1.0000040] /soc@0/video-codec@38300000 at simplebus1 not configured
> [   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
> [   1.0000040] /soc@0/ddr-pmu@3d800000 at simplebus1 not configured
> [   1.8283080] cpufreqdt0: couldn't acquire cpu-supply
> [   1.8283080] cpufreqdt1: couldn't acquire cpu-supply
> [   1.8383104] cpufreqdt2: couldn't acquire cpu-supply
> [   1.8383104] cpufreqdt3: couldn't acquire cpu-supply
> [   1.8483087] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
> [   1.8583105] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
> [   1.8783096] armpmu0: interrupting on GICv3 irq 23
> [   1.8783096] WARNING: system needs entropy for security; see entropy(7)
> [   2.0283120] sdhc1: data end bit error
> [   2.0283120] sdhc1: data crc error
> [   2.0283120] sdmmc1: can't get SD status: 60
> [   2.0383130] sdmmc1: mem init failed
> [   2.0383130] sdmmc1: init failed
> [   2.0383130] swwdog0: software watchdog initialized
> [   2.0516064] WARNING: 9 errors while detecting hardware; check system log.
> [   2.0586909] boot device: <unknown>
> [   2.0586909] root device:
> [   2.9270786] use one of: enet0 ddb halt reboot
> [   2.9270786] root device:

It is resolved by adding arm/dts/imx8mq-phanbell.dts and tested on 11.0:
https://dmesgd.nycbug.org/dmesgd?do=view&id=9139

-rxg



Home | Main Index | Thread Index | Old Index