Continuing my #JavaOnSingleBoardComputers with a new #JavaOnRiscV test! The #StarFive #VisionFive 2 Lite is a 60€ board with 4Gb RAM and a 4-core #RISCV processor, and ... it runs #Java of course ;-)

More info in the blog:
https://webtechie.be/post/2026-01-16-first-test-visionfive-java/

The video is available on YouTube:
https://www.youtube.com/watch?v=70FYg1YzFfM

First Test of Java on the VisionFive 2 Lite (RISC-V)

As part of my 2026 learning goals around Java on RISC-V (see this post about x86 versus ARM versus RISC-V), I’ve asking various suppliers to send me …

webtechie.be
2026 goal: experiment with #Java on #RiscV. And look what arrived on the last day of 2025! 😍😊👌🤩 #OrangePi #VisionFive #JavaOnSingleBoardComputers #JavaOnRiscV
Geil, mein #VisionFive 2 #RISCV SBC kam heute mit der Post 😍
StarFive VisionFive2 – The perfect RISC-V Board for Ubuntu – Review • gyptazy.com - The DevOps geek

The VisionFive2 board, built on the innovative RISC-V hardware architecture, has found a powerful ally in Ubuntu. The exceptional support that Ubuntu provides for VisionFive2, offering the latest packages for RISC-V architecture, even in current releases down to 24.04 is mind blowing. This stands in stark contrast to other operating systems like Debian and FreeBSD,

gyptazy.com - The DevOps geek • DevOps, coding, cloud and open source in a geeky way.

It's alive!!!

#HardenedBSD booting to multiuser on the #VisionFive #StarFive2 #riscv64 SBC.

Okay, so I figured it out. Several things changed without documentation, and there are undocumented assumptions:

- the newer Ubuntu images for the #StarFive #VisionFive 2 are more automated than they used to be. More of the EFI stuff is fully automated, and used more sophisticated parts of the EFI partition format than u-boot's filesystem commands know about (but the boot commands still read correctly)
- the SD card loader assumes you have no eMMC. (!) I still had eMMC with FreeBSD installed on it, so for a bit the Ubuntu loader was booting FreeBSD from eMMC, *because the Ubuntu u-boot assumes it is on the first valid mmc device*. But the first valid mmc device is the eMMC if it's installed.

And now that I sorted that out, I need to set it aside for the night because I sorted this out in bed and the wifi config tools aren't in the server image so I need a hard-line tomorrow 🙃

#RISCV

第806回 Ubuntu 24.04 LTSの開発版をVisionFive 2のM.2 NVMeストレージにインストールする | gihyo.jp

VisionFive 2はStarFive Technology製のRISC-Vシングルボードコンピューター(SBC)です。今回はこのVisionFive 2のM.2 NVMeストレージにUbuntuの最新開発版である24.04(noble)をインストールしてみましょう。

gihyo.jp
Yeah, that would be really cool! While Ubuntu is already very long preparing everything and also having everything in place for rv64 (I think since 20.04 with compiled packages) they could focus the time to support the different hardware boards like #Nezha, #Polarfire, #Unmatched, #Lichee, #VisionFive etc. They did a great job and made the entry to the RISC-V world very easy. Honestly, I've just seen this accidentally when grabbing sources to compile for #Debian #Bookworm (for the snapshot archive back in that time). Then I just gave Ubuntu a try... Worth a post - kudos!

Having boards from European manufacturers world be really very cool but I guess also much more expensive than the current boards from china. But teaching rv64 assembly is a bit too much, we can be lucky when they teach them at least something in tech :D

CC: @[email protected] @[email protected]
You can find some newer packages for #Debian #Bookworm (which is used by the #VisionFive #VisionFive2 board) than the 2022 snapshot old ones for #RISCV on https://gyptazy.ch. But you can also grab my whole QEMU image to build it yourself or just spawn up a #chroot with #qemu static (qemu-riscv64-static) by running:

mmdebstrap --architectures=riscv64 --aptopt='Acquire::Check-Valid-Until "false"' --include="debian-ports-archive-keyring" sid /srv/riscv64-chroot "deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20220616T194833Z unstable main"

cp /usr/bin/qemu-riscv64-static /srv/riscv64-chroot/usr/bin/

chroot /srv/riscv64-chroot/ qemu-riscv64-static /bin/bash


Tags:
#risc #riscv #risc64 #riscv64 #starfive #vision #packages #crosscompile #foss
Welcome

DevOps, FreeBSD, coding, cloud and open-source in a geeky way. Find out more about Ansible, Kubernetes, Prometheus and other fancy tools.