NetBSD Problem Report #56376

From SRS0=bF4y=NR=kilbi.de=root@masterlogin.de  Thu Aug 26 06:56:29 2021
Return-Path: <SRS0=bF4y=NR=kilbi.de=root@masterlogin.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 080511A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Aug 2021 06:56:28 +0000 (UTC)
Message-Id: <20210826065621.EA4991BF99A@mx.kilbi.de>
Date: Thu, 26 Aug 2021 08:56:21 +0200 (CEST)
From: mk@kilbi.de
Reply-To: mk@kilbi.de
To: gnats-bugs@NetBSD.org
Subject: eMMC regression on odroid C2 (aarch64) NetBSD 9 --> NetBSD HEAD (9.99.88)
X-Send-Pr-Version: 3.95

>Number:         56376
>Category:       port-evbarm
>Synopsis:       eMMC module no longer works on odroid c2 under NetBSD HEAD (9.99.88)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 26 07:00:00 +0000 2021
>Last-Modified:  Mon Oct 18 18:05:01 +0000 2021
>Originator:     Markus Kilbinger
>Release:        NetBSD 9.99.88
>Organization:

>Environment:


System: NetBSD cochise 9.99.88 NetBSD 9.99.88 (C2) #9: Tue Aug 24 10:15:54 CEST 2021 root@c2:/usr/NetBSD/HEAD/src/sys/arch/evbarm/compile/C2 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
	An installed eMMC module in my odroid c2 is no longer
	correctly detected / initialised /working under NetBSD
	-current (HEAD 9.99.88):

	  sdmmc1: can't re-read EXT_CSD
	  sdmmc1: mem init failed
	  sdmmc1: init failed

	Its sdcard works normally though:

	  sdmmc0: SD card status: 4-bit, C10, U3, V30, A2
	  ld0 at sdmmc0: <0x03:0x5344:SH64G:0x80:0x1ed4d81b:0x156>
	  ld0: 60906 MB, 7764 cyl, 255 head, 63 sec, 512 bytes/sect x 124735488 sectors
	  ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz

	Under NetBSD 9 it's detected und working normally:

	  ld1 at sdmmc1: <0x15:0x0100:CJTD4R:0x00:0x0dd2be1c:0x000>
	  ld1: 59640 MB, 7603 cyl, 255 head, 63 sec, 512 bytes/sect x 122142720 sectors
	  ld1: 8-bit width, HS200, 64 MB cache, 200.000 MHz
>How-To-Repeat:
	Boot a -current GENERIC64 aarch kernel on a odroid c2 and
	watch it failing to detect its installed eMMC module.
>Fix:
	Unknown.

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-evbarm/56376: eMMC regression on odroid C2 (aarch64) NetBSD
 9 --> NetBSD HEAD (9.99.88)
Date: Thu, 26 Aug 2021 09:27:00 +0200

 Works for me.

 Martin

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

 NetBSD 9.99.88 (GENERIC64) #216: Fri Aug 20 15:11:19 CEST 2021
 	martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/evbarm/compile/GENERIC64
 total memory = 2009 MB
 avail memory = 1939 MB
 timecounter: Timecounters tick every 10.000 msec
 Kernelized RAIDframe activated
 armfdt0 (root)
 simplebus0 at armfdt0: Hardkernel ODROID-C2
 simplebus1 at simplebus0
 cpus0 at simplebus0
 simplebus2 at simplebus0
 psci0 at simplebus0: PSCI 0.2
 cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
 cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
 cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
 cpu0: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
 cpu0: L1 32KB/64B*256L*2W VIPT Instruction cache
 cpu0: L1 32KB/64B*128L*4W PIPT Data cache
 cpu0: L2 512KB/64B*512L*16W PIPT Unified cache
 cpu0: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
 cpu0: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
 cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
 cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
 cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
 simplebus3 at simplebus1
 simplebus4 at simplebus1
 simplebus5 at simplebus1
 simplebus6 at simplebus1
 simplebus7 at simplebus1
 simplebus8 at simplebus1
 gic0 at simplebus1: GIC
 armgic0 at gic0: Generic Interrupt Controller, 256 sources (238 valid)
 armgic0: 16 Priorities, 224 SPIs, 6 PPIs, 8 SGIs
 syscon0 at simplebus3: System Controller Registers
 syscon1 at simplebus4: System Controller Registers
 fclock0 at simplebus0: 24000000 Hz fixed clock (xtal)
 syscon2 at simplebus3: System Controller Registers
 gtmr0 at simplebus0: Generic Timer
 gtmr0: interrupting on GIC irq 27
 armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
 timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
 gxbbclkc0 at syscon1: Meson GXBB clock controller
 mesonpinctrl0 at simplebus5: Meson GXBB periphs GPIO
 gpio0 at mesonpinctrl0: 119 pins
 mesonresets0 at simplebus6
 gxbbaoclkc0 at syscon0: Meson GX AO clock controller
 mesonpinctrl1 at simplebus3: Meson GXBB AO GPIO
 mesonpinctrl1: usb-hub-reset GPIOAO_4 set to output (high)
 gpio1 at mesonpinctrl1: 14 pins
 fregulator0 at simplebus0: VCC1V8
 fregulator1 at simplebus0: TFLASH_VDD
 gregulator0 at simplebus0: TF_IO
 fregulator2 at simplebus0: VCC3V3
 fregulator3 at simplebus0: HDMI_P5V0
 fregulator4 at simplebus0: USB_OTG_PWR
 fregulator5 at simplebus0: P5V0
 fregulator6 at simplebus0: VDDIO_AO3V3
 mesonuart0 at simplebus3: console
 mesonuart0: interrupting on GIC irq 225
 fregulator7 at simplebus0: VDDIO_AO1V8
 fregulator8 at simplebus0: DDR3_1V5
 mmcpwrseq0 at simplebus0: eMMC hardware reset provider
 mesonusbphy0 at simplebus1: USB2 PHY (host)
 /soc/bus@c8100000/sys-ctrl@0/power-controller-vpu at syscon0 not configured
 /scpi at simplebus0 not configured
 /soc/bus@c883c000/mailbox@404 at simplebus4 not configured
 /soc/sram@c8000000 at simplebus1 not configured
 /soc/hdmi-tx@c883a000 at simplebus1 not configured
 /soc/bus@c8838000/video-lut@48 at simplebus7 not configured
 awge0 at simplebus1: Gigabit Ethernet Controller
 awge0: interrupting on GIC irq 40
 awge0: Core version: 00001137
 awge0: Ethernet address 00:1e:06:33:12:a6
 awge0: HW feature mask: 100d4f37
 rgephy0 at awge0 phy 0: RTL8211F 1000BASE-T media interface
 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 /soc/bus@c1100000/interrupt-controller@9880 at simplebus6 not configured
 /soc/vpu@d0100000 at simplebus1 not configured
 dispcon0 at simplebus0: HDMI connector
 /efuse at simplebus0 not configured
 /soc/bus@c1100000/i2c@8500 at simplebus6 not configured
 /soc/bus@c1100000/adc@8680 at simplebus6 not configured
 /soc/bus@c8100000/cec@100 at simplebus3 not configured
 /soc/bus@c8100000/ir@580 at simplebus3 not configured
 /soc/video-codec@c8820000 at simplebus1 not configured
 mesonrng0 at simplebus5: Hardware RNG
 entropy: ready
 mesongxmmc0 at simplebus8: eMMC/SD/SDIO controller
 mesongxmmc0: interrupting on GIC irq 249
 mesongxmmc1 at simplebus8: eMMC/SD/SDIO controller
 mesongxmmc1: interrupting on GIC irq 250
 /soc/apb@d0000000/gpu@c0000 at simplebus8 not configured
 dwctwo0 at simplebus1: DesignWare USB2 OTG
 dwctwo0: interrupting on GIC irq 63
 armpmu0 at simplebus0: Performance Monitor Unit
 gpioleds0 at simplebus0: c2:blue:alive
 /soc/bus@c1100000/clock-measure@8758 at simplebus6 not configured
 /soc/bus@c1100000/watchdog@98d0 at simplebus6 not configured
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
 cpu2: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
 cpu2: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
 cpu2: L1 32KB/64B*256L*2W VIPT Instruction cache
 cpu2: L1 32KB/64B*128L*4W PIPT Data cache
 cpu2: L2 512KB/64B*512L*16W PIPT Unified cache
 cpu2: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
 cpu2: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
 cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
 cpu3: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
 cpu3: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
 cpu3: L1 32KB/64B*256L*2W VIPT Instruction cache
 cpu3: L1 32KB/64B*128L*4W PIPT Data cache
 cpu3: L2 512KB/64B*512L*16W PIPT Unified cache
 cpu3: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
 cpu3: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
 cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
 cpu1: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
 cpu1: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
 cpu1: L1 32KB/64B*256L*2W VIPT Instruction cache
 cpu1: L1 32KB/64B*128L*4W PIPT Data cache
 cpu1: L2 512KB/64B*512L*16W PIPT Unified cache
 cpu1: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
 cpu1: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
 sdmmc0 at mesongxmmc0
 sdmmc1 at mesongxmmc1
 dwctwo0: Core Release: 3.10a (snpsid=4f54310a)
 usb0 at dwctwo0: USB revision 2.0
 armpmu0: interrupting on GIC irq 169
 armpmu0: interrupting on GIC irq 170
 armpmu0: interrupting on GIC irq 185
 armpmu0: interrupting on GIC irq 186
 uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 IPsec: Initialized Security Association Processing.
 aes: ARM NEON vpaes
 chacha: ARM NEON ChaCha
 adiantum: self-test passed
 aes_ccm: self-test passed
 blake2s: self-test passed
 ld1 at sdmmc1: <0x15:0x0100:CGND3R:0x00:0xe6adfcf6:0x000>
 ld1: 59640 MB, 7603 cyl, 255 head, 63 sec, 512 bytes/sect x 122142720 sectors
 ld1: 8-bit width, HS200, 64 MB cache, 200.000 MHz
 uhub1 at uhub0 port 1: vendor 05e3 (0x05e3) USB2.0 Hub (0x0610), class 9/0, rev 2.00/32.98, addr 2
 uhub1: multiple transaction translators
 uhub1: 4 ports with 4 removable, self powered
 uhub0: autoconfiguration error: illegal enable change, port 1
 cgd: self-test aes-xts-256
 cgd: self-test aes-xts-512
 cgd: self-test aes-cbc-128
 cgd: self-test aes-cbc-256
 cgd: self-test 3des-cbc-192
 cgd: self-test blowfish-cbc-448
 cgd: self-test aes-cbc-128 (encblkno8)
 cgd: self-tests passed
 WARNING: 1 error while detecting hardware; check system log.
 boot device: ld1
 root on ld1a dumps on ld1b
 root file system type: ffs
 kern.module.path=/stand/evbarm/9.99.88/modules
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!

From: Markus Kilbinger <mk@kilbi.de>
To: gnats-bugs@netbsd.org
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-evbarm/56376: eMMC regression on odroid C2 (aarch64) NetBSD
 9 --> NetBSD HEAD (9.99.88)
Date: Thu, 26 Aug 2021 14:39:22 +0200

 Am Do., 26. Aug. 2021 um 09:30 Uhr schrieb Martin Husemann <martin@duskware.de>:
 >
 > The following reply was made to PR port-evbarm/56376; it has been noted by GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: port-evbarm/56376: eMMC regression on odroid C2 (aarch64) NetBSD
 >  9 --> NetBSD HEAD (9.99.88)
 > Date: Thu, 26 Aug 2021 09:27:00 +0200
 >
 >  Works for me.

 Thanks for your info!

 I just rechecked my emmc module with several odroid c2 U-Boot versions
 what made no difference (== problem remains).

 According to

   https://wiki.odroid.com/accessory/emmc/reference_chart

 there are several versions / revisions of these modules, in my case
 it's labelled

   eMMC v0.5

 like the here shown 128 gb model which has some documented changes /
 incompatibilities compared to older ones.

 What is your eMMC revision?

 -> Driver incompatibility in HEAD, surprisingly a regression compared
 to netbsd-9?

 Markus

From: Martin Husemann <martin@duskware.de>
To: Markus Kilbinger <mk@kilbi.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: port-evbarm/56376: eMMC regression on odroid C2 (aarch64) NetBSD
 9 --> NetBSD HEAD (9.99.88)
Date: Thu, 26 Aug 2021 14:52:52 +0200

 On Thu, Aug 26, 2021 at 02:39:22PM +0200, Markus Kilbinger wrote:
 > What is your eMMC revision?

 From that reference chart it should be a 64 GB eMMC v4.5 (green).

 Martin

From: Markus Kilbinger <mk@kilbi.de>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: port-evbarm/56376: eMMC regression on odroid C2 (aarch64) NetBSD
 9 --> NetBSD HEAD (9.99.88)
Date: Fri, 27 Aug 2021 10:47:25 +0200

 Am Do., 26. Aug. 2021 um 14:52 Uhr schrieb Martin Husemann <martin@duskware.de>:
 >
 > On Thu, Aug 26, 2021 at 02:39:22PM +0200, Markus Kilbinger wrote:
 > > What is your eMMC revision?
 >
 > From that reference chart it should be a 64 GB eMMC v4.5 (green).

 I've found  such an (older) emmc module in another odroid, too, and
 tested it in my odroid c2:

 -> Works for me (, too).

 Conclusion:
 Newer emmc modules (2 orange emmc modules, 64 gb and 128 gb models, in
 my case) seem to be problematic in an odroid c2 under -current (not
 netbsd-9!).

 -> Change / more specify the pr's title / synopsis?

 Document this problem else where (netbsd wiki)?

 Markus

From: Helmut Schlattl <helmut.schlattl@web.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-evbarm/56376
Date: Tue, 05 Oct 2021 18:03:57 +0200

 Is it possible that the same bug is causing problems using the orange
 emmc (32GB) module on an Odroid XU4?=C2=A0
 I'm always getting the error "sdmmc_mem_enable failed with error 60",
 i.e., the same as if no card is present.

 Actually I could not find a netbsd-version which would recognize the
 emmc card.

 Here the output when booting from the emmc card:

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

  NetBSD 9.99.83 (GENERIC) #0: Sun Jun  6 18:37:20 UTC 2021
 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
  total memory =3D 2026 MB
  avail memory =3D 1970 MB
  armfdt0 (root)
  simplebus0 at armfdt0: Hardkernel Odroid XU4
  simplebus1 at simplebus0
  cpus0 at simplebus0
  simplebus2 at simplebus0
  cpu0 at cpus0: Cortex-A7 r0p3 (Cortex V7A core)
  cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
  cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
  cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
  cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
  vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation,
 denormals
  cpufreqdt0 at cpu0
  cpu1 at cpus0
  cpufreqdt1 at cpu1
  cpu2 at cpus0
  cpufreqdt2 at cpu2
  cpu3 at cpus0
  cpufreqdt3 at cpu3
  cpu4 at cpus0
  cpufreqdt4 at cpu4
  simplebus3 at simplebus1
  gic0 at simplebus1: GIC
  armgic0 at gic0: Generic Interrupt Controller, 256 sources (247 valid)
  armgic0: 16 Priorities, 224 SPIs, 7 PPIs, 16 SGIs
  syscon0 at simplebus1: System Controller Registers
  syscon1 at simplebus1: System Controller Registers
  exyointr0 at simplebus1 @ 0x10440000: interrupt combiner
  syscon2 at simplebus1: System Controller Registers
  gtmr0 at simplebus0: Generic Timer
  gtmr0: interrupting on GIC irq 27
  armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
  exyopctl0 at simplebus1 pinctrl @ 0x14010000=20
  gpio0 at exyopctl0 (gpa0): 8 pins
  gpio1 at exyopctl0 (gpa1): 6 pins
  gpio2 at exyopctl0 (gpa2): 8 pins
  gpio3 at exyopctl0 (gpb0): 5 pins
  gpio4 at exyopctl0 (gpb1): 5 pins
  gpio5 at exyopctl0 (gpb2): 4 pins
  gpio6 at exyopctl0 (gpb3): 8 pins
  gpio7 at exyopctl0 (gpb4): 2 pins
  gpio8 at exyopctl0 (gph0): 4 pins
  exyopctl1 at simplebus1 pinctrl @ 0x13400000=20
  gpio9 at exyopctl1 (gpy7): 8 pins
  gpio10 at exyopctl1 (gpx0): 8 pins
  gpio11 at exyopctl1 (gpx1): 8 pins
  gpio12 at exyopctl1 (gpx2): 8 pins
  gpio13 at exyopctl1 (gpx3): 8 pins
  exyopctl2 at simplebus1 pinctrl @ 0x13410000=20
  gpio14 at exyopctl2 (gpc0): 8 pins
  gpio15 at exyopctl2 (gpc1): 8 pins
  gpio16 at exyopctl2 (gpc2): 7 pins
  gpio17 at exyopctl2 (gpc3): 4 pins
  gpio18 at exyopctl2 (gpc4): 2 pins
  gpio19 at exyopctl2 (gpd1): 8 pins
  gpio20 at exyopctl2 (gpy0): 6 pins
  gpio21 at exyopctl2 (gpy1): 4 pins
  gpio22 at exyopctl2 (gpy2): 6 pins
  gpio23 at exyopctl2 (gpy3): 8 pins
  gpio24 at exyopctl2 (gpy4): 8 pins
  gpio25 at exyopctl2 (gpy5): 8 pins
  gpio26 at exyopctl2 (gpy6): 8 pins
  exyopctl3 at simplebus1 pinctrl @ 0x03860000=20
  gpio27 at exyopctl3 (gpz): 7 pins
  mct0 at simplebus1: Exynos SoC multi core timer (64 bits)
  exyopctl4 at simplebus1 pinctrl @ 0x14000000=20
  gpio28 at exyopctl4 (gpe0): 8 pins
  gpio29 at exyopctl4 (gpe1): 2 pins
  gpio30 at exyopctl4 (gpf0): 6 pins
  gpio31 at exyopctl4 (gpf1): 8 pins
  gpio32 at exyopctl4 (gpg0): 8 pins
  gpio33 at exyopctl4 (gpg1): 8 pins
  gpio34 at exyopctl4 (gpg2): 2 pins
  gpio35 at exyopctl4 (gpj4): 4 pins
  exy5422clk0 at simplebus1: Exynos5422 Clock Controller
  expwm0 at simplebus1: PWM
  exuart0 at simplebus1
  exuart0: interrupting on GIC irq 83
  exuart1 at simplebus1
  exuart1: interrupting on GIC irq 84
  exuart2 at simplebus1: console
  exuart2: interrupting on GIC irq 85
  exuart3 at simplebus1
  exuart3: interrupting on GIC irq 86
  exusbdrdphy0 at simplebus1: USB DRD PHY
  exusbdrdphy1 at simplebus1: USB DRD PHY
  exusbphy0 at simplebus1: USB2 PHY
  /soc/amba/pdma@121a0000 at simplebus3 not configured
  /soc/amba/pdma@121b0000 at simplebus3 not configured
  /soc/i2c@12ca0000 at simplebus1 not configured
  /soc/power-domain@100440c0 at simplebus1 not configured
  /soc/sysmmu@14640000 at simplebus1 not configured
  /soc/sysmmu@14680000 at simplebus1 not configured
  /soc/dp-video-phy at simplebus1 not configured
  /soc/sysmmu@10a60000 at simplebus1 not configured
  /soc/sysmmu@10a70000 at simplebus1 not configured
  /soc/power-domain@100440e0 at simplebus1 not configured
  /soc/audss-clock-controller@3810000 at simplebus1 not configured
  /soc/power-domain@10044060 at simplebus1 not configured
  /soc/sysmmu@11200000 at simplebus1 not configured
  /soc/sysmmu@11210000 at simplebus1 not configured
  mmcpwrseq0 at simplebus0: eMMC hardware reset provider
  /soc/ppmu@10d00000 at simplebus1 not configured
  /soc/ppmu@10d10000 at simplebus1 not configured
  /soc/ppmu@10d60000 at simplebus1 not configured
  /soc/ppmu@10d70000 at simplebus1 not configured
  /lpddr3 at simplebus0 not configured
  /opp_table2 at simplebus0 not configured
  /soc/amba/adma@3880000 at simplebus3 not configured
  /soc/i2s@3830000 at simplebus1 not configured
  /soc/mipi-video-phy at simplebus1 not configured
  exyoi2c0 at simplebus1 @ 0x12c80000
  exyoi2c0: interrupting on GIC irq 90
  iic0 at exyoi2c0: I2C bus
  /soc/hdmi@14530000 at simplebus1 not configured
  /soc/sysmmu@14650000 at simplebus1 not configured
  /soc/sysmmu@11d40000 at simplebus1 not configured
  /soc/power-domain@10044000 at simplebus1 not configured
  /soc/sysmmu@13e80000 at simplebus1 not configured
  /soc/sysmmu@13e90000 at simplebus1 not configured
  /soc/power-domain@10044120 at simplebus1 not configured
  /soc/sysmmu@12880000 at simplebus1 not configured
  /soc/sysmmu@128c0000 at simplebus1 not configured
  /soc/sysmmu@12890000 at simplebus1 not configured
  /soc/sysmmu@128d0000 at simplebus1 not configured
  /soc/sysmmu@128a0000 at simplebus1 not configured
  /soc/sysmmu@128e0000 at simplebus1 not configured
  /soc/sysmmu@11f10000 at simplebus1 not configured
  /soc/sysmmu@11f20000 at simplebus1 not configured
  /soc/opp_table2 at simplebus1 not configured
  /soc/nocp@10ca1000 at simplebus1 not configured
  /soc/nocp@10ca1400 at simplebus1 not configured
  /soc/nocp@10ca1800 at simplebus1 not configured
  /soc/nocp@10ca1c00 at simplebus1 not configured
  /soc/opp_table3 at simplebus1 not configured
  /soc/bus_wcore at simplebus1 not configured
  /soc/opp_table4 at simplebus1 not configured
  /soc/opp_table5 at simplebus1 not configured
  /soc/opp_table6 at simplebus1 not configured
  /soc/opp_table7 at simplebus1 not configured
  /soc/opp_table8 at simplebus1 not configured
  /soc/opp_table9 at simplebus1 not configured
  /soc/opp_table10 at simplebus1 not configured
  /soc/opp_table11 at simplebus1 not configured
  /soc/opp_table12 at simplebus1 not configured
  /soc/opp_table13 at simplebus1 not configured
  /soc/opp_table14 at simplebus1 not configured
  /soc/opp_table15 at simplebus1 not configured
  /soc/opp_table16 at simplebus1 not configured
  /soc/tmu@10060000 at simplebus1 not configured
  pwmfan0 at simplebus0: PWM Fan (levels 0% 50% 66% 90%)
  /soc/tmu@10064000 at simplebus1 not configured
  /soc/tmu@10068000 at simplebus1 not configured
  /soc/tmu@1006c000 at simplebus1 not configured
  /soc/tmu@100a0000 at simplebus1 not configured
  /soc/cci@10d20000 at simplebus1 not configured
  /opp_table1 at simplebus0 not configured
  /opp_table0 at simplebus0 not configured
  /soc/memory-controller@12250000 at simplebus1 not configured
  /soc/rtc@101e0000 at simplebus1 not configured
  /soc/sss@10830000 at simplebus1 not configured
  /soc/rng@10830400 at simplebus1 not configured
  /soc/rng@10830600 at simplebus1 not configured
  /soc/g2d@10850000 at simplebus1 not configured
  /soc/watchdog@101d0000 at simplebus1 not configured
  /soc/adc@12d10000 at simplebus1 not configured
  xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
  xhci0: interrupting on GIC irq 104
  usb0 at xhci0: USB revision 3.0
  usb1 at xhci0: USB revision 2.0
  xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.00a)
  xhci1: interrupting on GIC irq 105
  usb2 at xhci1: USB revision 3.0
  usb3 at xhci1: USB revision 2.0
  ehci0 at simplebus1: Exynos EHCI
  ehci0: interrupting on GIC irq 103
  uhci probably not configured
  usb4 at ehci0: USB revision 2.0
  ohci0 at simplebus1: Exynos OHCI
  ohci0: interrupting on GIC irq 103
  ohci0: OHCI version 0.0
  ohci0: unsupported OHCI revision
  ohci0: init failed, error =3D -1
  /soc/codec@11000000 at simplebus1 not configured
  dwcmmc0 at simplebus1: MHS (100000000 Hz)
  dwcmmc0: interrupting on GIC irq 107
  dwcmmc1 at simplebus1: MHS (100000000 Hz)
  dwcmmc1: interrupting on GIC irq 109
  /soc/memory-controller@10c20000 at simplebus1 not configured
  /soc/power-domain@10044020 at simplebus1 not configured
  /soc/power-domain@10044080 at simplebus1 not configured
  /soc/amba/mdma@10800000 at simplebus3 not configured
  /soc/cec@101b0000 at simplebus1 not configured
  /soc/mixer@14450000 at simplebus1 not configured
  /soc/rotator@11c00000 at simplebus1 not configured
  /soc/video-scaler@13e00000 at simplebus1 not configured
  /soc/video-scaler@13e10000 at simplebus1 not configured
  /soc/scaler@12800000 at simplebus1 not configured
  /soc/scaler@12810000 at simplebus1 not configured
  /soc/scaler@12820000 at simplebus1 not configured
  /soc/jpeg@11f50000 at simplebus1 not configured
  /soc/jpeg@11f60000 at simplebus1 not configured
  /soc/system-controller@10040000/syscon-poweroff at syscon1 not
 configured
  /soc/system-controller@10040000/syscon-reboot at syscon1 not
 configured
  /soc/bus_noc at simplebus1 not configured
  /soc/bus_fsys_apb at simplebus1 not configured
  /soc/bus_fsys at simplebus1 not configured
  /soc/bus_fsys2 at simplebus1 not configured
  /soc/bus_mfc at simplebus1 not configured
  /soc/bus_gen at simplebus1 not configured
  /soc/bus_peri at simplebus1 not configured
  /soc/bus_g2d at simplebus1 not configured
  /soc/bus_g2d_acp at simplebus1 not configured
  /soc/bus_jpeg at simplebus1 not configured
  /soc/bus_jpeg_apb at simplebus1 not configured
  /soc/bus_disp1_fimd at simplebus1 not configured
  /soc/bus_disp1 at simplebus1 not configured
  /soc/bus_gscl_scaler at simplebus1 not configured
  /soc/bus_mscl at simplebus1 not configured
  /soc/power-domain@10045100 at simplebus1 not configured
  armpmu0 at simplebus0: Performance Monitor Unit
  /arm-a15-pmu at simplebus0 not configured
  /sound at simplebus0 not configured
  /firmware@2073000 at simplebus0 not configured
  gpiokeys0 at simplebus0: power key
  /pwmleds at simplebus0 not configured
  /soc/sram@2020000 at simplebus1 not configured
  entropy: WARNING: extracting entropy too early
  cpu2: Cortex-A15 r2p3 (Cortex V7A core)
  cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
  cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
  cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
  cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
  vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation,
 denormals
  cpu3: Cortex-A15 r2p3 (Cortex V7A core)
  cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
  cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
  cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
  cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
  vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation,
 denormals
  cpu1: Cortex-A15 r2p3 (Cortex V7A core)
  cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
  cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
  cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
  cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
  vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation,
 denormals
  cpu4: Cortex-A15 r2p3 (Cortex V7A core)
  cpu4: DC enabled IC enabled WB enabled LABT branch prediction enabled
  cpu4: 32KB/32B 2-way L1 VIPT Instruction cache
  cpu4: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
  cpu4: 512KB/64B 8-way write-through L2 PIPT Unified cache
  vfp4 at cpu4: NEON MPE (VFP 3.0+), rounding, NaN propagation,
 denormals
  cpufreqdt0: couldn't acquire cpu-supply
  cpufreqdt1: couldn't acquire cpu-supply
  cpufreqdt2: couldn't acquire clock
  cpufreqdt3: couldn't acquire clock
  cpufreqdt4: couldn't acquire clock
  uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev
 3.00/1.00, addr 0
  uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev
 2.00/1.00, addr 0
  uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev
 3.00/1.00, addr 0
  uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev
 2.00/1.00, addr 0
  sdmmc0 at dwcmmc0
  sdmmc1 at dwcmmc1
  armpmu0: interrupting on GIC irq 192
  armpmu0: interrupting on GIC irq 193
  armpmu0: interrupting on GIC irq 194
  armpmu0: interrupting on GIC irq 195
  armpmu0: failed to distribute interrupt 1: 2
  uhub4 at usb4: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev
 2.00/1.00, addr 1
 ice is not a hub
  sdmmc1: sdmmc_mem_enable failed with error 60
  sdmmc1: couldn't enable card: 60
  sdmmc0: sdmmc_mem_enable failed with error 60
  sdmmc0: couldn't enable card: 60
  uhub5 at uhub0 port 1: GenesysLogic (0x05e3) USB3.0 Hub (0x0616),
 class 9/0, rev 3.00/22.23, addr 1
  uhub3: port 1, device not enabled
  uhub6 at uhub1 port 1: GenesysLogic (0x05e3) USB2.0 Hub (0x0610),
 class 9/0, rev 2.10/22.23, addr 2
  uhub6: multiple transaction translators
  ure0 at uhub3 port 1
  ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 2.10/30.00,
 addr 1
  ure0: RTL8153 ver 5c20
  rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
  rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-
 FDX, auto
  ure0: Ethernet address 00:1e:06:37:d9:a7
  WARNING: 12 errors while detecting hardware; check system log.
  boot device: <unknown>
  root device:=20

From: Markus Kilbinger <mk@kilbi.de>
To: gnats-bugs@netbsd.org, Helmut Schlattl <helmut.schlattl@web.de>
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-evbarm/56376
Date: Tue, 5 Oct 2021 21:07:34 +0200

 Am Di., 5. Okt. 2021 um 19:50 Uhr schrieb Helmut Schlattl
 <helmut.schlattl@web.de>:
 > [...]
 >  Is it possible that the same bug is causing problems using the orange
 >  emmc (32GB) module on an Odroid XU4?=C2=A0

 Maybe / probably ...

 >  I'm always getting the error "sdmmc_mem_enable failed with error 60",
 >  i.e., the same as if no card is present.
   Actually I could not find a netbsd-version which would recognize the
 >  emmc card.

 Did you try netbsd-9 (kernel)?
 At least on my odroid-c2 it is capable to recognise / detect my orange
 64gb emmc.

 Markus

From: Helmut Schlattl <helmut.schlattl@web.de>
To: gnats-bugs@netbsd.org
Cc: mk@kilbi.de
Subject: Re: port-evbarm/56376
Date: Wed, 06 Oct 2021 19:06:36 +0200

 >=20
 > Did you try netbsd-9 (kernel)?
 > At least on my odroid-c2 it is capable to recognise / detect my
 > orange
 > 64gb emmc.

 The oldest hardkernel-image I testes was NetBSD-9-earmv7hf-
 202104301320Z-odroid-xu3. I also tested NetBSD-9-earmv7hf-
 202109250450Z-odroid-xu3, but none worked.

 Where can I get older hardkernel images? (As far as I understand  the
 generic earmv7hf NetBSD won't work, even with the sd_fusing stuff).

   Helmut



From: Markus Kilbinger <mk@kilbi.de>
To: gnats-bugs@netbsd.org
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-evbarm/56376
Date: Fri, 8 Oct 2021 08:24:13 +0200

 Am Mi., 6. Okt. 2021 um 19:50 Uhr schrieb Helmut Schlattl
 <helmut.schlattl@web.de>:
 > [...]
 >  The oldest hardkernel-image I testes was NetBSD-9-earmv7hf-
 >  202104301320Z-odroid-xu3. I also tested NetBSD-9-earmv7hf-
 >  202109250450Z-odroid-xu3, but none worked.
 >
 >  Where can I get older hardkernel images? (As far as I understand  the
 >  generic earmv7hf NetBSD won't work, even with the sd_fusing stuff).

 Habe you tried / looked at

   http://www.armbsd.org/arm/

 ?
 Worked at least on my odroid c2 ...

 Markus

From: Helmut Schlattl <helmut.schlattl@web.de>
To: gnats-bugs@netbsd.org
Cc: mk@kilbi.de
Subject: Re: port-evbarm/56376
Date: Sun, 10 Oct 2021 13:35:49 +0200

 Sorry, I wrongly denoted the armbsd-images as "hardkernel"-images.

 Yes, I was always using the images from http://www.armbsd.org/arm/.

 I tried today the latest NetBSD9 there, i.e., NetBSD-9-earmv7hf-
 202110090350Z-odroid-xu3.img, but still get the same error.

 Is there any possibility to get older images of
 http://www.armbsd.org/arm/ to check, whether this is a new bug, or a
 regression in some newer versions?

From: Helmut Schlattl <helmut.schlattl@web.de>
To: gnats-bugs@netbsd.org
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org,
        netbsd-bugs@netbsd.org
Subject: Re: port-evbarm/56376
Date: Wed, 13 Oct 2021 08:32:08 +0200

 (Forgot to add also other mail groups)

From: Helmut Schlattl <helmut.schlattl@web.de>
To: gnats-bugs@netbsd.org
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org,
        netbsd-bugs@netbsd.org, mk@kilbi.de
Subject: Re: port-evbarm/56376
Date: Mon, 18 Oct 2021 20:03:06 +0200

 I found older images on the ftp-mirrors (e.g., ftp.de.NetBSD.org)

 I tried
 /pub/NetBSD/NetBSD-9.1/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
 and=C2=A0
 /pub/NetBSD/NetBSD-9.0/evbarm-earmv7hf/binary/gzimg/armv7.img.gz

 After executing the sd_fusing-script both images start booting, but the
 9.0-release stalls at=20
 [   1.0000000] [ Kernel symbol table missing! ]

 The 9.1-release boots without problem, but does, like the newest
 armbsd-images, not recognize the emmc-card.

 So I presume that it is not a regression, but a bug in NetBSD.

 Any plans to support the orange emmc-cards on Odroid XU4?

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.