On Sat, 28 Oct 2023 16:44:06 -0600 jone...@hrothgars.net wrote: > I am trying to boot the OpenBSD installer on an Orangepi 5 board. I > know the board is yet not in the upstream u-boot and Linux, but I > thought I would try to build the u-boot following the Orangepi user > manual. I did test the u-boot by installing it on to a new SD using > the nand-data-install script outlined in the Orangepi user manual. > > To build the OpenBSD installation media I took the following steps > > Copy the minroot image from the 2023.10.27 snaphot > dd if=arm64_20231027_miniroot74.img of=/dev/rsd2c bs=1m > > After mounting the SD card to /mnt, I copied the device tree blob to > the SD card cp rk3588s-orangepi-5.dtb /mnt/rockchip/. > > Copy the u-boot bits using dd as described in the OpenBSD > INSTALL.arm64 file. dd if=idbloader.img of=/dev/sd2c seek=64 > dd if=u-boot.itb of=/dev/sd2c seek=16384 > > The Orangepi5 board attempts to book from the SD card but reports a > GPT errors. I also tried installing the u-boot bits using the > nand-sata-install script outlined in the Orangepi user manual with > the same result. Console output is listed below. > > I am sure I am missing something obvious. Thanks in advance for any > suggestions. > <snip some u-boot output> >
I'm trying to do the same, but the step taken to handle u-boot are different, but taken from the rockchip instructions in the INSTALL.arm64 file :) # pkg_add u-boot-rk3588 # dd if=miniroot74.img of=/dev/rsdXc bs=1m # dd if=/usr/local/share/u-boot/orangepi-5-rk3588s/u-boot-rockchip.bin of=/dev/sd1c seek=64 After this I tried to boot the orangpi-5, but it hangs while trying to start OHCI driver 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 'mmc@fe2c0000.bootdev.part_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> 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 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK real mem = 4022718464 (3836MB) avail mem = 3857891328 (3679MB) 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 configured "gap1" at 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 at mainbus0: "qos" syscon19 at mainbus0: "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 m 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 agintc0 agintcmsi1 at agintc0 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 ohci0 at mainbus0�� [EOT] Looks like quite some thing are not properly configured yet. BR/Rob