From: Kevin Lo Subject: Re: Update RK3588-specific U-Boot to 2025.07 To: Patrick Wildt Cc: ports@openbsd.org, kettenis@openbsd.org Date: Mon, 4 Aug 2025 11:35:35 +0800 On Fri, Aug 01, 2025 at 07:27:47PM +0200, Patrick Wildt wrote: > > Hi, > > this updates the RK3588-specific U-Boot to 2025.07. I'm successfully > running it on my NanoPi R6C. Please give it a try on some of your > RK3588 boxes. > > The patch updates are fairly simple: > > * R6S (and R6C) baudrate are now in a common DTSI. > * Orange Pi 5 (and Plus) baudrate are now in a common DTSI. Works fine on my Orange Pi 5 Plus, dmesg below. ok kevlo@ OpenBSD 7.7-current (GENERIC.MP) #41: Fri Aug 1 14:59:06 MDT 2025 deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 8586092544 (8188MB) avail mem = 8235999232 (7854MB) random: good seed from bootblocks mainbus0 at root: Xunlong Orange Pi 5 Plus psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND efi0 at mainbus0: UEFI 2.11 efi0: Das U-Boot rev 0x20250700 smbios0 at efi0: SMBIOS 3.7.0 smbios0: vendor U-Boot version "2025.07" date 07/01/2025 smbios0: xunlong Xunlong Orange Pi 5 Plus 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,RAS,AdvSIMD+HP,FP+HP,SSBS cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0 cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu1: 128KB 64b/line 4-way L2 cache cpu1: 4096KB 64b/line 16-way L3 cache cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0 cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu2: 128KB 64b/line 4-way L2 cache cpu2: 4096KB 64b/line 16-way L3 cache cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0 cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu3: 128KB 64b/line 4-way L2 cache cpu3: 4096KB 64b/line 16-way L3 cache cpu4 at mainbus0 mpidr 400: ARM Cortex-A76 r4p0 cpu4: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache cpu4: 512KB 64b/line 8-way L2 cache cpu4: 4096KB 64b/line 16-way L3 cache cpu4: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,CSV3,CSV2,RAS,AdvSIMD+HP,FP+HP,SSBS cpu5 at mainbus0 mpidr 500: ARM Cortex-A76 r4p0 cpu5: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache cpu5: 512KB 64b/line 8-way L2 cache cpu5: 4096KB 64b/line 16-way L3 cache cpu6 at mainbus0 mpidr 600: ARM Cortex-A76 r4p0 cpu6: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache cpu6: 512KB 64b/line 8-way L2 cache cpu6: 4096KB 64b/line 16-way L3 cache cpu7 at mainbus0 mpidr 700: ARM Cortex-A76 r4p0 cpu7: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache cpu7: 512KB 64b/line 8-way L2 cache cpu7: 4096KB 64b/line 16-way L3 cache "optee" at mainbus0 not configured scmi0 at mainbus0: SCMI 2.0 apm0 at mainbus0 syscon0 at mainbus0: "syscon" syscon1 at mainbus0: "syscon" syscon2 at mainbus0: "syscon" syscon3 at mainbus0: "syscon" syscon4 at mainbus0: "syscon" syscon5 at mainbus0: "syscon" syscon6 at mainbus0: "syscon" syscon7 at mainbus0: "syscon" syscon8 at mainbus0: "syscon" syscon9 at mainbus0: "syscon" syscon10 at mainbus0: "syscon" rkusbphy0 at syscon10: phy 0 syscon11 at mainbus0: "syscon" rkusbphy1 at syscon11: phy 2 syscon12 at mainbus0: "syscon" rkusbphy2 at syscon12: phy 3 syscon13 at mainbus0: "syscon" syscon14 at mainbus0: "syscon" rkclock0 at mainbus0 CRU_GATE_CON20: 0x0000aa05 CRU_GATE_CON21: 0x000000a0 CRU_GATE_CON22: 0x00000263 CRU_GATE_CON23: 0x0000aa05 CRU_GATE_CON24: 0x000000a0 CRU_GATE_CON25: 0x00000263 syscon15 at mainbus0: "power-management" "power-controller" at syscon15 not configured 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 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" syscon56 at mainbus0: "qos" syscon57 at mainbus0: "qos" syscon58 at mainbus0: "qos" syscon59 at mainbus0: "qos" syscon60 at mainbus0: "qos" syscon61 at mainbus0: "qos" syscon62 at mainbus0: "qos" syscon63 at mainbus0: "qos" agintc0 at mainbus0 mbi shift 4:4 nirq 512 nredist 8 ipi 0: "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 syscon64 at mainbus0: "syscon" syscon65 at mainbus0: "syscon" syscon66 at mainbus0: "syscon" syscon67 at mainbus0: "syscon" rkusbphy3 at syscon67: phy 1 rkcomphy2 at mainbus0 rkpciephy0 at mainbus0 "fit-images" at mainbus0 not configured "l3-cache" at mainbus0 not configured rkdrm0 at mainbus0 drm0 at rkdrm0 "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 "gpu" at mainbus0 not configured xhci0 at mainbus0, xHCI 1.10 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 ehci0 at mainbus0 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 ohci0 at mainbus0: version 1.0 ehci1 at mainbus0 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at mainbus0: version 1.0 "iommu" at mainbus0 not configured "sram" at mainbus0 not configured rkiic0 at mainbus0 iic0 at rkiic0 fanpwr0 at iic0 addr 0x42: RK8602, 0.80 VDC fanpwr1 at iic0 addr 0x43: RK8602, 0.80 VDC rkpwm0 at mainbus0 rkpwm1 at mainbus0 "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "rga" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "video-codec" at mainbus0 not configured "vop" at mainbus0 not configured "iommu" at mainbus0 not configured "hdmi" at mainbus0 not configured "qos" at mainbus0 not configured "qos" at mainbus0 not configured "dfi" at mainbus0 not configured dwpcie0 at mainbus0 dwpcie1 at mainbus0 "spi" at mainbus0 not configured dwmmc0 at mainbus0: 49 MHz base clock sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma dwmshc0 at mainbus0 dwmshc0: SDHC 4.20, 200 MHz base clock sdmmc1 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma "rng" at mainbus0 not configured "i2s" at mainbus0 not configured "i2s" at mainbus0 not configured "interrupt-controller" at mainbus0 not configured "dma-controller" at mainbus0 not configured "dma-controller" at mainbus0 not configured "timer" at mainbus0 not configured "watchdog" at mainbus0 not configured rkspi0 at mainbus0 rkpmic0 at rkspi0: RK806 com0 at mainbus0: dw16550, 64 byte fifo com0: console com1 at mainbus0: dw16550, 64 byte fifo rktemp0 at mainbus0 "adc" at mainbus0 not configured rkiic1 at mainbus0 iic1 at rkiic1 pcxrtc0 at iic1 addr 0x51: battery ok fusbtc0 at iic1 addr 0x22 rkiic2 at mainbus0 iic2 at rkiic2 "everest,es8388" at iic2 addr 0x11 not configured "efuse" at mainbus0 not configured "dma-controller" at mainbus0 not configured "phy" at mainbus0 not configured "phy" at mainbus0 not configured "phy" at mainbus0 not configured "phy" at mainbus0 not configured "sram" at mainbus0 not configured "pinctrl" at mainbus0 not configured xhci1 at mainbus0, xHCI 1.10 usb3 at xhci1: USB revision 3.0 uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured dwpcie2 at mainbus0 dwpcie3 at mainbus0 "phy" at mainbus0 not configured "phy" at mainbus0 not configured "phy" at mainbus0 not configured "opp-table-cluster0" at mainbus0 not configured "opp-table-cluster1" at mainbus0 not configured "opp-table-cluster2" at mainbus0 not configured "opp-table" at mainbus0 not configured "adc-keys-0" at mainbus0 not configured "adc-keys-1" at mainbus0 not configured simpleamp0 at mainbus0 simpleamp1 at mainbus0 gpioleds0 at mainbus0: no LEDs pwmfan0 at mainbus0 pwmleds0 at mainbus0 "rfkill" at mainbus0 not configured simpleaudio0 at mainbus0 "regulator-vcc3v3-pcie30" at mainbus0 not configured "regulator-vcc3v3-pcie-eth" at mainbus0 not configured "regulator-vcc3v3-wf" at mainbus0 not configured "regulator-vcc5v0-sys" at mainbus0 not configured "regulator-vcc5v0-usb20" at mainbus0 not configured "hdmi0-con" at mainbus0 not configured "ir-receiver" at mainbus0 not configured "regulator-vbus-typec" at mainbus0 not configured "binman" at mainbus0 not configured "dmc" at mainbus0 not configured usb4 at ohci0: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci1: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 pci0 at dwpcie0 ppb0 at pci0 dev 0 function 0 "Rockchip RK3588" rev 0x00 pci1 at ppb0 bus 49 rge0 at pci1 dev 0 function 0 "Realtek RTL8125" rev 0x05: msix, address c0:74:2b:xx:xx:xx pci2 at dwpcie1 ppb1 at pci2 dev 0 function 0 "Rockchip RK3588" rev 0x00 pci3 at ppb1 bus 65 rge1 at pci3 dev 0 function 0 "Realtek RTL8125" rev 0x05: msix, address c0:74:2b:xx:xx:xx pci4 at dwpcie2 ppb2 at pci4 dev 0 function 0 "Rockchip RK3588" rev 0x00 pci5 at ppb2 bus 1 nvme0 at pci5 dev 0 function 0 "Phison PS5021" rev 0x01: msix, NVMe 1.4 nvme0: TEAM TM8FPK500G, firmware ELFMB0.6, serial TPBF2210110040500017 scsibus0 at nvme0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: sd0: 476940MB, 512 bytes/sector, 976773168 sectors dwpcie3: can't initialize hardware scsibus1 at sdmmc0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: removable sd1: 15193MB, 512 bytes/sector, 31116288 sectors sdmmc1: can't enable card uhub3: port 1 reset failed vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (50ac1f6dac658494.a) swap on sd0b dump on sd0b rkdrm0: no display interface ports configured