> Date: Wed, 14 Feb 2024 20:15:25 +0100
> From: Rob Schmersel <[email protected]>
> 
> On Tue, 13 Feb 2024 14:19:31 +0100
> Mark Kettenis <[email protected]> wrote:
> 
> > You can try to disable ohci by typing "boot -c" at the "boot>" prompt
> > and then "disable ohci" followed by "exit" at the "UKC>" prompt.
> > 
> > If that doesn't work, try disabling both "ohci" and "ehci".
> > 
> > Cheers,
> > 
> > Mark
> > 
> 
> I did that before I send the mail and it allows the system to boot, but
> I had to redo it today as I had not saved the dmesg :) Here it is now:

Thanks Rob!

> U-Boot 2024.01-rc3 (Feb 10 2024 - 02:29:31 -0700)
> 
> Model: Xunlong Orange Pi 5
> DRAM:  4 GiB (effective 3.7 GiB)
> Core:  315 devices, 29 uclasses, devicetree: separate
> MMC:   mmc@fe2c0000: 0
> Loading Environment from nowhere... OK
> In:    serial@feb50000
> Out:   serial@feb50000
> Err:   serial@feb50000
> Model: Xunlong Orange Pi 5
> Net:   eth0: ethernet@fe1c0000
> Hit any key to stop autoboot:  0 
> ** Booting bootflow '[email protected]_1' with efi
> No EFI system partition
> No EFI system partition
> Failed to persist EFI variables
> Booting /efi\boot\bootaa64.efi
> disks: sd0*
> >> OpenBSD/arm64 BOOTAA64 1.18
> boot> boot -c
> cannot open sd0a:/etc/random.seed: No such file or directory
> booting sd0a:/bsd: 3010708+1211524+12712736+636688
> [261438+91+699216+285720]=0x13eba38 Copyright (c) 1982, 1986, 1989,
> 1991, 1993 The Regents of the University of California.  All rights
> reserved. Copyright (c) 1995-2024 OpenBSD. All rights reserved.
> https://www.OpenBSD.org
> 
> OpenBSD 7.4-current (RAMDISK) #70: Sun Feb 11 00:41:15 MST 2024
>     [email protected]:/usr/src/sys/arch/arm64/compile/RAMDISK
> real mem  = 4022718464 (3836MB)
> avail mem = 3857891328 (3679MB)
> User Kernel Config
> UKC> disable ohci
>  90 ohci* disabled
> 147 ohci* disabled
> 279 ohci* disabled
> UKC> quit
> Continuing...
> random: boothowto does not indicate good seed
> mainbus0 at root: Xunlong Orange Pi 5
> psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
> efi0 at mainbus0: UEFI 2.10
> efi0: Das U-Boot rev 0x20240100
> smbios0 at efi0: unsupported SMBIOS entry point
> cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0
> cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1
> D-cache cpu0: 128KB 64b/line 4-way L2 cache
> cpu0: 4096KB 64b/line 16-way L3 cache
> cpu0:
> DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
> "optee" at mainbus0 not configured scmi0 at mainbus0: SCMI 2.0
> "gap2" at mainbus0 not configurat mainbus0 not configured
> syscon0 at mainbus0: "syscon"
> syscon1 at mainbus0: "syscon"
> syscon2 at mainbus0: "syscon"
> syscon3 at mainbus0: "syscon"
> syscon4 at mainbus0: "syscon"
> "usb2-phy" at syscon4 not configured
> syscon5 at mainbus0: "syscon"
> "usb2-phy" at syscon5 not configured
> syscon6 at mainbus0: "syscon"
> rkclock0 at mainbus0
> syscon7 at mainbus0: "power-management"
> "power-controller" at syscon7 not configured
> syscon8 at mainbus0: "qos"
> syscon9 at mainbus0: "qos"
> syscon10 at mainbus0: "qos"
> syscon11 at mainbus0: "qos"
> syscon12 at mainbus0: "qos"
> syscon13 at mainbus0: "qos"
> syscon14 at mainbus0: "qos"
> syscon15 at mainbus0: "qos"
> syscon16 at mainbus0: "qos"
> syscon17 at mainbus0: "qos"
> syscon18 us0: "qos"
> syscon20 at mainbus0: "qos"
> syscon21 at mainbus0: "qos"
> syscon22 at mainbus0: "qos"
> syscon23 at mainbus0: "qos"
> syscon24 at mainbus0: "qos"
> syscon25 at mainbus0: "qos"
> syscon26 at mainbus0: "qos"
> syscon27 at mainbus0: "qos"
> syscon28 at mainbus0: "qos"
> syscon29 at mainbus0: "qos"
> syscon30 at mainbus0: "qos"
> syscon31 at mainbus0: "qos"
> syscon32 at mainbus0: "qos"
> syscon33 at mainbus0: "qos"
> syscon34 at mainbus0: "qos"
> syscon35 at mainbus0: "qos"
> syscon36 at mainbus0: "qos"
> syscon37 at mainbus0: "qos"
> syscon38 at mainbus0: "qos"
> syscon39 at mainbus0: "qos"
> syscon40 at mainbus0: "qos"
> syscon41 at mainbus0: "qos"
> syscon42 at mainbus0: "qos"
> syscon43 at mainbus0: "qos"
> syscon44 at mainbus0: "qos"
> syscon45 at mainbus0: "qos"
> syscon46 at mainbus0: "qos"
> syscon47 at mainbus0: "qos"
> syscon48 at mainbus0: "qos"
> syscon49 at mainbus0: "qos"
> syscon50 at mainbus0: "qos"
> syscon51 at mainbus0: "qos"
> syscon52 at mainbus0: "qos"
> syscon53 at mainbus0: "qos"
> syscon54 at mainbus0: "qos"
> syscon55 at mainbus0: "qos"
> agintc0 at mainbus0 mbi shift 4:4 nirq 512 nredist 8:
> "interrupt-controller" agintcmsi0 at agin
> rkcomphy0 at mainbus0
> rkcomphy1 at mainbus0
> rkpinctrl0 at mainbus0: "pinctrl"
> rkgpio0 at rkpinctrl0
> rkgpio1 at rkpinctrl0
> rkgpio2 at rkpinctrl0
> rkgpio3 at rkpinctrl0
> rkgpio4 at rkpinctrl0
> syscon56 at mainbus0: "syscon"
> syscon57 at mainbus0: "syscon"
> syscon58 at mainbus0: "syscon"
> syscon59 at mainbus0: "syscon"
> syscon60 at mainbus0: "syscon"
> "fit-images" at mainbus0 not configured
> "firmware" at mainbus0 not configured
> "pmu-a55" at mainbus0 not configured
> "pmu-a76" at mainbus0 not configured
> "clock-0" at mainbus0 not configured
> agtimer0 at mainbus0: 24000 kHz
> "clock-1" at mainbus0 not configured
> "clock-2" at mainbus0 not configured
> "sram" at mainbus0 not configured
> ehci0 at mainbus0
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev
> 2.00/1.00 addr 1 "usb" at mainbus0 not configured
> ehci1 at mainbus0
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev
> 2.00/1.00 addr 1 "usb" at mainbus0 not configured
> "sram" at mainbus0 not configured
> rkiic0 at mainbus0
> iic0 at rkiic0
> "rockchip,rk8602" at iic0 addr 0x42 not configured
> "rockchip,rk8603" at iic0 addr 0x43 not configured
> dwpcie0 at mainbus0
> dwqe0 at mainbus0: unknown controller at 0xfe1c0000
> "spi" at mainbus0 not configured
> dwmmc0 at mainbus0: 49 MHz base clock
> sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma
> "dma-controller" at mainbus0 not configured
> "dma-controller" at mainbus0 not configured
> rkiic1 at mainbus0
> iic1 at rkiic1
> "rockchip,rk8602" at iic1 addr 0x42 not configured
> "timer" at mainbus0 not configured
> "watchdog" at mainbus0 not configured
> "spi" at mainbus0s0: dw16550, 64 byte fifo
> com0: console
> "tsadc" at mainbus0 not configured
> "adc" at mainbus0 not configured
> rkiic2 at mainbus0
> iic2 at rkiic2
> pcxrtc0 at iic2 addr 0x51: battery low
> "efuse" at mainbus0 not configured
> "dma-controller" at mainbus0 not configured
> "sram" at mainbus0 not configured
> "video-codec" at mainbus0 not configured
> "adc-keys" at mainbus0 not configured
> "leds" at mainbus0 not configured
> "vbus-typec-regulator" at mainbus0 not configured
> "vcc5v0-sys-regulator" at mainbus0 not configured
> "vcc-3v3-sd-s0-regulator" at mainbus0 not configured
> "vcc3v3-pcie20-regulator" at mainbus0 not configured
> "binman" at mainbus0 not configured
> "dmc" at mainbus0 not configured
> "syscon" at mainbus0 not configured
> "syscon" at mainbus0 not configured
> "syscon" at mainbus0 not configured
> pci0 at dwpcie0
> ppb0 at pci0 dev 0 function 0 "Rockchip RK3588" rev 0x00
> pci1 at ppb0 bus 65
> nvme0 at pci1 dev 0 function 0 unknown vendor 0x1d79 product 0x2263 rev
> 0x03: intx, NVMe 1.3 nvme0: TS512GMTE400S, firmware V0804S3, serial
> H722140026 scsibus0 at nvme0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <NVMe, TS512GMTE400S, V080>
> sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
> scsibus1 at sdmmc0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <SD/MMC, EB1QT, 0030> removable
> sd1: 30528MB, 512 bytes/sector, 62521344 sectors
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on rd0a swap on rd0b dump on rd0b
> WARNING: bad clock chip time
> WARNING: CHECK AND RESET THE DATE!
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
> 
> Welcome to the OpenBSD/arm64 7.4 installation program.
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell?
> 
> 
> 
> See a couple of things:
>  * only 1 CPU core is reported

That is to be expected in the RAMDISK kernel.  After installation all
8 cores should be available.

>  * network is not cofigured

Some code is missing.  I'll see if I can come up with a diff to test.

> Would playing around with one of the latest DTB (e.g. from armbian)
> help here?

Nope.  I think everything that doesn't work is because of missing bits
of code in OpenBSD.

Cheers,

Mark

Reply via email to