RK3588 - QuartzPro64
scon39 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:3 nirq 512 nredist 8 ipi: 0, 1, 2: "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" rkcomphy2 at mainbus0 rkpciephy0 at mainbus0 "fit-images" 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 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 "video-codec" at mainbus0 not configured "qos" at mainbus0 not configured "qos" at mainbus0 not configured "dfi" at mainbus0 not configured dwpcie0 at mainbus0 ahci0 at mainbus0: AHCI 1.3 scsibus0 at ahci0: 32 targets 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 "i2s" at mainbus0 not configured "interrupt-controller" at mainbus0 not configured "dma-controller" at mainbus0 not configured "dma-controller" at mainbus0 not configured rkiic0 at mainbus0 iic0 at rkiic0 pcxrtc0 at iic0 addr 0x51: battery ok "timer" at mainbus0 not configured "watchdog" at mainbus0 not configured rkspi0 at mainbus0 rkpmic0 at rkspi0: RK806 rkpmic1 at rkspi0: RK806 com0 at mainbus0: dw16550, 64 byte fifo com0: console rktemp0 at mainbus0 "adc" at mainbus0 not configured rkiic1 at mainbus0 iic1 at rkiic1 "everest,es8388" at iic1 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 "sram" at mainbus0 not configured "pinctrl" at mainbus0 not configured "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured "syscon" at mainbus0 not configured dwpcie1 at mainbus0 dwpcie2 at mainbus0 dwqe0 at mainbus0 gmac 0: rev 0x51, address xx:xx:xx:xx:xx:xx rgephy0 at dwqe0 phy 1: RTL8169S/8110S/8211, rev. 6 "phy" at mainbus0 not configured "phy" 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 simpleaudio0 at mainbus0 "vcc12v-dcin-regulator" at mainbus0 not configured "vcc3v3-bt-regulator" at mainbus0 not configured "vcc3v3-pcie30-regulator" at mainbus0 not configured "vcc3v3-wf-regulator" at mainbus0 not configured "vcc4v0-sys-regulator" at mainbus0 not configured "vcc5v0-host-regulator" at mainbus0 not configured "vcc5v0-usb-regulator" at mainbus0 not configured "binman" at mainbus0 not configured "dmc" at mainbus0 not configured "rng" at mainbus0 not configured pci0 at dwpcie0 ppb0 at pci0 dev 0 function 0 "Rockchip RK3588" rev 0x00 pci1 at ppb0 bus 49 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address 00:00:00:00:00:00 rgephy1 at re0 phy 7: RTL8251, rev. 0 dwpcie1: can't initialize hardware pci2 at dwpcie2 ppb1 at pci2 dev 0 function 0 "Rockchip RK3588" rev 0x00 pci3 at ppb1 bus 33 vendor "Broadcom", unknown product 0x449d (class network subclass miscellaneous, rev 0x02) at pci3 dev 0 function 0 not configured scsibus1 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: removable sd0: 7600MB, 512 bytes/sector, 15564800 sectors scsibus2 at sdmmc1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: sd1: 59000MB, 512 bytes/sector, 120832000 sectors vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd1a (.a) swap on sd1b dump on sd1b rkdrm0: no display interface ports configured Thanks to everyone involved ! -- Vincent Legoll
Re: RK3528 - Radxa e20c
Hi mark, On Tue, Apr 8, 2025 at 7:54 PM Mark Kettenis wrote: > So, to start, do you have another OpenBSD/arm64 system on which you > can compile kernels? If so, apply the following patch, build a kernel > and copy that onto the uSD from which you're booting the machine. > > This should print some stuff that'll help us adding the most important > clocks that we need to support. > Thanks a lot, I'm currently setting the other arm64 I've got to do openbsd dev. Should take me a few evenings to get everything going. I'll report the output from the above patch. -- Vincent Legoll
Re: RK3528 - Radxa e20c
k0, 221) iic0 at rkiic0 "belling,bl24c16a" at iic0 addr 0x50 not configured rkpwm0 at simplebus0rkclock_get_frequency(rkclock0, 111) : no clock rkpwm1 at simplebus0rkclock_get_frequency(rkclock0, 111) : no clock "adc" at simplebus0 not configured dwqe0 at simplebus0: unknown controller at 0xffbe dwmshc0 at simplebus0rkclock_set_frequency(rkclock0, 143, 2) rkclock_set_frequency(rkclock0, 144, 2400) rkclock_set_frequency(rkclock0, 140, 2) rk3528_reset: 0x0041 rk3528_reset: 0x0042 rk3528_reset: 0x0043 rk3528_reset: 0x0044 rk3528_reset: 0x0045 rkclock_get_frequency(rkclock0, 143) dwmshc0: SDHC 4.20, 200 MHz base clock sdmmc0 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma dwmmc0 at simplebus0rk3528_reset: 0x00bd rkclock_set_frequency(rkclock0, 295, 1) rkclock_get_frequency(rkclock0, 295) : 25 MHz base clock sdmmc1 at dwmmc0: 4-bit, sd high-speed, mmc high-speed, dma "dma-controller" at simplebus0 not configured "usb2phy" at simplebus0 not configured "pinctrl" at simplebus0 not configured "rng" at simplebus0 not configured "nvmem" at simplebus0 not configured usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 "adc-keys" at mainbus0 not configured gpiokeys0 at mainbus0: "USER" gpioleds0 at mainbus0: "lan", "heartbeat", "wan" "regulator-0v9-vdd" at mainbus0 not configured "regulator-1v1-vcc-ddr" at mainbus0 not configured "regulator-1v8-vcc" at mainbus0 not configured "regulator-3v3-vcc" at mainbus0 not configured "regulator-5v0-vcc-sys" at mainbus0 not configured "regulator-5v0-vcc-usb20" at mainbus0 not configured "regulator-vccio-sd" at mainbus0 not configured "binman" at mainbus0 not configured "dmc" at mainbus0 not configured rkclock_set_frequency(rkclock0, 140, 40) sdmmc0: can't identify card sdmmc0: no functions scsibus0 at sdmmc1: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable sd0: 15173MB, 512 bytes/sector, 31074304 sectors vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (eea8209c394fdbb2.a) swap on sd0b dump on sd0b WARNING: CHECK AND RESET THE DATE! warning: /dev/console does not exist init: not found panic: no init Stopped at panic+0x140:cmp w21, #0x0 TIDPIDUID PRFLAGS PFLAGS CPU COMMAND 449921 37498 0 0x14000 0x2001 zerothread *383713 1 0 0 00 swapper db_enter() at panic+0x13c panic() at start_init+0x2a4 start_init() at proc_trampoline+0xc https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> -- Vincent Legoll
RK3528 - Radxa e20c
Hello, I just booted 7.6 on a radxa e20c I used : * Jonas Karlman's u-boot rk3528 branch ( https://source.denx.de/u-boot/contributors/kwiboo/u-boot/-/commits/rk3528) * blobs from master branch (https://github.com/rockchip-linux/rkbin.git) * OpenBSD, arm64/miniroot76.img Here is the dmesg: disks: sd0* sd1 >> OpenBSD/arm64 BOOTAA64 1.20 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 3063388+1250408+12713224+636192 [271998+91+707664+290184]=0x13f15e0 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.6 (RAMDISK) #187: Fri Sep 27 00:29:36 MDT 2024 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK real mem = 1069932544 (1020MB) avail mem = 996495360 (950MB) random: good seed from bootblocks mainbus0 at root: Radxa E20C psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND efi0 at mainbus0: UEFI 2.11 efi0: Das U-Boot rev 0x20250400 smbios0 at efi0: SMBIOS 3.7.0 smbios0: vendor U-Boot version "2025.04-rc4-g471f33d42f7a" date 04/01/2025 smbios0: radxa Radxa E20C cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4 cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu0: 256KB 64b/line 16-way L2 cache cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16 scmi0 at mainbus0: SCMI 2.0 "shmem" at mainbus0 not configured "fit-images" at mainbus0 not configured "firmware" at mainbus0 not configured agtimer0 at mainbus0: 24000 kHz "clock-xin24m" at mainbus0 not configured "clock-gmac50m" at mainbus0 not configured simplebus0 at mainbus0: "soc" ampintc0 at simplebus0 nirq 224, ncpu 4: "interrupt-controller" syscon0 at simplebus0: "qos" syscon1 at simplebus0: "qos" syscon2 at simplebus0: "qos" syscon3 at simplebus0: "qos" syscon4 at simplebus0: "qos" syscon5 at simplebus0: "qos" syscon6 at simplebus0: "qos" syscon7 at simplebus0: "qos" syscon8 at simplebus0: "qos" syscon9 at simplebus0: "qos" syscon10 at simplebus0: "qos" syscon11 at simplebus0: "qos" syscon12 at simplebus0: "qos" syscon13 at simplebus0: "qos" syscon14 at simplebus0: "qos" syscon15 at simplebus0: "qos" syscon16 at simplebus0: "qos" syscon17 at simplebus0: "qos" syscon18 at simplebus0: "qos" syscon19 at simplebus0: "qos" syscon20 at simplebus0: "qos" syscon21 at simplebus0: "qos" syscon22 at simplebus0: "qos" syscon23 at simplebus0: "qos" syscon24 at simplebus0: "qos" syscon25 at simplebus0: "qos" syscon26 at simplebus0: "qos" syscon27 at simplebus0: "qos" syscon28 at simplebus0: "qos" syscon29 at simplebus0: "qos" syscon30 at simplebus0: "qos" syscon31 at simplebus0: "qos" syscon32 at simplebus0: "syscon" syscon33 at simplebus0: "syscon" syscon34 at simplebus0: "syscon" ehci0 at simplebus0 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 simplebus0: version 1.0 "clock-controller" at simplebus0 not configured com0 at simplebus0: dw16550, 64 byte fifo com0: console rkiic0 at simplebus0 iic0 at rkiic0 "belling,bl24c16a" at iic0 addr 0x50 not configured rkpwm0 at simplebus0: no clock rkpwm1 at simplebus0: no clock "adc" at simplebus0 not configured dwqe0 at simplebus0: unknown controller at 0xffbe dwmshc0 at simplebus0 dwmshc0: SDHC 4.20, 200 MHz base clock sdmmc0 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma dwmmc0 at simplebus0: 25 MHz base clock sdmmc1 at dwmmc0: 4-bit, sd high-speed, mmc high-speed, dma "dma-controller" at simplebus0 not configured "usb2phy" at simplebus0 not configured "pinctrl" at simplebus0 not configured "rng" at simplebus0 not configured "nvmem" at simplebus0 not configured usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 "adc-keys" at mainbus0 not configured "gpio-keys" at mainbus0 not configured "leds" at mainbus0 not configured "regulator-0v9-vdd" at mainbus0 not configured "regulator-1v1-vcc-ddr" at mainbus0 not configured "regulator-1v8-vcc" at mainbus0 not configured "regulator-3v3-vcc" at mainbus0 not configured "regulator-5v0-vcc-sys" at mainbus0 not configured "regulator-5v0-vcc-usb20" at mainbus0 not configured "regulator-vccio-sd" at mainbus0 not configured "regulator-vdd-arm" at mainbus0 not configured "regulator-vdd-logic" at mainbus0 not configured "binman" at mainbus0 not configured "dmc" at mainbus0 not configured sdmmc0: can't identify card sdmmc0: no functions scsibus0 at sdmmc1: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable sd0: 15173MB, 512 bytes/sector, 31074304 sectors softraid0 at root scsibus1 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Next is trying 7.7 snapshots -- Vincent Legoll
Re: RK3528 - Radxa e20c
Hi Mark, On Sun, Apr 6, 2025 at 7:08 PM Mark Kettenis wrote: > > We don't have support for the RK3528 SoC yet. In particular there is > no support for this SoC in the rkclock(4) and rkpinctrl(4) drivers > yet. That is probably why some of the devices don't work properly. > > Adding support shouldn't be particularly difficult. Let me know if > you want to have a go at it. Otherwise, I'll see what I can do for > you once 7.7 is out of the door. > I'd certainly like to help, but I don't really know where to start. I'll need a bit of mentoring I think... -- Vincent Legoll