OpenBSD 7.4 (very very very soon)?

From what is new (a partial list of new features in 7.4):

  • “Add stfrng(4), a driver for the random number generator on the StarFive JH7110 SoC.”
  • “Add support for the PCIe controller on the JH7110 SoC with stfpciephy(4)
  • “Add support for JH7110 to dwmmc(4), making eMMC and microSD mostly work on the Starfive VisionFive 2.”

And from the full list of changes made between OpenBSD 7.3 and 7.4

  • “Introduced stfrng(4), a driver for the random number generator on the JH7110 SoC.”
  • “Added JH7110 I2C clocks to stfclock(4).”
  • “Introduced stfpciephy(4), a driver to control the PCIe 2.0 and USB 3.0 PHY on the StarFive JH7110 SoC.”
  • “Introduced stfpcie(4), a driver to support the PLDA XpressRICH-AXI PCIe controller on the StarFive JH7110 SoC.”
  • “Implemented support for the GPIOs on the JH7110, making it possible to reboot the VisionFive 2.”
  • “Added StarFive JH7110 support to dwqe(4).”
  • “Added support for JH7110 to dwmmc(4), making the eMMC and microSD mostly work on the StarFive VisionFive 2.”
  • “Added support for JH7110 to stftemp(4), adding temperature sensor support for the StarFive VisionFive 2.”

But unfortunately it does not explicitly say “StarFive VisionFive 2” in the instructions on how to install (yet), hopefully that is just waiting on the final documentation to be updated.

The documnentaton might not be updated, because there are zero precompiled riscv64 binary packages (yet):
At this exact moment in time all that is displayed in that folder is:

Index of /pub/OpenBSD/7.4/packages/
../                                                16-Oct-2023 09:44
aarch64/                                           10-Oct-2023 15:51
amd64/                                             07-Oct-2023 04:12
i386/                                              11-Oct-2023 00:52
powerpc64/                                         16-Oct-2023 04:58
sparc64/                                           12-Oct-2023 07:17

It is currently missing the following folders of precompiled packages:


EDIT: I just found an announcement message to the mailing list about the official release of OpenBSD 7.4 saying “Packages for the following architectures will be made available as their builds complete: arm ; mips64 ; powerpc ; powerpc64 ; riscv64”


OpenBSD guys are the best. OpenBSD is also the only BSD that boots and installas on my Power Mac G5 without any issues. Kudos to them for the extensive work they do!


If there’s instructions on install i’d be interested. Run GhostBSD on an old laptop.
@jakubtalich ona G5? Wow, well done

The binary packages for riscv64 has not been populated (yet, should happen very very soon), I’m still working out the details on how I plan to install OpenBSD on my VF2.

I am currently I’m looking at these links and trying to come up with the simplest plan that I possibly can:

I’m even looking at the “official” OpenBSD instructions, which is currently missing any instructions for the VF2 board
And I am looking at the current instructions for ARM7 boards for possible ideas, to keep the install on the VF2 as simple as humanly possible:

And I’m trying to workout which port of the Linux Device Tree Binary files for JH7110 would be best supported under OpenBSD 7.4 (Possibly Linux 6.5?)

Simply dd the image to an SD card, mount it and put the appropriate dtb (see my script) in the vendor folder. Unmount and then reboot.

If it doesn’t boot automatically you can boot from the uboot cmd like so:

load mmc 1:1 0x48000000 vendor/jh7110-starfive-visionfive-2-v1.3b.dtb
load mmc 1:1 0x44000000 efi/boot/bootriscv64.efi
bootefi 0x44000000 0x48000000

Think there is no “official” support yet for the vf2 but it works very well.