NetBSD-Bugs archive

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

port-arm/55957: Odroid C2 can not access eMMC card



>Number:         55957
>Category:       port-arm
>Synopsis:       Odroid C2 can not access eMMC card
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 25 17:15:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.78
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD h-pulse.aprisoft.de 9.99.78 NetBSD 9.99.78 (GENERIC64) #173: Sun Jan 24 13:44:36 CET 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

For all (two) spare eMMC cards I have, -current does not work on Odroid C2.

Before the clock speed setting for sdmmc was fixed, I used to boot from an
64MB emmc card that came with the device (probably with very slow
speed), but ever since then it fails.

dmesg below.

[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 9.99.78 (GENERIC64) #173: Sun Jan 24 13:44:36 CET 2021
[   1.0000000] 	martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 2012 MB
[   1.0000000] avail memory = 1949 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Hardkernel ODROID-C2
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 0.2
[   1.0000000] cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
[   1.0000000] cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
[   1.0000000] cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
[   1.0000000] simplebus3 at simplebus1
[   1.0000000] simplebus4 at simplebus1
[   1.0000000] simplebus5 at simplebus1
[   1.0000000] simplebus6 at simplebus1
[   1.0000000] simplebus7 at simplebus1
[   1.0000000] simplebus8 at simplebus1
[   1.0000000] gic0 at simplebus1: GIC
[   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (238 valid)
[   1.0000000] armgic0: 16 Priorities, 224 SPIs, 6 PPIs, 8 SGIs
[   1.0000000] syscon0 at simplebus3: System Controller Registers
[   1.0000000] syscon1 at simplebus4: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 24000000 Hz fixed clock (xtal)
[   1.0000000] syscon2 at simplebus3: System Controller Registers
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GIC irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[   1.0000030] gxbbclkc0 at syscon1: Meson GXBB clock controller
[   1.0000030] mesonpinctrl0 at simplebus5: Meson GXBB periphs GPIO
[   1.0000030] gpio0 at mesonpinctrl0: 119 pins
[   1.0000030] mesonresets0 at simplebus6
[   1.0000030] gxbbaoclkc0 at syscon0: Meson GX AO clock controller
[   1.0000030] mesonpinctrl1 at simplebus3: Meson GXBB AO GPIO
[   1.0000030] mesonpinctrl1: usb-hub-reset GPIOAO_4 set to output (high)
[   1.0000030] gpio1 at mesonpinctrl1: 14 pins
[   1.0000030] fregulator0 at simplebus0: VCC1V8
[   1.0000030] fregulator1 at simplebus0: TFLASH_VDD
[   1.0000030] gregulator0 at simplebus0: TF_IO
[   1.0000030] fregulator2 at simplebus0: VCC3V3
[   1.0000030] fregulator3 at simplebus0: HDMI_P5V0
[   1.0000030] fregulator4 at simplebus0: USB_OTG_PWR
[   1.0000030] fregulator5 at simplebus0: P5V0
[   1.0000030] fregulator6 at simplebus0: VDDIO_AO3V3
[   1.0000030] mesonuart0 at simplebus3: console
[   1.0000030] mesonuart0: interrupting on GIC irq 225
[   1.0000030] fregulator7 at simplebus0: VDDIO_AO1V8
[   1.0000030] fregulator8 at simplebus0: DDR3_1V5
[   1.0000030] mmcpwrseq0 at simplebus0: eMMC hardware reset provider
[   1.0000030] mesonusbphy0 at simplebus1: USB2 PHY (host)
[   1.0000030] /soc/bus@c8100000/sys-ctrl@0/power-controller-vpu at syscon0 not configured
[   1.0000030] /scpi at simplebus0 not configured
[   1.0000030] /soc/bus@c883c000/mailbox@404 at simplebus4 not configured
[   1.0000030] /soc/sram@c8000000 at simplebus1 not configured
[   1.0000030] /soc/hdmi-tx@c883a000 at simplebus1 not configured
[   1.0000030] /soc/bus@c8838000/video-lut@48 at simplebus7 not configured
[   1.0000030] awge0 at simplebus1: Gigabit Ethernet Controller
[   1.0000030] awge0: interrupting on GIC irq 40
[   1.0000030] awge0: Core version: 00001137
[   1.0000030] awge0: Ethernet address 00:1e:06:33:12:a6
[   1.0000030] awge0: HW feature mask: 100d4f37
[   1.0000030] rgephy0 at awge0 phy 0: RTL8211F 1000BASE-T media interface
[   1.0000030] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[   1.0000030] /soc/bus@c1100000/interrupt-controller@9880 at simplebus6 not configured
[   1.0000030] /soc/vpu@d0100000 at simplebus1 not configured
[   1.0000030] dispcon0 at simplebus0: HDMI connector
[   1.0000030] /efuse at simplebus0 not configured
[   1.0000030] /soc/bus@c1100000/i2c@8500 at simplebus6 not configured
[   1.0000030] /soc/bus@c1100000/adc@8680 at simplebus6 not configured
[   1.0000030] /soc/bus@c8100000/cec@100 at simplebus3 not configured
[   1.0000030] /soc/bus@c8100000/ir@580 at simplebus3 not configured
[   1.0000030] /soc/video-codec@c8820000 at simplebus1 not configured
[   1.0000030] mesonrng0 at simplebus5: Hardware RNG
[   1.0000030] entropy: ready
[   1.0000030] mesongxmmc0 at simplebus8: eMMC/SD/SDIO controller
[   1.0000030] mesongxmmc0: interrupting on GIC irq 249
[   1.0000030] mesongxmmc1 at simplebus8: eMMC/SD/SDIO controller
[   1.0000030] mesongxmmc1: interrupting on GIC irq 250
[   1.0000030] /soc/apb@d0000000/gpu@c0000 at simplebus8 not configured
[   1.0000030] dwctwo0 at simplebus1: DesignWare USB2 OTG
[   1.0000030] dwctwo0: interrupting on GIC irq 63
[   1.0000030] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000030] gpioleds0 at simplebus0: c2:blue:alive
[   1.0000030] /soc/bus@c1100000/clock-measure@8758 at simplebus6 not configured
[   1.0000030] /soc/bus@c1100000/watchdog@98d0 at simplebus6 not configured
[   1.0000030] cpu0 has 1 core siblings: cpu0
[   1.0000030] cpu0 has 4 pkg siblings: cpu1 cpu2 cpu3 cpu0
[   1.0000030] cpu0 has 1 1st siblings: cpu0
[   1.0000030] cpu0 first in package: cpu0
[   1.0000030] cpu1 has 1 core siblings: cpu1
[   1.0000030] cpu1 has 4 pkg siblings: cpu2 cpu3 cpu0 cpu1
[   1.0000030] cpu1 has 1 1st siblings: cpu0
[   1.0000030] cpu1 first in package: cpu0
[   1.0000030] cpu2 has 1 core siblings: cpu2
[   1.0000030] cpu2 has 4 pkg siblings: cpu3 cpu0 cpu1 cpu2
[   1.0000030] cpu2 has 1 1st siblings: cpu0
[   1.0000030] cpu2 first in package: cpu0
[   1.0000030] cpu3 has 1 core siblings: cpu3
[   1.0000030] cpu3 has 4 pkg siblings: cpu0 cpu1 cpu2 cpu3
[   1.0000030] cpu3 has 1 1st siblings: cpu0
[   1.0000030] cpu3 first in package: cpu0
[   1.6602022] sdmmc0 at mesongxmmc0
[   1.6602022] sdmmc1 at mesongxmmc1
[   1.6602022] usb0 at dwctwo0: USB revision 2.0
[   1.6602022] armpmu0: interrupting on GIC irq 169
[   1.6734979] armpmu0: interrupting on GIC irq 170
[   1.6734979] armpmu0: interrupting on GIC irq 185
[   1.6827692] armpmu0: interrupting on GIC irq 186
[   1.6827692] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.7827669] sdmmc1: can't re-read EXT_CSD
[   1.7827669] sdmmc1: mem init failed
[   1.7827669] sdmmc1: init failed
[   3.5228003] uhub1 at uhub0 port 1: vendor 05e3 (0x05e3) USB2.0 Hub (0x0610), class 9/0, rev 2.00/32.98, addr 2
[   3.5228003] uhub1: multiple transaction translators
[   3.8728092] uhub0: illegal enable change, port 1
[   3.8728092] WARNING: 4 errors while detecting hardware; check system log.
[   3.8728092] boot device: <unknown>
[   3.8828088] root device: 


>How-To-Repeat:
No idea, might depend on the eMMC card

>Fix:
n/a



Home | Main Index | Thread Index | Old Index