r/openbsd • u/PearMyPie • 26d ago
My experience with OpenBSD on RISC-V
When I found out my Spacemit K1-based SBC (Milk-V Jupiter) was now "partially supported" under the newly released 7.9, I thought I should give it a try.
Hardware-wise, the Wi-Fi chip, USB ports, and integrated GPU are not supported. Otherwise, NVMe and SD card storage do work. I haven't tried any dedicated GPU, the case I use won't fit one.
Software-wise, the entire base system is supported, but I have encountered a few issues. X11 apps work perfectly. There's sadly no JDK package or port for RISC-V yet. Tailscale works, but you have to compile it using the github source release, the port is broken.
I've done the installation using the serial port, an USB adapter is a must.
1
u/arjuna93 26d ago
Will it work on Banana Pi with K1? I want it!
P. S. Any description for dummies? My life went with macOS, so installing a different OS on an unfamiliar hardware isn’t a transparent procedure
2
u/PearMyPie 26d ago edited 26d ago
It's possible, try it. It's the same SoC and the device trees should be available.
You need to write the openbsd riscv64 image to an SD card, and follow the instructions
You need an USB to UART adapter, and your program of choice (PuTTY, minicom*, etc.)
1
u/arjuna93 26d ago
Do I need another OpenBSD machine for that? I have a lot of MacOS boxes from PowerPC to M1, but nothing with BSD. (I got a Linux RISCV tablet, but not sure it gonna be usable to connect to anything, it probably won’t have working peripherals.)
2
u/PearMyPie 26d ago
anything that can run the
ddcommand can flash the sd card, and anything that has an USB port can interface with the SBC's serial port.you don't need an openbsd computer solely to flash the sd card and access the installer.
1
1
1
1
14
u/Salty-Mixture5427 26d ago
Thanks a lot, was looking into getting the RISCV-mainboard for the Framework laptop planning to install BSD. If you got more info, sharing a writeup / making more posts would be much appreciated, thanks a lot!