port-arm/60401: usb boot RPi 3B+ NetBSD 11.0_RC5 fails

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
>Number:         60401
>Category:       port-arm
>Synopsis:       usb boot RPi 3B+ NetBSD 11.0_RC5 fails - cannot boot from usb stick
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 04 03:55:00 +0000 2026
>Originator:     [email protected]
>Release:        NetBSD 11.0_RC5
>Organization:
	
>Environment:
	
	
System: NetBSD SS.Culver.Net 11.0_RC5 NetBSD 11.0_RC5 (GENERIC) #0: Tue Jun 16 15:48:07 UTC 2026 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
I wrote the USB stick from amd64 system; this output is from the RPi 3B+


        Booting


[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     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 11.0_RC5 (GENERIC64) #0: Tue Jun 16 15:48:07 UTC 2026
[   1.0000000]  [email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 930 MB
[   1.0000000] avail memory = 895 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Raspberry Pi 3 Model B Plus Rev 1.4
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus3 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0, numa 0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
[   1.0000000] cpu1: package 0, core 1, smt 0, numa 0
[   1.0000000] cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
[   1.0000000] cpu2: package 0, core 2, smt 0, numa 0
[   1.0000000] cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
[   1.0000000] cpu3: package 0, core 3, smt 0, numa 0
[   1.0000000] bcmicu0 at simplebus1
[   1.0000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)
[   1.0000000] bcmcprman0 at simplebus1: BCM283x Clock Controller
[   1.0000000] syscon0 at simplebus1: couldn't get registers
[   1.0000000] bcmaux0 at simplebus1
[   1.0000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)
[   1.0000000] bcmicu1 at simplebus1: Multiprocessor
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on local_intc irq 3
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (19200 kHz, virtual)
[   1.0000040] bcmgpio0 at simplebus1: GPIO controller 2835
[   1.0000040] bcmgpio0: pins 0..31 interrupting on icu irq 49
[   1.0000040] bcmgpio0: pins 32..54 interrupting on icu irq 50
[   1.0000040] gpio0 at bcmgpio0: 54 pins
[   1.0000040] plcom0 at simplebus1: ARM PL011 UART
[   1.0000040] plcom0: txfifo 16 bytes
[   1.0000040] plcom0: interrupting on icu irq 57
[   1.0000040] com0 at simplebus1: BCM AUX UART, 1-byte FIFO
[   1.0000040] com0: console
[   1.0000040] com0: interrupting on icu irq 29, clock 800000000 Hz
[   1.0000040] mmcpwrseq0 at simplebus0: couldn't get reset GPIOs
[   1.0000040] /soc/thermal@7e212000 at simplebus1 not configured
[   1.0000040] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10 DMA11
[   1.0000040] /soc/power at simplebus1 not configured
[   1.0000040] /phy at simplebus0 not configured
[   1.0000040] bsciic0 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic0: interrupting on icu irq 53
[   1.0000040] iic0 at bsciic0: I2C bus
[   1.0000040] bcmmbox0 at simplebus1: VC mailbox
[   1.0000040] bcmmbox0: interrupting on icu irq 65
[   1.0000040] vcmbox0 at bcmmbox0
[   1.0000040] /soc/timer@7e003000 at simplebus1 not configured
[   1.0000040] /soc/txp@7e004000 at simplebus1 not configured
[   1.0000040] bcmsdhost0 at simplebus1: SD HOST controller
[   1.0000040] bcmsdhost0: interrupting on icu irq 56
[   1.0000040] bsciic1 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic1: interrupting on icu irq 53
[   1.0000040] iic1 at bsciic1: I2C bus
[   1.0000040] /soc/pwm@7e20c000 at simplebus1 not configured
[   1.0000040] sdhc0 at simplebus1: SDHC controller
[   1.0000040] sdhc0: interrupting on icu irq 62
[   1.0000040] bsciic2 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic2: interrupting on icu irq 53
[   1.0000040] iic2 at bsciic2: I2C bus
[   1.0000040] dwctwo0 at simplebus1: USB controller
[   1.0000040] dwctwo0: interrupting on icu irq 9
[   1.0000040] bcmpmwdog0 at simplebus1: Power management, Reset and Watchdog controller
[   1.0000040] /soc/vec@7e806000 at simplebus1 not configured
[   1.0000040] /soc/hdmi@7e902000 at simplebus1 not configured
[   1.0000040] /soc/gpu at simplebus1 not configured
[   1.0000040] genfb0 at simplebus1
[   1.0000040] wsdisplay0 at genfb0 kbdmux 1
[   1.0000040] vchiq0 at simplebus1: BCM2835 VCHIQ
[   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000040] gpioleds0 at simplebus0: ACT
[   1.0000040] bcmrng0 at simplebus1: RNG
[   1.0000040] entropy: ready
[   1.4453592] sdmmc0 at bcmsdhost0
[   1.4453592] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[   1.4553608] sdmmc1 at sdhc0 slot 0
[   1.4753623] usb0 at dwctwo0: USB revision 2.0
[   1.4853639] armpmu0: interrupting on local_intc irq 9
[   1.4953647] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.5753697] sdmmc0: direct I/O error 5, r=6 p=0xffffc000b14fce5c write
[   1.5853707] sdmmc0: couldn't enable c853784] (manufacturer 0x2d0, product 0xa9a6, standard function interface code 0x2) at sdmmc1 function 3 not configured
[   1.6953788] swwdog0: software watchdog initialized
[   1.6953788] WARNING: 3 errors while detecting hardware; check system log.
[   1.7053798] boot device: <unknown>
[   1.7053798] unknown device major 0xffffffffffffffff
[   2.7054456] unknown device major 0xffffffffffffffff
[   3.7055112] unknown device major 0xffffffffffffffff
[   4.7055772] unknown device major 0xffffffffffffffff
[   5.7056424] unknown device major 0xffffffffffffffff
[   6.7057071] unknown device major 0xffffffffffffffff
[   7.7057727] unknown device major 0xffffffffffffffff
[   8.7058384] unknown device major 0xffffffffffffffff
[   9.7059045] unknown device major 0xffffffffffffffff
[  10.7059702] unknown device major 0xffffffffffffffff
[  11.7060366] unknown device major 0xffffffffffffffff
[  12.7061022] unknown device major 0xffffffffffffffff
[  13.7061684] unknown device major 0xffffffffffffffff
[  14.7062348] unknown device major 0xffffffffffffffff
[  15.7063005] unknown device major 0xffffffffffffffff
[  16.7063667] unknown device major 0xffffffffffffffff
[  17.7064323] unknown device major 0xffffffffffffffff
[  18.7064980] unknown device major 0xffffffffffffffff
[  19.7065637] unknown device major 0xffffffffffffffff
[  20.7066296] unknown device major 0xffffffffffffffff
[  21.7066954] unknown device major 0xffffffffffffffff
[  21.7166960] root device: ?
[  34.3075282] use one of: bwfm0 ddb halt reboot
[  34.3175289] root device:

>How-To-Repeat:
        put USB stick into NetBSD computer; it shows up on my amd64 machine as sd4

        # dd if=/tmp/arm64.img of=/dev/rsd4  bs=1m conv=sync progress=1
         or
        # dd if=/tmp/arm64mbr.img of=/dev/rsd4  bs=1m conv=sync progress=1

         add "dtoverlay=disable-bt" to msdos file config.txt
         change cmdline.txt to be "root=NAME=netbsd-root"  -or-  "root=sd0"
         Boot on Raspberry Pi 3 Model B Plus Rev 1.4 with 1G memory
         Console TTY output is as above.
>Fix:
	

>Unformatted:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.