NetBSD-Bugs archive

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

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



The following reply was made to PR port-arm/55957; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-arm/55957: Odroid C2 can not access eMMC card
Date: Tue, 26 Jan 2021 12:55:02 +0100

 I forced a lower "max-frequency" for mmc1, and also disabled setting of:
 
 #if 0
         if (of_getprop_bool(sc->sc_phandle, "mmc-hs200-1_8v")) {
                 saa.saa_caps |= SMC_CAPS_MMC_HS200;
                 sc->sc_host_ocr |= MMC_OCR_1_65V_1_95V;
         }
 #endif   
 
 (though the latter is probably already set for DDR52). I also enabled
 MESONGX_MMC_DEBUG.
 
 But (contrary to what I expected from earlier experiments some months ago)
 this did not help.
 
 Martin
 
 [   1.0000030] mesonrng0 at simplebus5: Hardware RNG
 [   1.0000030] entropy: ready
 [   1.0000030] mesongxmmc0 at simplebus8: eMMC/SD/SDIO controller
 [   1.0000030] max-frequency: 100000000
 [   1.0000030] mesongxmmc0: interrupting on GIC irq 249
 [   1.0000030] mesongxmmc1 at simplebus8: eMMC/SD/SDIO controller
 [   1.0000030] max-frequency: 200000000
 [   1.0000030] forcing max-frequency 52000000
 [   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.6642103] sdmmc0 at mesongxmmc0
 [   1.6642103] sdmmc1 at mesongxmmc1
 [   1.6642103] usb0 at dwctwo0: USB revision 2.0
 [   1.6642103] armpmu0: interrupting on GIC irq 169
 [   1.6742163] armpmu0: interrupting on GIC irq 170
 [   1.6742163] armpmu0: interrupting on GIC irq 185
 [   1.6842135] armpmu0: interrupting on GIC irq 186
 [   1.6842135] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
 [   1.7642095] mesongxmmc1:       00: 01000b3c 00000000 00000000 00000000
 [   1.7642095] mesongxmmc1:       10: 00000000 00000000 00000000 00000000
 [   1.7742116] mesongxmmc1:       20: 00000000 00000000 00000000 00000000
 [   1.7742116] mesongxmmc1:       30: 00000000 00000000 00000000 00000000
 [   1.7842097] mesongxmmc1:       40: 00000000 00844890 01ff0000 00000000
 [   1.7942100] mesongxmmc1:       50: 00000000 00000000 00000000 00000000
 [   1.7942100] mesongxmmc1:       60: 00000000 00000000 00000000 00000000
 [   1.8042102] mesongxmmc1:       70: 00000000 00000000 00000000 00000000
 [   1.8142102] mesongxmmc1:       80: 00000000 00000000 00000000 00000000
 [   1.8142102] mesongxmmc1:       90: 00000000 00000000 00000000 00000000
 [   1.8242108] mesongxmmc1:       a0: 00000000 00000000 00000000 00000000
 [   1.8342106] mesongxmmc1:       b0: 00000000 00000000 00000000 00000000
 [   1.8342106] mesongxmmc1:       c0: 00000000 00000000 00000000 00000000
 [   1.8442109] mesongxmmc1:       d0: 00000000 00000000 00000000 00000000
 [   1.8442109] mesongxmmc1:       e0: 00000000 00000000 00000000 00000000
 [   1.8542110] mesongxmmc1:       f0: 00000000 00000000 00000000 00000000
 [   1.8642113] mesongxmmc1:       00: 01000b3c 00000000 00000000 00000000
 [   1.8642113] mesongxmmc1:       10: 00000000 00000000 00000000 00000000
 [   1.8742132] mesongxmmc1:       20: 00000000 00000000 00000000 00000000
 [   1.8842117] mesongxmmc1:       30: 00000000 00000000 00000000 00000000
 [   1.8842117] mesongxmmc1:       40: 00000000 00844890 01ff0000 00000000
 [   1.8942117] mesongxmmc1:       50: 00000000 00000000 00000000 00000000
 [   1.9042122] mesongxmmc1:       60: 00000000 00000000 00000000 00000000
 [   1.9042122] mesongxmmc1:       70: 00000000 00000000 00000000 00000000
 [   1.9142122] mesongxmmc1:       80: 00000000 00000000 00000000 00000000
 [   1.9242125] mesongxmmc1:       90: 00000000 00000000 00000000 00000000
 [   1.9242125] mesongxmmc1:       a0: 00000000 00000000 00000000 00000000
 [   1.9342126] mesongxmmc1:       b0: 00000000 00000000 00000000 00000000
 [   1.9442130] mesongxmmc1:       c0: 00000000 00000000 00000000 00000000
 [   1.9442130] mesongxmmc1:       d0: 00000000 00000000 00000000 00000000
 [   1.9542132] mesongxmmc1:       e0: 00000000 00000000 00000000 00000000
 [   1.9642133] mesongxmmc1:       f0: 00000000 00000000 00000000 00000000
 [   1.9642133] mesongxmmc1:       00: 01000b3c 00000000 00000000 00000000
 [   1.9742158] mesongxmmc1:       10: 00000000 00000000 00000000 00000000
 [   1.9842139] mesongxmmc1:       20: 00000000 00000000 00000000 00000000
 [   1.9842139] mesongxmmc1:       30: 00000000 00000000 00000000 00000000
 [   1.9942138] mesongxmmc1:       40: 00000000 00844890 01ff0000 00000000
 [   2.0042142] mesongxmmc1:       50: 00000000 00000000 00000000 00000000
 [   2.0042142] mesongxmmc1:       60: 00000000 00000000 00000000 00000000
 [   2.0142141] mesongxmmc1:       70: 00000000 00000000 00000000 00000000
 [   2.0242145] mesongxmmc1:       80: 00000000 00000000 00000000 00000000
 [   2.0242145] mesongxmmc1:       90: 00000000 00000000 00000000 00000000
 [   2.0342155] mesongxmmc1:       a0: 00000000 00000000 00000000 00000000
 [   2.0442150] mesongxmmc1:       b0: 00000000 00000000 00000000 00000000
 [   2.0442150] mesongxmmc1:       c0: 00000000 00000000 00000000 00000000
 [   2.0542150] mesongxmmc1:       d0: 00000000 00000000 00000000 00000000
 [   2.0542150] mesongxmmc1:       e0: 00000000 00000000 00000000 00000000
 [   2.0642153] mesongxmmc1:       f0: 00000000 00000000 00000000 00000000
 [   2.0942158] mesongxmmc1:       00: 01000b3c 00000000 00000000 00000000
 [   2.0942158] mesongxmmc1:       10: 00000000 00000000 00000000 00000000
 [   2.1042162] mesongxmmc1:       20: 00000000 00000000 00000000 00000000
 [   2.1042162] mesongxmmc1:       30: 00000000 00000000 00000000 00000000
 [   2.1142163] mesongxmmc1:       40: 00000000 00844890 01ff0000 00000000
 [   2.1242164] mesongxmmc1:       50: 00000000 00000000 00000000 00000000
 [   2.1242164] mesongxmmc1:       60: 00000000 00000000 00000000 00000000
 [   2.1342166] mesongxmmc1:       70: 00000000 00000000 00000000 00000000
 [   2.1442168] mesongxmmc1:       80: 00000000 00000000 00000000 00000000
 [   2.1442168] mesongxmmc1:       90: 00000000 00000000 00000000 00000000
 [   2.1542170] mesongxmmc1:       a0: 00000000 00000000 00000000 00000000
 [   2.1642172] mesongxmmc1:       b0: 00000000 00000000 00000000 00000000
 [   2.1642172] mesongxmmc1:       c0: 00000000 00000000 00000000 00000000
 [   2.1742192] mesongxmmc1:       d0: 00000000 00000000 00000000 00000000
 [   2.1842177] mesongxmmc1:       e0: 00000000 00000000 00000000 00000000
 [   2.1842177] mesongxmmc1:       f0: 00000000 00000000 00000000 00000000
 [   2.2042181] mesongxmmc1:       00: 01000b68 00000000 00000000 00000000
 [   2.2042181] mesongxmmc1:       10: 00000000 00000000 00000000 00000000
 [   2.2042181] mesongxmmc1:       20: 00000000 00000000 00000000 00000000
 [   2.2142183] mesongxmmc1:       30: 00000000 00000000 00000000 00000000
 [   2.2242184] mesongxmmc1:       40: 00000000 00844890 01ff0000 00000000
 [   2.2242184] mesongxmmc1:       50: 40000000 00000000 00000000 00000000
 [   2.2342187] mesongxmmc1:       60: 00000000 00000000 00000000 00000000
 [   2.2442187] mesongxmmc1:       70: 00000000 00000000 00000000 00000000
 [   2.2442187] mesongxmmc1:       80: 00000000 00000000 00000000 00000000
 [   2.2542190] mesongxmmc1:       90: 00000000 00000000 00000000 00000000
 [   2.2642191] mesongxmmc1:       a0: 00000000 00000000 00000000 00000000
 [   2.2642191] mesongxmmc1:       b0: 00000000 00000000 00000000 00000000
 [   2.2742212] mesongxmmc1:       c0: 00000000 00000000 00000000 00000000
 [   2.2842196] mesongxmmc1:       d0: 00000000 00000000 00000000 00000000
 [   2.2842196] mesongxmmc1:       e0: 00000000 00000000 00000000 00000000
 [   2.2942200] mesongxmmc1:       f0: 00000000 00000000 00000000 00000000
 [   2.3042200] sdmmc1: can't read EXT_CSD (error=5)
 [   2.3042200] sdmmc1: mem 
 


Home | Main Index | Thread Index | Old Index