In 2023, I got the Star64 board, with 4 core 1.5Ghz cpu, and 8GB RAM. I’ll have the board drive the booth monitor at the upcoming Open Source Summit Japan conference, so looked into current support with Linux. The previous article is here, and the wiki page with the gory details is here.
Where are we with support?
I just looked at Linux, and for my use case of lighting up the booth monitor. The Star64 is still available from the pine store, also the STARPro64, a kind of followup model with 32GB RAM. State of support by component:
- Storage: The Star64 has a PCIe slot, I’ve used a riser card with NVMe storage in the past. Quite fast.. but now I had to update the Star64 firmware, and got aware of a hardware (?) issue of the Star64 which just leaves running from internal MicroSD (“MMC”) slot. On the newer firmware, the Star64 also boots from storage connected via USB3, but also that is affected by the hardware issue. I’ve also seen a file system corruption, and just used MMC since then.
- HDMI: Possible with extra patch sets, details below
- WLAN: Possible with extra patch sets, details below
One of the differences between ARM/RISC-V and x86 is the use of DTB, “Device Tree Blob”: on x86, the hardware can be detected by the kernel relatively easily. On ARM/RISC-V, a DTB fitting to the hardware has to be provided, so the kernel understands the hardware details. The Star64 is using the StarFive JH-7110 SoC (chipset). Many RISC-V Linux distros come with a DTB for the StarFive, but not specifically for the Star64, so hardware details can not be used.

Which Linux distro to go with?
RISC-V is since some time a first class citizen for Fedora, and I starte my testing with a RHEL 10.3 image from colleagues. I saw backtraces from kernel modules, these disappeared after installing newer firmware on the Star64. The RHEL image runs well, but with just Gbit ethernet. HDMI and wlan would need extra patches. A great bringup article from our RISC-V team.
Distros ‘Fishwaldo image’ and ‘ArmbianTV’ had their last updates in 2023, I did not look at them any more. The [https://www.armbian.com/star64/](Armbian VisionFive2 image) is getting updated as of 2026, if has images for Debian trixie and Ubuntu/XFCE. I saw HDMI output coming up on a real monitor, but not with the HDMI-usb-converter I’m using. The generic jh7110-starfive-visionfive-2-v1.3b DTB is used, after patching that manually, I got wifi working.
Debian has an actively updated RISC-V variant, I’ve not tried it on bare metal but as container with podman - to use the huge variety of available packages.
I’ve settled with the Fedora45 server image. Out of the box it uses already
the jh7110-pine64-star64 DTB. Wifi works on stock Fedora kernel with
this custom driver. For
HDMI, I ended up going to the linux-next kernel, and then modified the
linux-next inbox wifi driver until working.
Fedora SpecialInterestGroup (SIG)
For all of this testing, accessing the Star64 via serial console is required. I’m using ‘minicom -b 115200 -o -D /dev/ttyUSB0’ with a USB-serial converter.
Firmware update
Running the RISC-V distros from 2026, I was seeing traces from kernel modules,
eventually solved by updating the Star64 firmware.
Update details.
The steps of updating was quite interesting:
- Get some image to run, for me RHEL10 or Fedora45 worked
- Then get package mtd-utils-2.2.1-4.fc44.riscv64.rpm, it contains the the flashcp tool
- Get package uboot-images-riscv64-2026.01-3.0.riscv64.fc43.noarch.rpm for the new firmware
- Use rpm2cpio to extract the files, then update. Device /dev/mtd* provice access to raw flash memory/firmware.
# ./flashcp -v starfive_visionfive2/spl/u-boot-spl.bin.normal.out /dev/mtd0
Erasing blocks: 3/3 (100%)
Writing data: 145k/145k (100%)
Verifying data: 145k/145k (100%)
# ./flashcp -v starfive_visionfive2/u-boot.itb /dev/mtd2
Erasing blocks: 25/25 (100%)
Writing data: 1591k/1591k (100%)
Verifying data: 1591k/1591k (100%)
Then, we need to reset the system and on the EFI prompt reset the variables:
StarFive # env default -f -a; env save
## Resetting to default environment
Saving Environment to SPIFlash... Erasing SPI flash...Writing to SPI flash...done
OK
StarFive #
EFI shell / How is the DTB sourced?
When booting, we have to deal with 2 interaction points:
- (1) The EFI shell
- (2) The GRUB2 shell
After resetting the system, the EFI shell gets available first, via serial access. Many commands are available. We can scan for NVME’s, for MicroSD (MMC) devices, instruct to load kernel/initrd/dtb and then kick off to run the kernel. Example for Fedora:
Star64 # nvme scan
Star64 # load nvme 0:2 ${fdt_addr_r} dtb/starfive/jh7110-pine64-star64.dtb
32022 bytes read in 4 ms (7.6 MiB/s)
Star64 # load nvme 0:1 ${kernel_addr_r} EFI/fedora/shimriscv64.efi
864675 bytes read in 9 ms (91.6 MiB/s)
Star64 # bootefi ${kernel_addr_r} ${fdt_addr_r}
While GRUB shell can read file systems and allows file name completion, the EFI shell can not do this. I opened the RISC-V image to be booted on a x86 system as follows, and inspected the pathes:
kpardx -av fedora-riscv.img
( creates i.e. 3 loopback device nodes for the 3 partitions in the image )
mkdir -p /mnt/tmp1 /mnt/tmp2 /mnt/tmp3
mount /dev/mapper/loop1p1 /mnt/tmp1
mount /dev/mapper/loop1p2 /mnt/tmp2
mount /dev/mapper/loop1p3 /mnt/tmp3
After the firmware update, the EFI shell tries default ways to boot images on MMC, NVMe or USB-storage. When that succeeds, uboot is running GRUB2 from the media, and multiple kernels/boot options are presented.
Wifi support
When using for example the Fishwaldo image, then wlan works out of the box. The Fedora 45 server image does not provide wifi support out of the box, wifi can be enabled via 2 ways.
But first, confirm if the wlan chip appears as USB device. If not, the DTB might need to be patched. We take the Visionfive DTB and customize it for the Start64:
# decompile:
dtc -I dtb -O dts -o /tmp/vf2.dts \
/boot/dtb/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
# In lines 805–806 inside usb@10100000, change from
status = "okay";
dr_mode = "peripheral";
phandle = <0x80>;
into
status = "okay";
dr_mode = "host";
disable-over-current;
phandle = <0x80>;
# compile
dtc -I dts -O dtb -o jh7110-star64-patched.dtb /tmp/vf2.dts
# Then boot with jh7110-star64-patched.dtb and "lsusb"
# should show this device:
Bus 001 Device 004: ID 0bda:b852 Realtek Semiconductor Corp. 802.11ax WLAN Adapter
Wifi method 1: out-of-tree driver
This custom driver can nicely be compiled against the vanilla Fedora kernel. Just install the kernel-headers, the drivers script will then build and install the out-of-tree driver. Compiling happens on the Star64 board, takes 30-40min. Not the kernel is recompiled, just the driver.
# For me, the in-kernel wlan driver was constantly resetting
# in a loop. So let's blacklist and unload it:
echo "blacklist rtw89_8852bu" > /etc/modprobe.d/blacklist-rtw89.conf
modprobe -r rtw89_8852bu
# Now compile out of tree driver:
dnf install git dkms kernel-devel kernel-headers make gcc
git clone https://github.com/morrownr/rtl8852bu-20250826/
cd rtl8852bu-20250826
sudo ./install-driver.sh
# This compiles & installs the driver
Wifi method 2: modified intree driver
The HDMI patches pushed me to use the linux-next kernel, basically the play- ground for new code before it gets mature in the normal kernel. I crosscompiled linux-next from an x86 system, so patching/compiling the morrownr driver was no longer an option. On linux-next, when loading the rtw89_8852bu driver, I ended up in a loop of USB-resets. The inbox driver needs modifications to fix various issues like the bus driver resetting, the updated driver can eventually be used.
I did these modifications after running the 7.4.0-rc3-next-20261118+ kernel with the patches required for HDMI output.
$ diff ./drivers/net/wireless/realtek/rtw89/usb.c.org ./drivers/net/wireless/realtek/rtw89/usb.c
1143a1144,1147
> return 0;
> }
> static int __unused_rtw89_usb_switch_mode(struct rtw89_dev *rtwdev)
> {
$ diff ./drivers/net/wireless/realtek/rtw89/core.c.org ./drivers/net/wireless/realtek/rtw89/core.c
7378c7378,7379
< wiphy_rfkill_set_hw_state(rtwdev->hw->wiphy, blocked);
---
> // wiphy_rfkill_set_hw_state(rtwdev->hw->wiphy, blocked);
> wiphy_rfkill_set_hw_state(rtwdev->hw->wiphy, false);
Custom kernel for HDMI
For HDMI, 2 patch sets are required which are ontop of the linux-next kernel, not the vanilla/stable kernel. We will fetch the kernel. Then we use the ‘b4’ tool with a reference to post on the mailing list, that creates a .mbox file with our patches, which we apply to the tree. The second patch set is also required for HDMI output.
### First patchset
b4 am 20261106-jh7110-clean-send-v7-11-68f7ea9913db@samsung.com
# The created file:
# v7_20261106_m_wilczynski_drm_starfive_jh7110_enable_display_subsystem.mbx
git clone https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
cd linux-next
# We now apply the patches
git am ../v7_20261106_m_wilczynski_drm_starfive_jh7110_enable_display_subsystem.mbx
cp /boot/config .config
make olddefconfig
# At this point, activate the options added by the patches in the
# .config kernelconfig:
./scripts/config --enable CONFIG_CLK_STARFIVE_JH7110_VOUT
./scripts/config --enable CONFIG_DRM_VERISILICON_DC8200
./scripts/config --enable CONFIG_DRM_INNO_HDMI
./scripts/config --enable CONFIG_DRM_STARFIVE_JH7110_INNO_HDMI
./scripts/config --enable CONFIG_DRM_FBDEV_EMULATION
### Second patchset
b4 am 20261106-jh7110-inno-hdmi-phy-v7-0-d49368303800@samsung.com
git am ../v7_20261106_m_wilczynski_phy_add_the_starfive_jh7110_innosilicon_hdmi_phy.mbx
# Confirm the available options, enable them:
cat drivers/phy/starfive/Kconfig
./scripts/config --enable CONFIG_PHY_STARFIVE_JH7110_INNO_HDMI
grep CONFIG_PHY_STARFIVE_JH7110_INNO_HDMI .config
At that point, I was already running the system from MMC. As the kernel tree is big, I used a mounted NFS share, hosted by a Thinkpad T590. I had started to natively compile the kernel on the Star64, but aborted after 6h. Colleagues had estimated this to take one day. Surprisingly, crosscompiling from x86 works flawlessly! Here from a Fedora 44, which anyway was already hosting the NFS share.
# crosscompile
cd /mnt/nobackup/nfsexport/tmp/star64/git/linux-next
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- olddefconfig
make -j$(nproc) ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- Image modules dtbs
cd staging/lib/modules
tar cf 7.4.0-rc3-next-20261118-modules2.tar 7.4.0-rc3-next-20261118+
# on the Star64
cd /lib/modules
tar xvf /mnt/nobackup/nfsexport/tmp/star64/git/linux-next/7.4.0-rc3-next-20261118-modules2.tar
cd /mnt/nfs/tmp/star64/git/linux-next
KERNEL_VER="7.4.0-rc3-next-20261118+"
cp arch/riscv/boot/Image /boot/vmlinuz-${KERNEL_VER}
cp System.map /boot/System.map-${KERNEL_VER}
cp .config /boot/config-${KERNEL_VER}
# copy DTB
mkdir -p /boot/dtb-${KERNEL_VER}/starfive
cp arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb /boot/dtb-${KERNEL_VER}/starfive/
dracut --force /boot/initramfs-${KERNEL_VER}.img ${KERNEL_VER}
grubby --add-kernel=/boot/vmlinuz-${KERNEL_VER} \
--initrd=/boot/initramfs-${KERNEL_VER}.img \
--title="Fedora 45 Custom (${KERNEL_VER})" \
--copy-default
With the patches in place, this works now, and SDDM/sway/xfce run:
# cat /sys/class/drm/card0-HDMI-A-1/status
connected
# cat /sys/class/drm/card0-HDMI-A-1/modes
1280x720
4096x2160
[..]

RISC-V emulation
For native compiling “with a RISC-V cpu” I also tried this:
- Take an image of the MMC card (pv /dev/mmcblk0 >mmcblk0-dump-Fedora45)
- Run QEMU full system emulation with the image as disk
Running qemu plainly with all the options is a pain, I use virsh:
$ virsh delete fedora-riscv
$ virsh undefine fedora-riscv --nvram
$ virt-install --import --name fedora-riscv --osinfo fedora-rawhide \
--arch riscv64 --cpu mode=maximum --vcpus 4 --ram 12000 \
--boot uefi --feature acpi=on --disk path=mmcblk0-dump-Fedora45 \
--network default --tpm none --graphics none \
--controller scsi,model=virtio-scsi
Works nicely! Just turned out that the emulated RISC-V cpus were slower than the Star64 cpus. So in order of increasing performance:
- compiling on emulated RISC-V cpus
- compiling natively on Star64
- crosscompiling on an average x86 sytem
What’s the best storage option?
With NVMe and USB not being possible, I benchmarked read/write to small files on NFS, MMC and RAM. I had to use NFS anyway as I just have 32GB MMC cards, but NFS, accessed via Gbit ethernet and backed by NVMe in the Thinkpad is also faster than the internal MMC:
# fio --filename=/fiofile --size=2GB --direct=1 --rw=randrw --bs=4k \
--ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 \
--time_based --group_reporting --name=iops-test-job --eta-newline=1
| Config | bandwidth |
|---|---|
| Star64 32GB MicroSD card | 4MiB/s |
| Star64 NFS over gbit | 10MiB/s |
| Star64 RAM | 166MiB/s |
| Thinkpad NVMe | 96MiB/s |
| Thinkpad RAM | 2273MiB/s |
What to run on the monitor?
So what to run on the monitor at the booth? I’ve created a custom background picture, taking the Fedora 45 artwork as base. Fedora package ‘caca-utils’ has cacademo, a nice ascii-art demo to run. The HDMI output is not 3D accelerated, that needs to be considered. Via podman, for example the Debian RISC-V image can be installed easily, opening up a huge amount of packages:
podman pull docker.io/library/debian:sid-slim
podman run -it fdc01c9d83f9 bash
> apt update
> apt dist-upgrade
> apt install bb
> /usr/games/bb
TIC-80 is a tiny computer with quite some graphical demos available. After compiling on the Star64, it runs - of course without 3D acceleration. Badapple is a good standard, and running a bit to slow on the Star64 to be appealing. So ‘bb’ and ‘cacademo’ it is.

Summary
It’s surprising that the mainstream RISC-V distros on the Star64 do not come up with HDMI and Wifi.. after 3 years. It’s possible to patch the kernel to get both running, but I’m not optimistic these will land in the mainstream distros like Fedora any more. OS can run from the internal MMC, and if high speed storage is needed that can be imported via network with NFS or iSCSI.
With the 8GB of RAM, Wifi and 2 Gbit rj45 connectors, the Star64 can be used for running services.
