NetBSD support for reform devices

I’m wondering if any one is daily driving NetBSD on the Reform/ Pocket? Or generally what the state of support looks like.

There are a couple of reasons Net is an attractive option, and running it on the rk3588 is something I’m interested in doing but hoping I wouldn’t be starting from 0.

As I understand things, I’d need a device tree config for uboot (or maybe the edk2 loader? ) and probably some drivers for querying the system controller. This also looks pretty promising

Not sure about gpu … This would definitely be quite the learning project though…

1 Like

I recently tried a NetBSD 11 release candidate and the boot process gets stuck somewhere and it just hangs. Here is the output from the boot attempt. Note this is with the normal u-boot bootloader; edk2 has never worked for me at all.

I’ll also link to someone else’s rk3588 NetBSD work: ~cypheon/NetBSD - Porting NetBSD to rk3588-based Rock 5B - sourcehut git I haven’t messed with this; merely reporting it for those who might not have seen it.

3 Likes

Ooh thanks for this! Is the last line a prompt? Or does I/o stop or hang? Noticing there’s no indication the kernel found any partitions from which to continue loading (usually theres a “dk0 at sd0” or similar line)… I recall sd card issues being a persistent issue for rpi as well. What device was being booted from?

Nope, it just hangs. This was booting from a USB drive. I had patched u-boot to enumerate and probe the USB ports. Presumably you could do just as well with an SD card, but I haven’t tried it.

2 Likes

I am very interested in this question, as well. I ordered an MNT Reform Next last year, and was planning to just run it as-is when I get it, at least initially, as this will be my first MNT (or open hardware in any way) computer, and I expect a bit of a learning curve even if I stick with what’s most supported. However, the embrace of LLM slop in the Linux kernel and, most sadly, Debian, now has me looking at moving all of my systems to NetBSD.

I do have some fear of immediately bricking my brand new, expensive, purple laptop when I get it. :wink: However, right at the offset, before I have anything (data-wise) to lose might be the best time for me to try. I’ll continue to watch this space, and if I see other people working on it who might be able to help me overcome a hurdle or two, maybe I will try installing NetBSD on my Next when it arrives.

2 Likes

As the Debian-guy, I feel that sentiment and am also looking at NetBSD because it seems to be the only practically useful kernel with a strict policy against inclusion of LLM generated content: NetBSD Commit Guidelines

If somebody gets netbsd running, even if it’s without display and without pci and i just have serial I’d certainly be interested in giving that a try…

4 Likes

We have pretty promising OpenBSD support, on Pocket Reform with a little help of our RK3588 display driver work in Barebox (bootloader), which we’re also gonna port to u-boot later this year. And someone independently got OpenBSD display support working for the classic RK3588 MNT Reform. I guess it should be possible to port missing drivers to NetBSD from OpenBSD?

2 Likes

The result, even if “fully working” is also likely to appeal to a very different type of user. Things like Wine are iffy on Net. Limited support for MTP (for anyone that expects to plug in their phone and mount a drive). Incomplete Rust compatibility (wscons related iirc) … FreeBSD is, pragmatically, the likely better choice from a "modern desktop experience " perspective, but Net’s strengths may lend themselves very well to a number of folks’ sensibilities mainly: a strict no AI policy; an emphasis on clean, easy to maintain, and correct code; portability across architectures; and a more traditional unix philosophy of simpler tools over abstractions. At least my interpretation. I’m also cautiously optimistic that enough folks looking towards the BSDs right now will help result in some of those gaps getting closed.

Either way, I use Net enough that it will be something I’ll be poking at. I’m planning on dedicating some time when I get my Next, and eventually on the quasar+pocket combo to Net. It would be awesome if these could become a reference device for “here’s a compute ecosystem where basically everything just works”.

I’ve never done any real driver work before…tbh I’m really really hoping that whatever I remember from my embedded systems days comes back - perhaps at the very least my experiences will lend insight in the form of what NOT to do :joy:

6 Likes

Tried booting NetBSD on an RK3588/barebox pocket, it shows the boot console but instead of hanging once its started booting, as other people report, it throws a stack trace for me. I cant paste it as I havent got a console just a video unfortunately.

1 Like

It’s not stuck per se, it’s just that the kernel didn’t find a root device. This is probably because you booted off an SD card and the driver doesn’t attach.

It’s probably one of these:

[   1.0000040] dwcmmc0 at simplebus0: couldn't get clock biu
[   1.0000040] /mmc@fe2e0000 at simplebus0 not configured

I have successfully booted the GENERIC64 kernel on my reform2 all the way to a prompt, I just had to provide it a root filesystem on usb.

It’s pretty likely that there are missing drivers, or some kind of device tree overlay required. I don’t know anything about how the dt and arm works.

1 Like

That sounds very promising!

Maybe this made me get a bit further. I flashed the generic aarch64 image to a usb stick, barebox to the sd-card and then booted. On the first boot it seems to resize the root partition (?) and then reboots:

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm64)
    \\       `---,_.  Revision 2.16 (Wed Oct 14 18:32:45 UTC 2026)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.     
7773136+3586704+4319588+1740596 [657845+973704+727442]=0x1408308
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.0_STABLE (GENERIC64) #0: Wed Oct 14 18:32:45 UTC 2026
[   1.0000000]  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 16085 MB
[   1.0000000] avail memory = 15502 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: MNT Pocket Reform with RCORE RK3588 Module
[   1.0000000] cpus0 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 1.1
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0, numa 0
[   1.0000000] cpufreqdt0 at cpu0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x100
[   1.0000000] cpu1: package 0, core 1, smt 0, numa 0
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x200
[   1.0000000] cpu2: package 0, core 2, smt 0, numa 0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x300
[   1.0000000] cpu3: package 0, core 3, smt 0, numa 0
[   1.0000000] cpufreqdt3 at cpu3
[   1.0000000] cpu4 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x400
[   1.0000000] cpu4: package 0, core 4, smt 0, numa 0
[   1.0000000] cpufreqdt4 at cpu4
[   1.0000000] cpu5 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x500
[   1.0000000] cpu5: package 0, core 5, smt 0, numa 0
[   1.0000000] cpufreqdt5 at cpu5
[   1.0000000] cpu6 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x600
[   1.0000000] cpu6: package 0, core 6, smt 0, numa 0
[   1.0000000] cpufreqdt6 at cpu6
[   1.0000000] cpu7 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x700
[   1.0000000] cpu7: package 0, core 7, smt 0, numa 0
[   1.0000000] cpufreqdt7 at cpu7
[   1.0000000] gicvthree0 at simplebus0: GICv3
[   1.0000000] gicvthree0: MBI frame @ 0xfe610000, SPIs 424-479
[   1.0000000] syscon0 at simplebus0: System Controller Registers
[   1.0000000] syscon1 at simplebus0: System Controller Registers
[   1.0000000] syscon2 at simplebus0: System Controller Registers
[   1.0000000] syscon3 at simplebus0: System Controller Registers
[   1.0000000] syscon4 at simplebus0: System Controller Registers
[   1.0000000] syscon5 at simplebus0: System Controller Registers
[   1.0000000] syscon6 at simplebus0: System Controller Registers
[   1.0000000] syscon7 at simplebus0: System Controller Registers
[   1.0000000] syscon8 at simplebus0: System Controller Registers
[   1.0000000] syscon9 at simplebus0: System Controller Registers
[   1.0000000] syscon10 at simplebus0: System Controller Registers
[   1.0000000] syscon11 at simplebus0: System Controller Registers
[   1.0000000] syscon12 at simplebus0: System Controller Registers
[   1.0000000] syscon13 at simplebus0: System Controller Registers
[   1.0000000] syscon14 at simplebus0: System Controller Registers
[   1.0000000] syscon15 at simplebus0: System Controller Registers
[   1.0000000] syscon16 at simplebus0: System Controller Registers
[   1.0000000] syscon17 at simplebus0: System Controller Registers
[   1.0000000] syscon18 at simplebus0: System Controller Registers
[   1.0000000] syscon19 at simplebus0: System Controller Registers
[   1.0000000] syscon20 at simplebus0: System Controller Registers
[   1.0000000] syscon21 at simplebus0: System Controller Registers
[   1.0000000] syscon22 at simplebus0: System Controller Registers
[   1.0000000] syscon23 at simplebus0: System Controller Registers
[   1.0000000] syscon24 at simplebus0: System Controller Registers
[   1.0000000] syscon25 at simplebus0: System Controller Registers
[   1.0000000] syscon26 at simplebus0: System Controller Registers
[   1.0000000] syscon27 at simplebus0: System Controller Registers
[   1.0000000] syscon28 at simplebus0: System Controller Registers
[   1.0000000] syscon29 at simplebus0: System Controller Registers
[   1.0000000] syscon30 at simplebus0: System Controller Registers
[   1.0000000] syscon31 at simplebus0: System Controller Registers
[   1.0000000] syscon32 at simplebus0: System Controller Registers
[   1.0000000] syscon33 at simplebus0: System Controller Registers
[   1.0000000] syscon34 at simplebus0: System Controller Registers
[   1.0000000] syscon35 at simplebus0: System Controller Registers
[   1.0000000] syscon36 at simplebus0: System Controller Registers
[   1.0000000] syscon37 at simplebus0: System Controller Registers
[   1.0000000] syscon38 at simplebus0: System Controller Registers
[   1.0000000] syscon39 at simplebus0: System Controller Registers
[   1.0000000] syscon40 at simplebus0: System Controller Registers
[   1.0000000] syscon41 at simplebus0: System Controller Registers
[   1.0000000] syscon42 at simplebus0: System Controller Registers
[   1.0000000] syscon43 at simplebus0: System Controller Registers
[   1.0000000] syscon44 at simplebus0: System Controller Registers
[   1.0000000] syscon45 at simplebus0: System Controller Registers
[   1.0000000] syscon46 at simplebus0: System Controller Registers
[   1.0000000] syscon47 at simplebus0: System Controller Registers
[   1.0000000] syscon48 at simplebus0: System Controller Registers
[   1.0000000] syscon49 at simplebus0: System Controller Registers
[   1.0000000] syscon50 at simplebus0: System Controller Registers
[   1.0000000] syscon51 at simplebus0: System Controller Registers
[   1.0000000] syscon52 at simplebus0: System Controller Registers
[   1.0000000] syscon53 at simplebus0: System Controller Registers
[   1.0000000] syscon54 at simplebus0: System Controller Registers
[   1.0000000] syscon55 at simplebus0: System Controller Registers
[   1.0000000] syscon56 at simplebus0: System Controller Registers
[   1.0000000] syscon57 at simplebus0: System Controller Registers
[   1.0000000] syscon58 at simplebus0: System Controller Registers
[   1.0000000] syscon59 at simplebus0: System Controller Registers
[   1.0000000] syscon60 at simplebus0: System Controller Registers
[   1.0000000] syscon61 at simplebus0: System Controller Registers
[   1.0000000] syscon62 at simplebus0: System Controller Registers
[   1.0000000] syscon63 at simplebus0: System Controller Registers
[   1.0000000] syscon64 at simplebus0: System Controller Registers
[   1.0000000] syscon65 at simplebus0: System Controller Registers
[   1.0000000] syscon66 at simplebus0: System Controller Registers
[   1.0000000] syscon67 at simplebus0: System Controller Registers
[   1.0000000] syscon68 at simplebus0: System Controller Registers
[   1.0000000] syscon69 at simplebus0: System Controller Registers
[   1.0000000] syscon70 at simplebus0: System Controller Registers
[   1.0000000] syscon71 at simplebus0: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 702000000 Hz fixed clock (spll)
[   1.0000000] fclock1 at simplebus0: 24000000 Hz fixed clock (xin24m)
[   1.0000000] fclock2 at simplebus0: 32768 Hz fixed clock (xin32k)
[   1.0000000] syscon72 at simplebus0: System Controller Registers
[   1.0000000] rkcru0 at simplebus0: RK3588 CRU
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[   1.0000040] rkiomux0 at simplebus0: RK3588 IOMUX control
[   1.0000040] rkgpio0 at rkiomux0: GPIO v2 (gpio@fd8a0000)
[   1.0000040] gpio0 at rkgpio0: 32 pins
[   1.0000040] rkgpio0: interrupting on GICv3 irq 309
[   1.0000040] rkgpio1 at rkiomux0: GPIO v2 (gpio@fec20000)
[   1.0000040] gpio1 at rkgpio1: 32 pins
[   1.0000040] rkgpio1: interrupting on GICv3 irq 310
[   1.0000040] rkgpio2 at rkiomux0: GPIO v2 (gpio@fec30000)
[   1.0000040] gpio2 at rkgpio2: 32 pins
[   1.0000040] rkgpio2: interrupting on GICv3 irq 311
[   1.0000040] rkgpio3 at rkiomux0: GPIO v2 (gpio@fec40000)
[   1.0000040] gpio3 at rkgpio3: 32 pins
[   1.0000040] rkgpio3: interrupting on GICv3 irq 312
[   1.0000040] rkgpio4 at rkiomux0: GPIO v2 (gpio@fec50000)
[   1.0000040] gpio4 at rkgpio4: 32 pins
[   1.0000040] rkgpio4: interrupting on GICv3 irq 313
[   1.0000040] rkiic0 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic0 at rkiic0: I2C bus
[   1.0000040] rk8602 (rockchip,rk8602) at iic0 addr 0x42 not configured
[   1.0000040] rk8603 (rockchip,rk8602) at iic0 addr 0x43 not configured
[   1.0000040] fregulator0 at simplebus0: vcc5v0_host
[   1.0000040] fregulator1 at simplebus0: vcc5v0_sys
[   1.0000040] fregulator2 at simplebus0: vcc3v3_pcie30
[   1.0000040] rkiic1 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic1 at rkiic1: I2C bus
[   1.0000040] codec (ti,tlv320aic3100) at iic1 addr 0x18 not configured
[   1.0000040] rtc (nxp,pcf8523) at iic1 addr 0x68 not configured
[   1.0000040] fregulator3 at simplebus0: vcc_1v1_nldo_s3
[   1.0000040] fregulator4 at simplebus0: vcc1v2
[   1.0000040] fregulator5 at simplebus0: vcc12v_dcin
[   1.0000040] rkiic2 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic2 at rkiic2: I2C bus
[   1.0000040] regulator (rockchip,rk8602) at iic2 addr 0x42 not configured
[   1.0000040] rkiic3 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic3 at rkiic3: I2C bus
[   1.0000040] com0 at simplebus0: DesignWare APB UART, 64-byte FIFO
[   1.0000040] com0: console
[   1.0000040] com0: interrupting on GICv3 irq 365
[   1.0000040] fregulator6 at simplebus0: pcie30_avdd1v8
[   1.0000040] fregulator7 at simplebus0: pcie30_avdd0v75
[   1.0000040] fregulator8 at simplebus0: vcc5v0_usb
[   1.0000040] rkdrm0 at simplebus0
[   1.0000040] /opp-table-cluster0 at simplebus0 not configured
[   1.0000040] rkspi0 at simplebus0: SPI
[   1.0000040] rkspi0: interrupting on GICv3 irq 360
[   1.0000040] spi0 at rkspi0: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /opp-table-cluster1 at simplebus0 not configured
[   1.0000040] /opp-table-cluster2 at simplebus0 not configured
[   1.0000040] /l3-cache at simplebus0 not configured
[   1.0000040] /vop@fdd90000 at simplebus0 not configured
[   1.0000040] /phy@fed60000 at simplebus0 not configured
[   1.0000040] /phy@fed70000 at simplebus0 not configured
[   1.0000040] /power-management@fd8d8000/power-controller at syscon0 not configured
[   1.0000040] /opp-table-gpu at simplebus0 not configured
[   1.0000040] /syscon@fd5d0000/usb2phy@0 at syscon1 not configured
[   1.0000040] /phy@fed80000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d8000/usb2phy@8000 at syscon2 not configured
[   1.0000040] /syscon@fd5dc000/usb2phy@c000 at syscon3 not configured
[   1.0000040] /phy@fee20000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea10000 at simplebus0 not configured
[   1.0000040] /iommu@fdb50800 at simplebus0 not configured
[   1.0000040] /iommu@fdb60f00 at simplebus0 not configured
[   1.0000040] /iommu@fdb70f00 at simplebus0 not configured
[   1.0000040] /iommu@fdba0800 at simplebus0 not configured
[   1.0000040] /iommu@fdba4800 at simplebus0 not configured
[   1.0000040] /iommu@fdba8800 at simplebus0 not configured
[   1.0000040] /iommu@fdbac800 at simplebus0 not configured
[   1.0000040] /iommu@fdc38700 at simplebus0 not configured
[   1.0000040] /sram@ff001000 at simplebus0 not configured
[   1.0000040] /iommu@fdc40700 at simplebus0 not configured
[   1.0000040] /iommu@fdca0000 at simplebus0 not configured
[   1.0000040] /iommu@fdd97e00 at simplebus0 not configured
[   1.0000040] /hdmi@fdea0000 at simplebus0 not configured
[   1.0000040] /dsi@fde30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fed10000 at simplebus0 not configured
[   1.0000040] /phy@fedb0000 at simplebus0 not configured
[   1.0000040] /pcie@fe180000 at simplebus0 not configured
[   1.0000040] /iommu@fc900000 at simplebus0 not configured
[   1.0000040] /pcie@fe190000 at simplebus0 not configured
[   1.0000040] /phy@fee00000 at simplebus0 not configured
[   1.0000040] /tsadc@fec00000 at simplebus0 not configured
[   1.0000040] /gpu@fb000000 at simplebus0 not configured
[   1.0000040] /i2s@fe470000 at simplebus0 not configured
[   1.0000040] /i2s@fddf4000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d4000/usb2phy@4000 at syscon67 not configured
[   1.0000040] /phy@fed90000 at simplebus0 not configured
[   1.0000040] /phy@fee10000 at simplebus0 not configured
[   1.0000040] eqos0 at simplebus0: couldn't get php_grf syscon
[   1.0000040] /pmu-a55 at simplebus0 not configured
[   1.0000040] /pmu-a76 at simplebus0 not configured
[   1.0000040] ehci0 at simplebus0: EHCI
[   1.0000040] ehci0: interrupting on GICv3 irq 247
[   1.0000040] ehci0: 1 companion controller, 1 port
[   1.0000040] ehci0: Using DMA subregion for control data structures
[   1.0000040] usb0 at ehci0: USB revision 2.0
[   1.0000040] ohci0 at simplebus0: OHCI
[   1.0000040] ohci0: interrupting on GICv3 irq 248
[   1.0000040] ohci0: OHCI version 1.0
[   1.0000040] usb1 at ohci0: USB revision 1.0
[   1.0000040] ehci1 at simplebus0: EHCI
[   1.0000040] ehci1: interrupting on GICv3 irq 250
[   1.0000040] ehci1: 1 companion controller, 1 port
[   1.0000040] ehci1: Using DMA subregion for control data structures
[   1.0000040] usb2 at ehci1: USB revision 2.0
[   1.0000040] ohci1 at simplebus0: OHCI
[   1.0000040] ohci1: interrupting on GICv3 irq 251
[   1.0000040] ohci1: OHCI version 1.0
[   1.0000040] usb3 at ohci1: USB revision 1.0
[   1.0000040] /sram@fd600000 at simplebus0 not configured
[   1.0000040] /video-codec@fdb50000 at simplebus0 not configured
[   1.0000040] /rga@fdb60000 at simplebus0 not configured
[   1.0000040] /rga@fdb70000 at simplebus0 not configured
[   1.0000040] /rga@fdb80000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba0000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba4000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba8000 at simplebus0 not configured
[   1.0000040] /video-codec@fdbac000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc38000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc40000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc70000 at simplebus0 not configured
[   1.0000040] /dfi@fe060000 at simplebus0 not configured
[   1.0000040] dwcmmc0 at simplebus0: couldn't get clock biu
[   1.0000040] /mmc@fe2e0000 at simplebus0 not configured
[   1.0000040] /rng@fe378000 at simplebus0 not configured
[   1.0000040] /timer@feae0000 at simplebus0 not configured
[   1.0000040] dwcwdt0 at simplebus0: DesignWare Watchdog Timer
[   1.0000040] dwcwdt0: default watchdog period is 15 seconds
[   1.0000040] rkspi1 at simplebus0: SPI
[   1.0000040] rkspi1: interrupting on GICv3 irq 359
[   1.0000040] spi1 at rkspi1: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /pwm@febe0000 at simplebus0 not configured
[   1.0000040] /adc@fec10000 at simplebus0 not configured
[   1.0000040] /efuse@fecc0000 at simplebus0 not configured
[   1.0000040] ausoc0 at simplebus0: hdmi1
[   1.0000040] /memory-controller at simplebus0 not configured
[   1.0000040] /analog-sound at simplebus0 not configured
[   1.0000040] gpiokeys0 at simplebus0: LPC GPIO Wakeup
[   1.0000040] rkdrm0: no display interface ports configured
[   1.0000040] rkdrm0: couldn't register DRM device: -6
[   1.0000040] ausoc0: couldn't acquire cpu dai on hdmi1-sound node
[   1.0000040] WARNING: system needs entropy for security; see entropy(7)
[   1.5767864] cpufreqdt0: couldn't acquire cpu-supply
[   1.5767864] cpufreqdt1: couldn't acquire cpu-supply
[   1.5767864] cpufreqdt2: couldn't acquire cpu-supply
[   1.5767864] cpufreqdt3: couldn't acquire cpu-supply
[   1.5767864] cpufreqdt4: couldn't acquire cpu-supply
[   1.5767864] cpufreqdt5: couldn't acquire cpu-supply
[   1.5867885] cpufreqdt6: couldn't acquire cpu-supply
[   1.5867885] cpufreqdt7: couldn't acquire cpu-supply
[   1.6067875] uhub0 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   1.6067875] uhub1 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6067875] uhub2 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6067875] uhub3 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   2.6768116] uhub4 at uhub2 port 1: vendor 0451 (0x0451) product 8142 (0x8142), class 9/0, rev 2.10/1.00, addr 2
[   2.6768116] uhub4: multiple transaction translators
[   3.2668252] ubt0 at uhub3 port 1
[   3.2668252] ubt0: vendor 8087 (0x8087) product 0032 (0x0032), rev 2.01/0.00, addr 2
[   3.4268289] uhub5 at uhub4 port 1: GenesysLogic (0x05e3) USB2.1 Hub (0x0610), class 9/0, rev 2.10/6.63, addr 3
[   3.4268289] uhub5: single transaction translator
[   4.3168492] umass0 at uhub5 port 4 configuration 1 interface 0
[   4.3168492] umass0: General (0xabcd) UDisk (0x1234), rev 2.00/1.00, addr 4
[   4.3168492] scsibus0 at umass0: 2 targets, 1 lun per target
[   4.3268495] sd0 at scsibus0 target 0 lun 0: <General, UDisk, 5.00> disk removable
[   4.3368499] sd0: fabricating a geometry
[   4.3368499] sd0: 15360 MB, 15360 cyl, 64 head, 32 sec, 512 bytes/sect x 31457280 sectors
[   4.3468503] sd0: fabricating a geometry
[   4.3968510] dk0 at sd0: "EFI", 163840 blocks at 32768, type: msdos
[   4.3968510] dk1 at sd0: "netbsd-root", 3375104 blocks at 196608, type: ffs
[   4.9468637] uhidev0 at uhub4 port 3 configuration 1 interface 0
[   4.9468637] uhidev0: MNT (0x1209) Pocket Reform Input 2.0 (0x6d06), rev 2.10/0.01, addr 5, iclass 3/0
[   4.9868650] uhidev0: 4 report ids
[   4.9868650] ukbd0 at uhidev0 reportid 1
[   4.9968647] wskbd0 at ukbd0 mux 1
[   4.9968647] ums0 at uhidev0 reportid 2: 5 buttons, W and Z dirs
[   4.9968647] wsmouse0 at ums0 mux 0
[   4.9968647] uhid0 at uhidev0 reportid 3: input=2, output=0, feature=0
[   5.0068657] uhid1 at uhidev0 reportid 4: input=11, output=0, feature=0
[   5.5168767] ugen0 at uhub4 port 4
[   5.5268770] ugen0: Quectel (0x2c7c) EM06-E (0x0306), rev 2.00/3.10, addr 6
[   5.5268770] swwdog0: software watchdog initialized
[   5.5468778] WARNING: 13 errors while detecting hardware; check system log.
[   5.5468778] boot device: dk1
[   5.5468778] root on dk1
[   5.5668782] root file system type: ffs
[   5.5668782] kern.module.path=/stand/evbarm/11.0/modules
[   5.5668782] WARNING: no TOD clock present
[   5.5768786] WARNING: using filesystem time
[   5.5786336] WARNING: CHECK AND RESET THE DATE!
[   5.8368843] entropy: best effort
Wed Oct 14 18:32:45 UTC 2026
Starting root file system check:
/dev/rdk1: file system is clean; not checking
gpt: /dev/rsd0: No valid PMBR partition found
[  15.6471090] dk0 at sd0 (EFI) deleted
[  15.6471090] dk0 at sd0: "EFI", 163840 blocks at 32768, type: msdos
[  15.6471090] dk1 at sd0: "netbsd-root", 31252480 blocks at 196608, type: ffs
/dev/rsd0: Partition 2 resized: 196608 31252480
Resizing / (NAME=netbsd-root)
reboot: rebooted by root                                                        
[ 208.4415651] sd0(umass0:0:0:0): generic HBA error
[ 208.4415651] sd0: cache synchronization failed
[ 208.4415651] rebooting...

But on the second boot it hangs like this:

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm64)
    \\       `---,_.  Revision 2.16 (Wed Oct 14 18:32:45 UTC 2026)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.     
7773136+3586704+4319588+1740596 [657845+973704+727442]=0x1408308
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.0_STABLE (GENERIC64) #0: Wed Oct 14 18:32:45 UTC 2026
[   1.0000000]  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 16085 MB
[   1.0000000] avail memory = 15502 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: MNT Pocket Reform with RCORE RK3588 Module
[   1.0000000] cpus0 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 1.1
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0, numa 0
[   1.0000000] cpufreqdt0 at cpu0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x100
[   1.0000000] cpu1: package 0, core 1, smt 0, numa 0
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x200
[   1.0000000] cpu2: package 0, core 2, smt 0, numa 0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x300
[   1.0000000] cpu3: package 0, core 3, smt 0, numa 0
[   1.0000000] cpufreqdt3 at cpu3
[   1.0000000] cpu4 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x400
[   1.0000000] cpu4: package 0, core 4, smt 0, numa 0
[   1.0000000] cpufreqdt4 at cpu4
[   1.0000000] cpu5 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x500
[   1.0000000] cpu5: package 0, core 5, smt 0, numa 0
[   1.0000000] cpufreqdt5 at cpu5
[   1.0000000] cpu6 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x600
[   1.0000000] cpu6: package 0, core 6, smt 0, numa 0
[   1.0000000] cpufreqdt6 at cpu6
[   1.0000000] cpu7 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x700
[   1.0000000] cpu7: package 0, core 7, smt 0, numa 0
[   1.0000000] cpufreqdt7 at cpu7
[   1.0000000] gicvthree0 at simplebus0: GICv3
[   1.0000000] gicvthree0: MBI frame @ 0xfe610000, SPIs 424-479
[   1.0000000] syscon0 at simplebus0: System Controller Registers
[   1.0000000] syscon1 at simplebus0: System Controller Registers
[   1.0000000] syscon2 at simplebus0: System Controller Registers
[   1.0000000] syscon3 at simplebus0: System Controller Registers
[   1.0000000] syscon4 at simplebus0: System Controller Registers
[   1.0000000] syscon5 at simplebus0: System Controller Registers
[   1.0000000] syscon6 at simplebus0: System Controller Registers
[   1.0000000] syscon7 at simplebus0: System Controller Registers
[   1.0000000] syscon8 at simplebus0: System Controller Registers
[   1.0000000] syscon9 at simplebus0: System Controller Registers
[   1.0000000] syscon10 at simplebus0: System Controller Registers
[   1.0000000] syscon11 at simplebus0: System Controller Registers
[   1.0000000] syscon12 at simplebus0: System Controller Registers
[   1.0000000] syscon13 at simplebus0: System Controller Registers
[   1.0000000] syscon14 at simplebus0: System Controller Registers
[   1.0000000] syscon15 at simplebus0: System Controller Registers
[   1.0000000] syscon16 at simplebus0: System Controller Registers
[   1.0000000] syscon17 at simplebus0: System Controller Registers
[   1.0000000] syscon18 at simplebus0: System Controller Registers
[   1.0000000] syscon19 at simplebus0: System Controller Registers
[   1.0000000] syscon20 at simplebus0: System Controller Registers
[   1.0000000] syscon21 at simplebus0: System Controller Registers
[   1.0000000] syscon22 at simplebus0: System Controller Registers
[   1.0000000] syscon23 at simplebus0: System Controller Registers
[   1.0000000] syscon24 at simplebus0: System Controller Registers
[   1.0000000] syscon25 at simplebus0: System Controller Registers
[   1.0000000] syscon26 at simplebus0: System Controller Registers
[   1.0000000] syscon27 at simplebus0: System Controller Registers
[   1.0000000] syscon28 at simplebus0: System Controller Registers
[   1.0000000] syscon29 at simplebus0: System Controller Registers
[   1.0000000] syscon30 at simplebus0: System Controller Registers
[   1.0000000] syscon31 at simplebus0: System Controller Registers
[   1.0000000] syscon32 at simplebus0: System Controller Registers
[   1.0000000] syscon33 at simplebus0: System Controller Registers
[   1.0000000] syscon34 at simplebus0: System Controller Registers
[   1.0000000] syscon35 at simplebus0: System Controller Registers
[   1.0000000] syscon36 at simplebus0: System Controller Registers
[   1.0000000] syscon37 at simplebus0: System Controller Registers
[   1.0000000] syscon38 at simplebus0: System Controller Registers
[   1.0000000] syscon39 at simplebus0: System Controller Registers
[   1.0000000] syscon40 at simplebus0: System Controller Registers
[   1.0000000] syscon41 at simplebus0: System Controller Registers
[   1.0000000] syscon42 at simplebus0: System Controller Registers
[   1.0000000] syscon43 at simplebus0: System Controller Registers
[   1.0000000] syscon44 at simplebus0: System Controller Registers
[   1.0000000] syscon45 at simplebus0: System Controller Registers
[   1.0000000] syscon46 at simplebus0: System Controller Registers
[   1.0000000] syscon47 at simplebus0: System Controller Registers
[   1.0000000] syscon48 at simplebus0: System Controller Registers
[   1.0000000] syscon49 at simplebus0: System Controller Registers
[   1.0000000] syscon50 at simplebus0: System Controller Registers
[   1.0000000] syscon51 at simplebus0: System Controller Registers
[   1.0000000] syscon52 at simplebus0: System Controller Registers
[   1.0000000] syscon53 at simplebus0: System Controller Registers
[   1.0000000] syscon54 at simplebus0: System Controller Registers
[   1.0000000] syscon55 at simplebus0: System Controller Registers
[   1.0000000] syscon56 at simplebus0: System Controller Registers
[   1.0000000] syscon57 at simplebus0: System Controller Registers
[   1.0000000] syscon58 at simplebus0: System Controller Registers
[   1.0000000] syscon59 at simplebus0: System Controller Registers
[   1.0000000] syscon60 at simplebus0: System Controller Registers
[   1.0000000] syscon61 at simplebus0: System Controller Registers
[   1.0000000] syscon62 at simplebus0: System Controller Registers
[   1.0000000] syscon63 at simplebus0: System Controller Registers
[   1.0000000] syscon64 at simplebus0: System Controller Registers
[   1.0000000] syscon65 at simplebus0: System Controller Registers
[   1.0000000] syscon66 at simplebus0: System Controller Registers
[   1.0000000] syscon67 at simplebus0: System Controller Registers
[   1.0000000] syscon68 at simplebus0: System Controller Registers
[   1.0000000] syscon69 at simplebus0: System Controller Registers
[   1.0000000] syscon70 at simplebus0: System Controller Registers
[   1.0000000] syscon71 at simplebus0: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 702000000 Hz fixed clock (spll)
[   1.0000000] fclock1 at simplebus0: 24000000 Hz fixed clock (xin24m)
[   1.0000000] fclock2 at simplebus0: 32768 Hz fixed clock (xin32k)
[   1.0000000] syscon72 at simplebus0: System Controller Registers
[   1.0000000] rkcru0 at simplebus0: RK3588 CRU
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[   1.0000040] rkiomux0 at simplebus0: RK3588 IOMUX control
[   1.0000040] rkgpio0 at rkiomux0: GPIO v2 (gpio@fd8a0000)
[   1.0000040] gpio0 at rkgpio0: 32 pins
[   1.0000040] rkgpio0: interrupting on GICv3 irq 309
[   1.0000040] rkgpio1 at rkiomux0: GPIO v2 (gpio@fec20000)
[   1.0000040] gpio1 at rkgpio1: 32 pins
[   1.0000040] rkgpio1: interrupting on GICv3 irq 310
[   1.0000040] rkgpio2 at rkiomux0: GPIO v2 (gpio@fec30000)
[   1.0000040] gpio2 at rkgpio2: 32 pins
[   1.0000040] rkgpio2: interrupting on GICv3 irq 311
[   1.0000040] rkgpio3 at rkiomux0: GPIO v2 (gpio@fec40000)
[   1.0000040] gpio3 at rkgpio3: 32 pins
[   1.0000040] rkgpio3: interrupting on GICv3 irq 312
[   1.0000040] rkgpio4 at rkiomux0: GPIO v2 (gpio@fec50000)
[   1.0000040] gpio4 at rkgpio4: 32 pins
[   1.0000040] rkgpio4: interrupting on GICv3 irq 313
[   1.0000040] rkiic0 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic0 at rkiic0: I2C bus
[   1.0000040] rk8602 (rockchip,rk8602) at iic0 addr 0x42 not configured
[   1.0000040] rk8603 (rockchip,rk8602) at iic0 addr 0x43 not configured
[   1.0000040] fregulator0 at simplebus0: vcc5v0_host
[   1.0000040] fregulator1 at simplebus0: vcc5v0_sys
[   1.0000040] fregulator2 at simplebus0: vcc3v3_pcie30
[   1.0000040] rkiic1 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic1 at rkiic1: I2C bus
[   1.0000040] codec (ti,tlv320aic3100) at iic1 addr 0x18 not configured
[   1.0000040] rtc (nxp,pcf8523) at iic1 addr 0x68 not configured
[   1.0000040] fregulator3 at simplebus0: vcc_1v1_nldo_s3
[   1.0000040] fregulator4 at simplebus0: vcc1v2
[   1.0000040] fregulator5 at simplebus0: vcc12v_dcin
[   1.0000040] rkiic2 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic2 at rkiic2: I2C bus
[   1.0000040] regulator (rockchip,rk8602) at iic2 addr 0x42 not configured
[   1.0000040] rkiic3 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic3 at rkiic3: I2C bus
[   1.0000040] com0 at simplebus0: DesignWare APB UART, 64-byte FIFO
[   1.0000040] com0: console
[   1.0000040] com0: interrupting on GICv3 irq 365
[   1.0000040] fregulator6 at simplebus0: pcie30_avdd1v8
[   1.0000040] fregulator7 at simplebus0: pcie30_avdd0v75
[   1.0000040] fregulator8 at simplebus0: vcc5v0_usb
[   1.0000040] rkdrm0 at simplebus0
[   1.0000040] /opp-table-cluster0 at simplebus0 not configured
[   1.0000040] rkspi0 at simplebus0: SPI
[   1.0000040] rkspi0: interrupting on GICv3 irq 360
[   1.0000040] spi0 at rkspi0: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /opp-table-cluster1 at simplebus0 not configured
[   1.0000040] /opp-table-cluster2 at simplebus0 not configured
[   1.0000040] /l3-cache at simplebus0 not configured
[   1.0000040] /vop@fdd90000 at simplebus0 not configured
[   1.0000040] /phy@fed60000 at simplebus0 not configured
[   1.0000040] /phy@fed70000 at simplebus0 not configured
[   1.0000040] /power-management@fd8d8000/power-controller at syscon0 not configured
[   1.0000040] /opp-table-gpu at simplebus0 not configured
[   1.0000040] /syscon@fd5d0000/usb2phy@0 at syscon1 not configured
[   1.0000040] /phy@fed80000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d8000/usb2phy@8000 at syscon2 not configured
[   1.0000040] /syscon@fd5dc000/usb2phy@c000 at syscon3 not configured
[   1.0000040] /phy@fee20000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea10000 at simplebus0 not configured
[   1.0000040] /iommu@fdb50800 at simplebus0 not configured
[   1.0000040] /iommu@fdb60f00 at simplebus0 not configured
[   1.0000040] /iommu@fdb70f00 at simplebus0 not configured
[   1.0000040] /iommu@fdba0800 at simplebus0 not configured
[   1.0000040] /iommu@fdba4800 at simplebus0 not configured
[   1.0000040] /iommu@fdba8800 at simplebus0 not configured
[   1.0000040] /iommu@fdbac800 at simplebus0 not configured
[   1.0000040] /iommu@fdc38700 at simplebus0 not configured
[   1.0000040] /sram@ff001000 at simplebus0 not configured
[   1.0000040] /iommu@fdc40700 at simplebus0 not configured
[   1.0000040] /iommu@fdca0000 at simplebus0 not configured
[   1.0000040] /iommu@fdd97e00 at simplebus0 not configured
[   1.0000040] /hdmi@fdea0000 at simplebus0 not configured
[   1.0000040] /dsi@fde30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fed10000 at simplebus0 not configured
[   1.0000040] /phy@fedb0000 at simplebus0 not configured
[   1.0000040] /pcie@fe180000 at simplebus0 not configured
[   1.0000040] /iommu@fc900000 at simplebus0 not configured
[   1.0000040] /pcie@fe190000 at simplebus0 not configured
[   1.0000040] /phy@fee00000 at simplebus0 not configured
[   1.0000040] /tsadc@fec00000 at simplebus0 not configured
[   1.0000040] /gpu@fb000000 at simplebus0 not configured
[   1.0000040] /i2s@fe470000 at simplebus0 not configured
[   1.0000040] /i2s@fddf4000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d4000/usb2phy@4000 at syscon67 not configured
[   1.0000040] /phy@fed90000 at simplebus0 not configured
[   1.0000040] /phy@fee10000 at simplebus0 not configured
[   1.0000040] eqos0 at simplebus0: couldn't get php_grf syscon
[   1.0000040] /pmu-a55 at simplebus0 not configured
[   1.0000040] /pmu-a76 at simplebus0 not configured
[   1.0000040] ehci0 at simplebus0: EHCI
[   1.0000040] ehci0: interrupting on GICv3 irq 247
[   1.0000040] ehci0: 1 companion controller, 1 port
[   1.0000040] ehci0: Using DMA subregion for control data structures
[   1.0000040] usb0 at ehci0: USB revision 2.0
[   1.0000040] ohci0 at simplebus0: OHCI
[   1.0000040] ohci0: interrupting on GICv3 irq 248
[   1.0000040] ohci0: OHCI version 1.0
[   1.0000040] usb1 at ohci0: USB revision 1.0
[   1.0000040] ehci1 at simplebus0: EHCI
[   1.0000040] ehci1: interrupting on GICv3 irq 250
[   1.0000040] ehci1: 1 companion controller, 1 port
[   1.0000040] ehci1: Using DMA subregion for control data structures
[   1.0000040] usb2 at ehci1: USB revision 2.0
[   1.0000040] ohci1 at simplebus0: OHCI
[   1.0000040] ohci1: interrupting on GICv3 irq 251
[   1.0000040] ohci1: OHCI version 1.0
[   1.0000040] usb3 at ohci1: USB revision 1.0
[   1.0000040] /sram@fd600000 at simplebus0 not configured
[   1.0000040] /video-codec@fdb50000 at simplebus0 not configured
[   1.0000040] /rga@fdb60000 at simplebus0 not configured
[   1.0000040] /rga@fdb70000 at simplebus0 not configured
[   1.0000040] /rga@fdb80000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba0000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba4000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba8000 at simplebus0 not configured
[   1.0000040] /video-codec@fdbac000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc38000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc40000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc70000 at simplebus0 not configured
[   1.0000040] /dfi@fe060000 at simplebus0 not configured
[   1.0000040] dwcmmc0 at simplebus0: couldn't get clock biu
[   1.0000040] /mmc@fe2e0000 at simplebus0 not configured
[   1.0000040] /rng@fe378000 at simplebus0 not configured
[   1.0000040] /timer@feae0000 at simplebus0 not configured
[   1.0000040] dwcwdt0 at simplebus0: DesignWare Watchdog Timer
[   1.0000040] dwcwdt0: default watchdog period is 15 seconds
[   1.0000040] rkspi1 at simplebus0: SPI
[   1.0000040] rkspi1: interrupting on GICv3 irq 359
[   1.0000040] spi1 at rkspi1: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /pwm@febe0000 at simplebus0 not configured
[   1.0000040] /adc@fec10000 at simplebus0 not configured
[   1.0000040] /efuse@fecc0000 at simplebus0 not configured
[   1.0000040] ausoc0 at simplebus0: hdmi1
[   1.0000040] /memory-controller at simplebus0 not configured
[   1.0000040] /analog-sound at simplebus0 not configured
[   1.0000040] gpiokeys0 at simplebus0: LPC GPIO Wakeup
[   1.0000040] rkdrm0: no display interface ports configured
[   1.0000040] rkdrm0: couldn't register DRM device: -6
[   1.0000040] ausoc0: couldn't acquire cpu dai on hdmi1-sound node
[   1.0000040] WARNING: system needs entropy for security; see entropy(7)
[   1.5770751] cpufreqdt0: couldn't acquire cpu-supply
[   1.5770751] cpufreqdt1: couldn't acquire cpu-supply
[   1.5770751] cpufreqdt2: couldn't acquire cpu-supply
[   1.5770751] cpufreqdt3: couldn't acquire cpu-supply
[   1.5770751] cpufreqdt4: couldn't acquire cpu-supply
[   1.5770751] cpufreqdt5: couldn't acquire cpu-supply
[   1.5870775] cpufreqdt6: couldn't acquire cpu-supply
[   1.5870775] cpufreqdt7: couldn't acquire cpu-supply
[   1.6070762] uhub0 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6070762] uhub1 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   1.6070762] uhub2 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   1.6070762] uhub3 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   2.6771003] uhub4 at uhub3 port 1: vendor 0451 (0x0451) product 8142 (0x8142), class 9/0, rev 2.10/1.00, addr 2
[   2.6771003] uhub4: multiple transaction translators
[   3.2671140] ubt0 at uhub1 port 1
[   3.2671140] ubt0: vendor 8087 (0x8087) product 0032 (0x0032), rev 2.01/0.00, addr 2
[   3.4271177] uhub5 at uhub4 port 1: GenesysLogic (0x05e3) USB2.1 Hub (0x0610), class 9/0, rev 2.10/6.63, addr 3
[   3.4271177] uhub5: single transaction translator
[   4.3171379] umass0 at uhub5 port 4 configuration 1 interface 0
[   4.3171379] umass0: General (0xabcd) UDisk (0x1234), rev 2.00/1.00, addr 4
[   4.3171379] scsibus0 at umass0: 2 targets, 1 lun per target
[   4.9471525] uhidev0 at uhub4 port 3 configuration 1 interface 0
[   4.9471525] uhidev0: MNT (0x1209) Pocket Reform Input 2.0 (0x6d06), rev 2.10/0.01, addr 5, iclass 3/0
[   4.9871537] uhidev0: 4 report ids
[   4.9871537] ukbd0 at uhidev0 reportid 1
[   4.9971535] wskbd0 at ukbd0 mux 1
[   4.9971535] ums0 at uhidev0 reportid 2: 5 buttons, W and Z dirs
[   4.9971535] wsmouse0 at ums0 mux 0
[   4.9971535] uhid0 at uhidev0 reportid 3: input=2, output=0, feature=0
[   4.9971535] uhid1 at uhidev0 reportid 4: input=11, output=0, feature=0
[   5.5171654] ugen0 at uhub4 port 4
[   5.5271658] ugen0: Quectel (0x2c7c) EM06-E (0x0306), rev 2.00/3.10, addr 6
[  34.3278252] swwdog0: software watchdog initialized
[  34.3278252] WARNING: 13 errors while detecting hardware; check system log.
[  34.3278252] boot device: <unknown>
[  34.3278252] root device: 

I don’t know how to debug this further.

Note that I configured barebox to run this during boot:

fb0.register_simplefb=enabled
of_property -f -s /usb@fc000000 status disabled
of_property -f -s /usb@fc400000 status disabled

Disabling USB is to avoid the traceback I reported here: NetBSD Problem Report #60895: NetBSD 11 aarch64 generic daily image on MNT Pocket Reform RK3588: panic: Trap: Data Abort (EL1): Translation Fault L0 with read
Apparently it can still work with the rootfs on the USB stick or otherwise it would not be able to resize it. But maybe this is connected to my hang during second boot?

1 Like

The root device: is actually a prompt, you should be able to type the name of the root device to use (since it couldn’t find one). Just pressing enter should list them along with any network boot devices and the options to halt or reboot.

Are you booting a premade image? It would have to have been especially set up to resize the root fs, as it won’t try unless resize_root is set to YES in /etc/rc.conf.

What’s weird though is that on the first boot sd0 is probed on the virtual scsibus0 that is found on umass0, but on the second boot you don’t get the actual disk device, sd0, only the bus.

the errors after the rebooted by root line look a bit suspicious…

Does a cold boot work?

1 Like

Maybe it was just a fluke because I suddenly get a shell!!

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm64)
    \\       `---,_.  Revision 2.16 (Wed Oct 14 18:32:45 UTC 2026)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 3 seconds. 
[18:56:03.419] Disconnected
[18:56:04.420] Warning: Could not open /dev/ttyUSB0 (No such file or directory)
[18:56:04.420] Waiting for tty device..
[18:56:05.421] Connected to /dev/ttyUSB0
0 seconds.     
7773136+3586704+4319588+1740596 [657845+973704+727442]=0x1408308
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.0_STABLE (GENERIC64) #0: Wed Oct 14 18:32:45 UTC 2026
[   1.0000000]  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 16085 MB
[   1.0000000] avail memory = 15502 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: MNT Pocket Reform with RCORE RK3588 Module
[   1.0000000] cpus0 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 1.1
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0, numa 0
[   1.0000000] cpufreqdt0 at cpu0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x100
[   1.0000000] cpu1: package 0, core 1, smt 0, numa 0
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x200
[   1.0000000] cpu2: package 0, core 2, smt 0, numa 0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0: Arm Cortex-A55 r2p0 (v8.2-A+), id 0x300
[   1.0000000] cpu3: package 0, core 3, smt 0, numa 0
[   1.0000000] cpufreqdt3 at cpu3
[   1.0000000] cpu4 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x400
[   1.0000000] cpu4: package 0, core 4, smt 0, numa 0
[   1.0000000] cpufreqdt4 at cpu4
[   1.0000000] cpu5 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x500
[   1.0000000] cpu5: package 0, core 5, smt 0, numa 0
[   1.0000000] cpufreqdt5 at cpu5
[   1.0000000] cpu6 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x600
[   1.0000000] cpu6: package 0, core 6, smt 0, numa 0
[   1.0000000] cpufreqdt6 at cpu6
[   1.0000000] cpu7 at cpus0: Arm Cortex-A76 r4p0 (v8.2-A+), id 0x700
[   1.0000000] cpu7: package 0, core 7, smt 0, numa 0
[   1.0000000] cpufreqdt7 at cpu7
[   1.0000000] gicvthree0 at simplebus0: GICv3
[   1.0000000] gicvthree0: MBI frame @ 0xfe610000, SPIs 424-479
[   1.0000000] syscon0 at simplebus0: System Controller Registers
[   1.0000000] syscon1 at simplebus0: System Controller Registers
[   1.0000000] syscon2 at simplebus0: System Controller Registers
[   1.0000000] syscon3 at simplebus0: System Controller Registers
[   1.0000000] syscon4 at simplebus0: System Controller Registers
[   1.0000000] syscon5 at simplebus0: System Controller Registers
[   1.0000000] syscon6 at simplebus0: System Controller Registers
[   1.0000000] syscon7 at simplebus0: System Controller Registers
[   1.0000000] syscon8 at simplebus0: System Controller Registers
[   1.0000000] syscon9 at simplebus0: System Controller Registers
[   1.0000000] syscon10 at simplebus0: System Controller Registers
[   1.0000000] syscon11 at simplebus0: System Controller Registers
[   1.0000000] syscon12 at simplebus0: System Controller Registers
[   1.0000000] syscon13 at simplebus0: System Controller Registers
[   1.0000000] syscon14 at simplebus0: System Controller Registers
[   1.0000000] syscon15 at simplebus0: System Controller Registers
[   1.0000000] syscon16 at simplebus0: System Controller Registers
[   1.0000000] syscon17 at simplebus0: System Controller Registers
[   1.0000000] syscon18 at simplebus0: System Controller Registers
[   1.0000000] syscon19 at simplebus0: System Controller Registers
[   1.0000000] syscon20 at simplebus0: System Controller Registers
[   1.0000000] syscon21 at simplebus0: System Controller Registers
[   1.0000000] syscon22 at simplebus0: System Controller Registers
[   1.0000000] syscon23 at simplebus0: System Controller Registers
[   1.0000000] syscon24 at simplebus0: System Controller Registers
[   1.0000000] syscon25 at simplebus0: System Controller Registers
[   1.0000000] syscon26 at simplebus0: System Controller Registers
[   1.0000000] syscon27 at simplebus0: System Controller Registers
[   1.0000000] syscon28 at simplebus0: System Controller Registers
[   1.0000000] syscon29 at simplebus0: System Controller Registers
[   1.0000000] syscon30 at simplebus0: System Controller Registers
[   1.0000000] syscon31 at simplebus0: System Controller Registers
[   1.0000000] syscon32 at simplebus0: System Controller Registers
[   1.0000000] syscon33 at simplebus0: System Controller Registers
[   1.0000000] syscon34 at simplebus0: System Controller Registers
[   1.0000000] syscon35 at simplebus0: System Controller Registers
[   1.0000000] syscon36 at simplebus0: System Controller Registers
[   1.0000000] syscon37 at simplebus0: System Controller Registers
[   1.0000000] syscon38 at simplebus0: System Controller Registers
[   1.0000000] syscon39 at simplebus0: System Controller Registers
[   1.0000000] syscon40 at simplebus0: System Controller Registers
[   1.0000000] syscon41 at simplebus0: System Controller Registers
[   1.0000000] syscon42 at simplebus0: System Controller Registers
[   1.0000000] syscon43 at simplebus0: System Controller Registers
[   1.0000000] syscon44 at simplebus0: System Controller Registers
[   1.0000000] syscon45 at simplebus0: System Controller Registers
[   1.0000000] syscon46 at simplebus0: System Controller Registers
[   1.0000000] syscon47 at simplebus0: System Controller Registers
[   1.0000000] syscon48 at simplebus0: System Controller Registers
[   1.0000000] syscon49 at simplebus0: System Controller Registers
[   1.0000000] syscon50 at simplebus0: System Controller Registers
[   1.0000000] syscon51 at simplebus0: System Controller Registers
[   1.0000000] syscon52 at simplebus0: System Controller Registers
[   1.0000000] syscon53 at simplebus0: System Controller Registers
[   1.0000000] syscon54 at simplebus0: System Controller Registers
[   1.0000000] syscon55 at simplebus0: System Controller Registers
[   1.0000000] syscon56 at simplebus0: System Controller Registers
[   1.0000000] syscon57 at simplebus0: System Controller Registers
[   1.0000000] syscon58 at simplebus0: System Controller Registers
[   1.0000000] syscon59 at simplebus0: System Controller Registers
[   1.0000000] syscon60 at simplebus0: System Controller Registers
[   1.0000000] syscon61 at simplebus0: System Controller Registers
[   1.0000000] syscon62 at simplebus0: System Controller Registers
[   1.0000000] syscon63 at simplebus0: System Controller Registers
[   1.0000000] syscon64 at simplebus0: System Controller Registers
[   1.0000000] syscon65 at simplebus0: System Controller Registers
[   1.0000000] syscon66 at simplebus0: System Controller Registers
[   1.0000000] syscon67 at simplebus0: System Controller Registers
[   1.0000000] syscon68 at simplebus0: System Controller Registers
[   1.0000000] syscon69 at simplebus0: System Controller Registers
[   1.0000000] syscon70 at simplebus0: System Controller Registers
[   1.0000000] syscon71 at simplebus0: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 702000000 Hz fixed clock (spll)
[   1.0000000] fclock1 at simplebus0: 24000000 Hz fixed clock (xin24m)
[   1.0000000] fclock2 at simplebus0: 32768 Hz fixed clock (xin32k)
[   1.0000000] syscon72 at simplebus0: System Controller Registers
[   1.0000000] rkcru0 at simplebus0: RK3588 CRU
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[   1.0000040] rkiomux0 at simplebus0: RK3588 IOMUX control
[   1.0000040] rkgpio0 at rkiomux0: GPIO v2 (gpio@fd8a0000)
[   1.0000040] gpio0 at rkgpio0: 32 pins
[   1.0000040] rkgpio0: interrupting on GICv3 irq 309
[   1.0000040] rkgpio1 at rkiomux0: GPIO v2 (gpio@fec20000)
[   1.0000040] gpio1 at rkgpio1: 32 pins
[   1.0000040] rkgpio1: interrupting on GICv3 irq 310
[   1.0000040] rkgpio2 at rkiomux0: GPIO v2 (gpio@fec30000)
[   1.0000040] gpio2 at rkgpio2: 32 pins
[   1.0000040] rkgpio2: interrupting on GICv3 irq 311
[   1.0000040] rkgpio3 at rkiomux0: GPIO v2 (gpio@fec40000)
[   1.0000040] gpio3 at rkgpio3: 32 pins
[   1.0000040] rkgpio3: interrupting on GICv3 irq 312
[   1.0000040] rkgpio4 at rkiomux0: GPIO v2 (gpio@fec50000)
[   1.0000040] gpio4 at rkgpio4: 32 pins
[   1.0000040] rkgpio4: interrupting on GICv3 irq 313
[   1.0000040] rkiic0 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic0 at rkiic0: I2C bus
[   1.0000040] rk8602 (rockchip,rk8602) at iic0 addr 0x42 not configured
[   1.0000040] rk8603 (rockchip,rk8602) at iic0 addr 0x43 not configured
[   1.0000040] fregulator0 at simplebus0: vcc5v0_host
[   1.0000040] fregulator1 at simplebus0: vcc5v0_sys
[   1.0000040] fregulator2 at simplebus0: vcc3v3_pcie30
[   1.0000040] rkiic1 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic1 at rkiic1: I2C bus
[   1.0000040] codec (ti,tlv320aic3100) at iic1 addr 0x18 not configured
[   1.0000040] rtc (nxp,pcf8523) at iic1 addr 0x68 not configured
[   1.0000040] fregulator3 at simplebus0: vcc_1v1_nldo_s3
[   1.0000040] fregulator4 at simplebus0: vcc1v2
[   1.0000040] fregulator5 at simplebus0: vcc12v_dcin
[   1.0000040] rkiic2 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic2 at rkiic2: I2C bus
[   1.0000040] regulator (rockchip,rk8602) at iic2 addr 0x42 not configured
[   1.0000040] rkiic3 at simplebus0: Rockchip I2C (100000 Hz)
[   1.0000040] iic3 at rkiic3: I2C bus
[   1.0000040] com0 at simplebus0: DesignWare APB UART, 64-byte FIFO
[   1.0000040] com0: console
[   1.0000040] com0: interrupting on GICv3 irq 365
[   1.0000040] fregulator6 at simplebus0: pcie30_avdd1v8
[   1.0000040] fregulator7 at simplebus0: pcie30_avdd0v75
[   1.0000040] fregulator8 at simplebus0: vcc5v0_usb
[   1.0000040] rkdrm0 at simplebus0
[   1.0000040] /opp-table-cluster0 at simplebus0 not configured
[   1.0000040] rkspi0 at simplebus0: SPI
[   1.0000040] rkspi0: interrupting on GICv3 irq 360
[   1.0000040] spi0 at rkspi0: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /opp-table-cluster1 at simplebus0 not configured
[   1.0000040] /opp-table-cluster2 at simplebus0 not configured
[   1.0000040] /l3-cache at simplebus0 not configured
[   1.0000040] /vop@fdd90000 at simplebus0 not configured
[   1.0000040] /phy@fed60000 at simplebus0 not configured
[   1.0000040] /phy@fed70000 at simplebus0 not configured
[   1.0000040] /power-management@fd8d8000/power-controller at syscon0 not configured
[   1.0000040] /opp-table-gpu at simplebus0 not configured
[   1.0000040] /syscon@fd5d0000/usb2phy@0 at syscon1 not configured
[   1.0000040] /phy@fed80000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d8000/usb2phy@8000 at syscon2 not configured
[   1.0000040] /syscon@fd5dc000/usb2phy@c000 at syscon3 not configured
[   1.0000040] /phy@fee20000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea10000 at simplebus0 not configured
[   1.0000040] /iommu@fdb50800 at simplebus0 not configured
[   1.0000040] /iommu@fdb60f00 at simplebus0 not configured
[   1.0000040] /iommu@fdb70f00 at simplebus0 not configured
[   1.0000040] /iommu@fdba0800 at simplebus0 not configured
[   1.0000040] /iommu@fdba4800 at simplebus0 not configured
[   1.0000040] /iommu@fdba8800 at simplebus0 not configured
[   1.0000040] /iommu@fdbac800 at simplebus0 not configured
[   1.0000040] /iommu@fdc38700 at simplebus0 not configured
[   1.0000040] /sram@ff001000 at simplebus0 not configured
[   1.0000040] /iommu@fdc40700 at simplebus0 not configured
[   1.0000040] /iommu@fdca0000 at simplebus0 not configured
[   1.0000040] /iommu@fdd97e00 at simplebus0 not configured
[   1.0000040] /hdmi@fdea0000 at simplebus0 not configured
[   1.0000040] /dsi@fde30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fea30000 at simplebus0 not configured
[   1.0000040] /dma-controller@fed10000 at simplebus0 not configured
[   1.0000040] /phy@fedb0000 at simplebus0 not configured
[   1.0000040] /pcie@fe180000 at simplebus0 not configured
[   1.0000040] /iommu@fc900000 at simplebus0 not configured
[   1.0000040] /pcie@fe190000 at simplebus0 not configured
[   1.0000040] /phy@fee00000 at simplebus0 not configured
[   1.0000040] /tsadc@fec00000 at simplebus0 not configured
[   1.0000040] /gpu@fb000000 at simplebus0 not configured
[   1.0000040] /i2s@fe470000 at simplebus0 not configured
[   1.0000040] /i2s@fddf4000 at simplebus0 not configured
[   1.0000040] /syscon@fd5d4000/usb2phy@4000 at syscon67 not configured
[   1.0000040] /phy@fed90000 at simplebus0 not configured
[   1.0000040] /phy@fee10000 at simplebus0 not configured
[   1.0000040] eqos0 at simplebus0: couldn't get php_grf syscon
[   1.0000040] /pmu-a55 at simplebus0 not configured
[   1.0000040] /pmu-a76 at simplebus0 not configured
[   1.0000040] ehci0 at simplebus0: EHCI
[   1.0000040] ehci0: interrupting on GICv3 irq 247
[   1.0000040] ehci0: 1 companion controller, 1 port
[   1.0000040] ehci0: Using DMA subregion for control data structures
[   1.0000040] usb0 at ehci0: USB revision 2.0
[   1.0000040] ohci0 at simplebus0: OHCI
[   1.0000040] ohci0: interrupting on GICv3 irq 248
[   1.0000040] ohci0: OHCI version 1.0
[   1.0000040] usb1 at ohci0: USB revision 1.0
[   1.0000040] ehci1 at simplebus0: EHCI
[   1.0000040] ehci1: interrupting on GICv3 irq 250
[   1.0000040] ehci1: 1 companion controller, 1 port
[   1.0000040] ehci1: Using DMA subregion for control data structures
[   1.0000040] usb2 at ehci1: USB revision 2.0
[   1.0000040] ohci1 at simplebus0: OHCI
[   1.0000040] ohci1: interrupting on GICv3 irq 251
[   1.0000040] ohci1: OHCI version 1.0
[   1.0000040] usb3 at ohci1: USB revision 1.0
[   1.0000040] /sram@fd600000 at simplebus0 not configured
[   1.0000040] /video-codec@fdb50000 at simplebus0 not configured
[   1.0000040] /rga@fdb60000 at simplebus0 not configured
[   1.0000040] /rga@fdb70000 at simplebus0 not configured
[   1.0000040] /rga@fdb80000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba0000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba4000 at simplebus0 not configured
[   1.0000040] /video-codec@fdba8000 at simplebus0 not configured
[   1.0000040] /video-codec@fdbac000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc38000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc40000 at simplebus0 not configured
[   1.0000040] /video-codec@fdc70000 at simplebus0 not configured
[   1.0000040] /dfi@fe060000 at simplebus0 not configured
[   1.0000040] dwcmmc0 at simplebus0: couldn't get clock biu
[   1.0000040] /mmc@fe2e0000 at simplebus0 not configured
[   1.0000040] /rng@fe378000 at simplebus0 not configured
[   1.0000040] /timer@feae0000 at simplebus0 not configured
[   1.0000040] dwcwdt0 at simplebus0: DesignWare Watchdog Timer
[   1.0000040] dwcwdt0: default watchdog period is 15 seconds
[   1.0000040] rkspi1 at simplebus0: SPI
[   1.0000040] rkspi1: interrupting on GICv3 irq 359
[   1.0000040] spi1 at rkspi1: SPI bus
[   1.0000040]  slave 0 not configured
[   1.0000040] /pwm@febe0000 at simplebus0 not configured
[   1.0000040] /adc@fec10000 at simplebus0 not configured
[   1.0000040] /efuse@fecc0000 at simplebus0 not configured
[   1.0000040] ausoc0 at simplebus0: hdmi1
[   1.0000040] /memory-controller at simplebus0 not configured
[   1.0000040] /analog-sound at simplebus0 not configured
[   1.0000040] gpiokeys0 at simplebus0: LPC GPIO Wakeup
[   1.0000040] rkdrm0: no display interface ports configured
[   1.0000040] rkdrm0: couldn't register DRM device: -6
[   1.0000040] ausoc0: couldn't acquire cpu dai on hdmi1-sound node
[   1.0000040] WARNING: system needs entropy for security; see entropy(7)
[   1.5759811] cpufreqdt0: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt1: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt2: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt3: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt4: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt5: couldn't acquire cpu-supply
[   1.5759811] cpufreqdt6: couldn't acquire cpu-supply
[   1.5859835] cpufreqdt7: couldn't acquire cpu-supply
[   1.6059828] uhub0 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6059828] uhub1 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6059828] uhub2 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   1.6059828] uhub3 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   2.6760063] uhub4 at uhub0 port 1: vendor 0451 (0x0451) product 8142 (0x8142), class 9/0, rev 2.10/1.00, addr 2
[   2.6760063] uhub4: multiple transaction translators
[   3.2660200] ubt0 at uhub3 port 1
[   3.2660200] ubt0: vendor 8087 (0x8087) product 0032 (0x0032), rev 2.01/0.00, addr 2
[   3.4260236] uhub5 at uhub4 port 1: GenesysLogic (0x05e3) USB2.1 Hub (0x0610), class 9/0, rev 2.10/6.63, addr 3
[   3.4260236] uhub5: single transaction translator
[   4.3160439] umass0 at uhub5 port 4 configuration 1 interface 0
[   4.3160439] umass0: General (0xabcd) UDisk (0x1234), rev 2.00/1.00, addr 4
[   4.3160439] scsibus0 at umass0: 2 targets, 1 lun per target
[   4.3160439] sd0 at scsibus0 target 0 lun 0: <General, UDisk, 5.00> disk removable
[   4.3260445] sd0: fabricating a geometry
[   4.3260445] sd0: 15360 MB, 15360 cyl, 64 head, 32 sec, 512 bytes/sect x 31457280 sectors
[   4.3360446] sd0: fabricating a geometry
[   4.3960460] dk0 at sd0: "EFI", 163840 blocks at 32768, type: msdos
[   4.3960460] dk1 at sd0: "netbsd-root", 31252480 blocks at 196608, type: ffs
[   4.9360581] uhidev0 at uhub4 port 3 configuration 1 interface 0
[   4.9360581] uhidev0: MNT (0x1209) Pocket Reform Input 2.0 (0x6d06), rev 2.10/0.01, addr 5, iclass 3/0
[   4.9760590] uhidev0: 4 report ids
[   4.9760590] ukbd0 at uhidev0 reportid 1
[   4.9760590] wskbd0 at ukbd0 mux 1
[   4.9760590] ums0 at uhidev0 reportid 2: 5 buttons, W and Z dirs
[   4.9760590] wsmouse0 at ums0 mux 0
[   4.9760590] uhid0 at uhidev0 reportid 3: input=2, output=0, feature=0
[   4.9760590] uhid1 at uhidev0 reportid 4: input=11, output=0, feature=0
[   5.4960709] ugen0 at uhub4 port 4
[   5.4960709] ugen0: Quectel (0x2c7c) EM06-E (0x0306), rev 2.00/3.10, addr 6
[   5.5060713] swwdog0: software watchdog initialized
[   5.5160717] WARNING: 13 errors while detecting hardware; check system log.
[   5.5260720] boot device: dk1
[   5.5260720] root on dk1
[   5.5360721] root file system type: ffs
[   5.5460725] kern.module.path=/stand/evbarm/11.0/modules
[   5.5460725] WARNING: no TOD clock present
[   5.5460725] WARNING: using filesystem time
[   5.5552970] WARNING: CHECK AND RESET THE DATE!
[   5.8160785] entropy: best effort
Wed Oct 14 18:32:55 UTC 2026
Starting root file system check:
/dev/rdk1: file system is clean; not checking
Not resizing / (NAME=netbsd-root): already correct size
Starting devpubd.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting file system checks:
/dev/rdk0: 225 files, 47878 free (47878 clusters)
random_seed: /var/db/entropy-file: Not present; creating
Saved entropy to /var/db/entropy-file.
Waiting for entropy...done
Setting tty flags.
Starting network.
Hostname: arm64
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
no valid interfaces found
Starting mdnsd.
Building databases: dev, utmp, utmpx, services.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting ntpd.
ssh-keygen: 256 SHA256:dFuc/fPTETH8cBi80BNbfEB/OmGUs70SajSzWLiJb0M root@arm64 (ECDSA)
ssh-keygen: 256 SHA256:/8/4dQurRaxFJVMwA9qkFLOQ+20za6lmZbVAAhFygfE root@arm64 (ED25519)
ssh-keygen: 3072 SHA256:uAbPvPUsOTyeAUO3j8Yx9dR+wLJtTeUNuJzr9/lKJk4 root@arm64 (RSA)
Starting sshd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
Starting postfix.
postfix/postlog: starting the Postfix mail system
Starting inetd.
Starting cron.
Configuring TLS trust anchors.
Wed Oct 14 18:34:37 UTC 2026

NetBSD/evbarm (arm64) (constty)

login: root
Oct 14 18:35:15 arm64 login: ROOT LOGIN (root) on tty constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    2024, 2025, 2026
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 11.0_STABLE (GENERIC64) #0: Wed Oct 14 18:32:45 UTC 2026

Welcome to NetBSD!

-- UNSAFE KEYS WARNING:

        The ssh host keys on this machine have been generated with
        not enough entropy configured, so they may be predictable.

        To fix, follow the "Adding entropy" section in the entropy(7)
        man page.  After this machine has enough entropy, re-generate
        the ssh host keys by running:

                /etc/rc.d/sshd keyregen
We recommend that you create a non-root account and use su(1) for root access.
arm64#

I have no clue about NetBSD, so shoot me a message if you’d like me to try out something!

1 Like

I can get there myself, so I dunno… magically fix all the missing/non-attaching drivers? :slight_smile:

Perhaps just to nail down the issue try to do a hot boot now (just shutdown -r now, I understand reboot is the usual way on linux now but that bypasses rc on netbsd) and see if the umass glitches out again? The only thing I can think of happening is that the umass got into a weird state after the reboot and then wouldn’t probe until a cold boot. I’m mildly curious if it happens every time.

On this btw, does barebox work on the reform2? I’d assume they’re simlar enough but you never know…

Unfortunately, I’m unable to reproduce the issue for some reason.

shutdown -r now seems to do the right thing:

arm64# shutdown -r now
Shutdown NOW!
shutdown: [pid 1108]
arm64# wall: You have write permission turned off; no reply possible
                                                                               
*** FINAL System shutdown message from root@arm64 ***                        
System going down IMMEDIATELY                                                  
                                                                               
                                                                               
Oct 14 19:15:57 arm64 shutdown: reboot by root: 

System shutdown time has arrived

About to run shutdown hooks...
Stopping cron.
Stopping inetd.
Saved entropy to /var/db/entropy-file.
Forcibly unmounting /var/shm
Removing block-type swap devices
Wed Oct 14 19:15:59 UTC 2026

Done running shutdown hooks.
Oct 14 19:16:05 arm64 syslogd[972]: Exiting on signal 15
[ 109.0884462] syncing disks... 4 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 done
[ 113.9385572] unmounting file systems...
[ 116.1686087] unmounting done
[ 116.1686087] rebooting...

It doesn’t seem to like poweroff though :smiley:

arm64# poweroff
Oct 14 19:17:47 arm64 poweroff: powered off by root
Oct 14 19:17:47 arm64 syslogd[975]: Exiting on signal 15
[ 114.8490238] syncing disks... done
[ 116.8990710] unmounting file systems...
[ 116.9590723] unmounting done
[ 132.0094171] cpu4: found cpu5 heart stopped beating after 16 seconds
[ 133.0094400] Skipping crash dump on recursive panic
[ 133.0094400] panic: cpu4: found cpu5 heart stopped beating and unresponsive
[ 133.0094400] cpu4: Begin traceback...
[ 133.0094400] trace fp ffffc004be109af0
[ 133.0094400] fp ffffc004be109b20 vpanic() at ffffc00000514a30 netbsd:vpanic+0x1a0
[ 133.0094400] fp ffffc004be109b80 panic() at ffffc00000514b14 netbsd:panic+0x44
[ 133.0194401] fp ffffc004be109c10 defibrillate() at ffffc000004c7274 netbsd:defibrillate+0xb4
[ 133.0194401] fp ffffc004be109c60 hardclock() at ffffc000004b6948 netbsd:hardclock+0x88
[ 133.0194401] fp ffffc004be109cb0 gtmr_intr() at ffffc0000000874c netbsd:gtmr_intr+0xdc
[ 133.0194401] fp ffffc004be109cd0 pic_dispatch() at ffffc000000023a4 netbsd:pic_dispatch+0x44
[ 133.0194401] fp ffffc004be109d10 gicv3_irq_handler() at ffffc000000058b0 netbsd:gicv3_irq_handler+0x10c
[ 133.0294405] fp ffffc004be109e58 aarch64_cpu_idle_wfi() at ffffc000000ad304 netbsd:aarch64_cpu_idle_wfi+0x4c
[ 133.0294405] fp ffffc004be109ea0 idle_loop() at ffffc000004c6d64 netbsd:idle_loop+0x84
[ 133.0294405] fp 0000000000000000 cpu_mpstart() at ffffc00000001a78 netbsd:cpu_mpstart+0x194
[ 133.0294405] cpu4: End traceback...

It “works” yes but the main reason (with Linux) why you want barebox on the rk3588 is because it gives you early display support. That doesn’t work on the classic reform yet.

Whoops :grin:

Okay, that was exactly what I wanted to know. Thanks!

To make display work in barebox on RK3588 (classic) Reform someone just has to switch to the rk3588-mnt-reform2.dts and add some glue code to get the TI SN65DSI86 DSI->eDP connector going. I assume this would be possible as a prototype even with just some barebox shell scripting (i2c commands, there’s precedent from that in the forum here).

Details: U-Boot and internal screen? - #10 by johkra

Alternatively, one could port the function bridgeinit() from the 9front driver for imx8mq MNT Reform: https://git.9front.org/plan9front/plan9front/c813cfa1981b3566a34b4d614fa5ec2aaee53819/sys/src/9/imx8/lcd.c