BSD Ports

emulators/rvvm-devel 0.7.g20260826 FreeBSD

RISC-V Virtual Machine (development version)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
cbd19d0717
License
GPLv2, GPLv3, MPL20
Categories
emulators
Package size
619.1 KiB, 3608.0 KiB installed

Description

RVVM is a virtual machine / emulator for RISC-V guests, which emphasizes on performance, security, lean code and portability. It already runs a lot of guest operating systems, including Linux, Haiku, FreeBSD, OpenBSD, etc. It also aims to run RISC-V applications on a foreign-arch host without full OS guest & isolation (Userland emulation).

This port holds a version of the project that is close to what is currently in development.

In the other systems

SystemPortVersion
FreeBSDemulators/rvvm-devel0.7.g20260826
HardenedBSDemulators/rvvm-devel0.7.g20260826
GhostBSDemulators/rvvm-devel0.7.g20260826

Install

Binary package:

pkg install RVVM-devel

From the ports tree:

cd /usr/ports/emulators/rvvm-devel/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	RVVM-devel>0:emulators/rvvm-devel
LIB_DEPENDS=	librvvm.so:emulators/rvvm-devel

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.g202608260.7.g20260826--0.7.g20260826
FreeBSD:14:quarterly0.7.g202608260.7.g20260826n/a-0.7.g20260826
FreeBSD:15:latest0.7.g202608260.7.g20260826n/a--
FreeBSD:15:quarterly0.7.g202608260.7.g20260826n/an/an/a
FreeBSD:16:latest0.7.g202608260.7.g20260826n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

No port depends on this one.

Configuration

Options name: emulators_RVVM

OptionDefaultDescription
FDTonenable automatic FDT generation
FPUonenable floating point (F/D) CPU extension
GDBSTUBoffenable GDB remote protocol support
JITonenable RVJIT accelerator
JNIoninclude native JNI bindings in shared librvvm
LOCK_DEBUGonenable deadlock debugging (minimal runtime overhead)
NETonenable unprivileged userland networking stack
PCIonenable PCI support in ATA, etc devices
RV64onenable riscv64 CPU support
RVVoffenable vector (V) CPU extension
SOUNDoffSound (audio) support
USES
gmake pkgconfig
Service scripts
none
Flavors
RVVM-devel-nox11-0.7.g20260826

Message after installing

RVVM has been installed.

To execute a disk image, run

    rvvm /usr/local/share/RVVM/fw_payload.bin [flags] -i $disk.img

To execute a custom kernel payload, run

    rvvm /usr/local/share/RVVM/fw_jump.bin [flags] -k $kernel.bin

For further details, execute rvvm --help.

Files

pkg-plist 23
  • bin/rvvm
  • include/rvvm/rvvm.h
  • include/rvvm/rvvm_base.h
  • include/rvvm/rvvm_blk.h
  • include/rvvm/rvvm_board.h
  • include/rvvm/rvvm_char.h
  • include/rvvm/rvvm_fb.h
  • include/rvvm/rvvm_fdt.h
  • include/rvvm/rvvm_gpio.h
  • include/rvvm/rvvm_hid.h
  • include/rvvm/rvvm_i2c.h
  • include/rvvm/rvvm_irq.h
  • include/rvvm/rvvm_pci.h
  • include/rvvm/rvvm_region.h
  • include/rvvm/rvvm_snapshot.h
  • include/rvvm/rvvm_usb.h
  • include/rvvm/rvvm_vmm.h
  • lib/librvvm.so
  • lib/librvvm.so.0
  • lib/librvvm.so.0.0
  • libdata/pkgconfig/rvvm.pc
  • share/RVVM-devel/fw_jump.bin
  • share/RVVM-devel/fw_payload.bin
distinfo 4
FileSizeSHA256
rvvm-0.7.g20260826/fw_jump.bin13677660f5aedaf90be271eef9e4f1a479171c183987f97f86208811e9212b121d5b45
rvvm-0.7.g20260826/fw_payload.bin2.958016e+06d97321ca71be85a98dcc1757b721616d6ed68304afe853336273cb19b424da6c
rvvm-0.7.g20260826/riscv-tests.tar.gz1514508ae000badcadc883f46572e75895cc4d2d05f2c07fac3e5f86896ab51888de39
rvvm-0.7.g20260826/LekKit-RVVM-0.7.g20260826-a662c0edd507b4e04f20d44490c514b683007ae7_GH0.tar.gz6424456a0657eb6615a3e535a08f856544a9305d32996eeee89f91c63c55553737372a
Master sites 2
  • https://github.com/LekKit/patches-misc/releases/download/rvvm-uboot-2024.7/:fw
  • https://github.com/LekKit/riscv-tests/releases/download/rvvm-tests/:tests

Commit history 1

DateCommitCreditsLog message
cbd19d0717 Robert Clausecker emulators/rvvm-devel: update to 0.7-g20260826
- use "tput me" in post-test to not spill onto the terminal - add elf_aux_info() codepath for armv7 - fix stripping (upstream installs libraries correctly these days) Changelog: https://github.com/LekKit/RVVM/commits/a662c0edd507b4e04f20d44490c514b683007ae7 Event: EuroBSDcon Devsummit 2026