How to play with a RiscV version of Haiku in TinyEMU or QEMU?

I uploaded test Haiku riscv64 based in my Device manager v2 branch (GitHub - X547/haiku at device_manager2). Following targets are supported:

  1. VisionFive 2 (SD card, NVMe)
  2. TinyEMU (RAW)
  3. QEMU (RAW, UEFI)
  4. RVVM (RAW, UEFI)

Archive includes shell scripts to run various virtual machines. When running on VisionFive 2, flash ROM boot method should be used (both boot mode DIP switches on “LO” position). Firmware version should be not newer than v3.1.5 because of bug #52.

When using TinyEMU, this branch should be used: GitHub - X547/TinyEMU.

RVVM is available here (including Linux and Windows binaries in releases section): GitHub - LekKit/RVVM: The RISC-V Virtual Machine. RVVM is currently fastest software RISC-V emulator, it supports JIT code generation from RISC-V machine code to host machine instructions.

RAW boot loader means that Haiku boot loader is directly used as machine firmware. It boots faster compared to UEFI, but it currently do not support multiple CPU cores and limited to virtual machines only.

Download link: haiku-hrev57311+155-dm2.zip - Google Drive.

11 Likes