Neither RAMDISK nor GENERIC.MP from snapshots boot on my Raspberry 4
Model B unless I disable xhci(4).
I flashed miniroot70.img to an SD card, booted from it, did a default
install to it and booted the new system from it.
Both times, `boot /bsd -c' and "disable xhci" were needed to bypass the
hard hang; after that, the system is fully functional.
Same story with 7.0 release.
No USB device is connected.
I made no modification to u-boot, neither did I use the EDK2 based UEFI
firmware.
FWIW, this happens with stock EEPROM firwmare dating a few months back
as well as the latest version obtained via `rpi-eeprom-update -a -d' on
Raspberry OS Lite.
Is this a known error?
Something missing in u-boot?
U-Boot 2021.10 (Oct 23 2021 - 05:09:34 -0600)
DRAM: 7.9 GiB
RPI 4 Model B (0xd03114)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In:
serial
Out: vidconsole
Err: vidconsole
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk [email protected]...
Disk [email protected] not ready
Scanning disk [email protected]...
Found 3 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
170790 bytes read in 34 ms (4.8 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Booting /efi\boot\bootaa64.efi
disks: sd0*
>> OpenBSD/arm64 BOOTAA64 1.6
boot> b /bsd -c
booting sd0a:/bsd: 9107364+1900048+573712+827488
[667656+109+1098336+640675]=0xfa1eb0
type 0x0 pa 0x0 va 0x0 pages 0x1 attr 0x8
type 0x7 pa 0x1000 va 0x1000 pages 0x1ff attr 0x8
type 0x2 pa 0x200000 va 0x200000 pages 0x4000 attr 0x8
type 0x7 pa 0x4200000 va 0x4200000 pages 0x3cf0 attr 0x8
type 0x9 pa 0x7ef0000 va 0x7ef0000 pages 0x20 attr 0x8
type 0x7 pa 0x7f10000 va 0x7f10000 pages 0x31ee2 attr 0x8
type 0x2 pa 0x39df2000 va 0x39df2000 pages 0xe attr 0x8
type 0x4 pa 0x39e00000 va 0x39e00000 pages 0x1 attr 0x8
type 0x7 pa 0x39e01000 va 0x39e01000 pages 0x1 attr 0x8
type 0x2 pa 0x39e02000 va 0x39e02000 pages 0x100 attr 0x8
type 0x1 pa 0x39f02000 va 0x39f02000 pages 0x2a attr 0x8
type 0x4 pa 0x39f2c000 va 0x39f2c000 pages 0x8 attr 0x8
type 0x6 pa 0x39f34000 va 0x1b73020000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0x39f35000 va 0x39f35000 pages 0x3 attr 0x8
type 0x6 pa 0x39f38000 va 0x1b73024000 pages 0x3 attr 0x8000000000000008
type 0x4 pa 0x39f3b000 va 0x39f3b000 pages 0x1 attr 0x8
type 0x6 pa 0x39f3c000 va 0x1b73028000 pages 0x4 attr 0x8000000000000008
type 0x4 pa 0x39f40000 va 0x39f40000 pages 0x8 attr 0x8
type 0x2 pa 0x39f48000 va 0x39f48000 pages 0x1408 attr 0x8
type 0x5 pa 0x3b350000 va 0x1b7443c000 pages 0x10 attr 0x8000000000000008
type 0x2 pa 0x3b360000 va 0x3b360000 pages 0xa0 attr 0x8
type 0x0 pa 0x3ef5c000 va 0x3ef5c000 pages 0x1 attr 0x8
type 0x4 pa 0x40000000 va 0x40000000 pages 0xbc000 attr 0x8
type 0xb pa 0xfe100000 va 0x1b7444c000 pages 0x1 attr 0x8000000000000000
type 0x4 pa 0x100000000 va 0x100000000 pages 0x100000 attr 0x8
[ using 2407744 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2021 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.0-current (GENERIC.MP) #1369: Sat Oct 30 22:11:08 MDT 2021
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem = 8419872768 (8029MB)
avail mem = 8128700416 (7752MB)
User Kernel Config
UKC> enable xhci
156 xhci* enabled
219 xhci* enabled
340 xhci* enabled
UKC> exit
Continuing...
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu1: CRC32,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu2: CRC32,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
cpu3: CRC32,ASID16
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20211000
apm0 at mainbus0
simplefb0 at mainbus0: 1824x984, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
ampintc0 at simplebus0 nirq 256, ncpu 4 ipi: 0, 1: "interrupt-controller"
bcmtmon0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9
"timer" at simplebus0 not configured
pluart0 at simplebus0: console
"local_intc" at simplebus0 not configured
bcmdog0 at simplebus0
bcmirng0 at simplebus0
"firmware" at simplebus0 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.0, 250 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
"vcsm" at simplebus0 not configured
"clocks" at mainbus0 not configured
"phy" at mainbus0 not configured
"clk-27M" at mainbus0 not configured
"clk-108M" at mainbus0 not configured
simplebus1 at mainbus0: "emmc2bus"
sdhc1 at simplebus1
sdhc1: SDHC 3.0, 100 MHz base clock
sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
"arm-pmu" at mainbus0 not configured
agtimer0 at mainbus0: 54000 kHz
simplebus2 at mainbus0: "scb"
bcmpcie0 at simplebus2
pci0 at bcmpcie0
ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00
addr 1
bse0 at simplebus2: address e4:5f:01:0e:6c:c6
brgphy0 at bse0 phy 1: BCM54210E 10/100/1000baseT PHY, rev. 2
"dma" at simplebus2 not configured
"hevc-decoder" at simplebus2 not configured
"rpivid-local-intc" at simplebus2 not configured
"h264-decoder" at simplebus2 not configured
"vp9-decoder" at simplebus2 not configured
gpioleds0 at mainbus0: no LEDs
"sd_io_1v8_reg" at mainbus0 not configured
"sd_vcc_reg" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
simplebus3 at mainbus0: "v3dbus"
"bootloader" at mainbus0 not configured
xhci0: host system error