> Date: Tue, 27 Feb 2024 20:52:58 +0100 > From: Rob Schmersel <[email protected]> > > On Wed, 14 Feb 2024 23:29:26 +0100 > Mark Kettenis <[email protected]> wrote: > > > > 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! > > > <snip old dmesg> > > > * 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 > > With the latest changes to the dwq driver the network is > now configured : > (see: https://marc.info/?l=openbsd-cvs&m=170897377430108&w=2) > ... (complete dmesg added to the end of the mail) ... > dwqe0 at mainbus0 gmac 1: rev 0x51, address ff:ff:ff:ff:ff:ff > ytphy0 at dwqe0 phy 1: YT8531 10/100/1000 PHY, rev. 11 > ... > > And working: > > opi# ifconfig dwqe0 > dwqe0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> > mtu 1500 > lladdr fe:e1:ba:d0:d2:3c > llprio 3 > groups: dhcp egress > media: Ethernet autoselect (1000baseT full-duplex) > status: active > inet 192.168.11.24 netmask 0xffffff00 broadcast 192.168.11.255 > opi# ping google.com > PING google.com (142.250.74.78): 56 data bytes > 64 bytes from 142.250.74.78: icmp_seq=0 ttl=55 time=1.672 ms > > > > I can install to a connected NVME SSD, but am not able to boot from > that as the old u-boot I used to boot armbian from NVME is still in the > SPI flash. Looking now how to put the OpenBSD supplied one in the > flash; any clue if I can do this OpenBSD?
Not yet. The packaged U-Boot doesn't have support to boot from SPI yet. This is coming with U-Boot 2024.04, so somewhere in April hopefully. You won't be able to flash it from OpenBSD, but you should be able to do it in U-Boot with some simple commands. Meanwhile, you should be able to boot from NVMe by using a micro-SD card with only U-Boot on it. Take a fresh micro-SD card, or erase the oneq that you're already using. Something like # dd if=/dev/zero of=/dev/sdXc bs=1m count=32 should do the job. The just do # dd if=u-boot-rockchip.bin of=/dev/sdXc seek=64 and stick the card in the micro-SD slot. > PS for completeness sake here is the complete dmesg: > # dmesg > OpenBSD 7.5-beta (RAMDISK) #97: Tue Feb 27 05:03:40 MST 2024 > [email protected]:/usr/src/sys/arch/arm64/compile/RAMDISK > real mem = 4022718464 (3836MB) > avail mem = 3858149376 (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 configured > "gap1" at mainbus0 not configured > syscon0 at mainbyscon2 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 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 scon40 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"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 gmac 1: rev 0x51, address ff:ff:ff:ff:ff:ff > ytphy0 at dwqe0 phy 1: YT8531 10/100/1000 PHY, rev. 11 > "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 mainbus0 not configured > com0 at mainbus0: dw16550, 64 byte fifo > com0: console > "tsadc" at mainbus0 not configured > "adc" at mainbus0 not configured > rkiic2 at mainbus0 > iic2 at rkiic2 > pcxrtcattery low > "efuse" at mainbus0 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: msix, 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 softraidon rd0b dump on rd0b > WARNING: bad clock chip time > WARNING: CHECK AND RESET THE DATE! > > > > >
