BSD Ports

emulators/rvvm 0.6 FreeBSD

RISC-V Virtual Machine

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2, GPLv3, MPL20
Categories
emulators
Package size
940.5 KiB, 5339.8 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).

Install

Binary package:

pkg install RVVM

From the ports tree:

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

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

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

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.60.6-0.60.6
FreeBSD:14:quarterly0.60.6n/a0.60.6
FreeBSD:15:latest0.60.6n/a0.60.6
FreeBSD:15:quarterly0.60.6n/an/an/a
FreeBSD:16:latest0.60.6n/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 9
Run dependencies 6

No port depends on this one.

Configuration

Options name: emulators_RVVM

OptionDefaultDescription
FDTonenable automatic FDT generation
FPUonenable floating point (F/D) CPU extension
JITonenable RVJIT accelerator
JNIoninclude native JNI bindings in shared librvvm
NETonenable unprivileged userland networking stack
PCIonenable PCI support in ATA, etc devices
RV64onenable riscv64 CPU support
SPINLOCK_DEBUGonenable deadlock debugging (minimal runtime overhead)
USES
gmake localbase:ldflags
Service scripts
none
Flavors
RVVM-nox11-0.6

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 30
  • bin/rvvm
  • include/rvvm/ata.h
  • include/rvvm/chardev.h
  • include/rvvm/clint.h
  • include/rvvm/eth-oc.h
  • include/rvvm/fb_window.h
  • include/rvvm/fdtlib.h
  • include/rvvm/framebuffer.h
  • include/rvvm/gpio-sifive.h
  • include/rvvm/gpio_api.h
  • include/rvvm/hid_api.h
  • include/rvvm/hid_dev.h
  • include/rvvm/i2c-hid.h
  • include/rvvm/i2c-oc.h
  • include/rvvm/mtd-physmap.h
  • include/rvvm/ns16550a.h
  • include/rvvm/nvme.h
  • include/rvvm/pci-bus.h
  • include/rvvm/plic.h
  • include/rvvm/ps2-altera.h
  • include/rvvm/rtc-ds1742.h
  • include/rvvm/rtc-goldfish.h
  • include/rvvm/rtl8169.h
  • include/rvvm/rvvmlib.h
  • include/rvvm/syscon.h
  • include/rvvm/tap_api.h
  • lib/librvvm.so
  • lib/librvvm_static.a
  • share/RVVM/fw_jump.bin
  • share/RVVM/fw_payload.bin
distinfo 4
FileSizeSHA256
rvvm-0.6/fw_jump.bin13677660f5aedaf90be271eef9e4f1a479171c183987f97f86208811e9212b121d5b45
rvvm-0.6/fw_payload.bin2.958016e+06d97321ca71be85a98dcc1757b721616d6ed68304afe853336273cb19b424da6c
rvvm-0.6/riscv-tests.tar.gz87062f0e888a8db158b1e82ac09cebd01d8e1d5913477d1515c41286fae5e309e5322
rvvm-0.6/LekKit-RVVM-v0.6_GH0.tar.gz31334297e98c95d8785438758b81fb5c695b8eafb564502c6af7f52555b056e3bb7d7a
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 0

No commits in the history this site was built from.