How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "APN-Pucky/ubuntu22.04-riscv64"
  config.vm.box_version = "0.0.1"
end
vagrant init APN-Pucky/ubuntu22.04-riscv64 \
  --box-version 0.0.1
vagrant up

This version was created about 1 year ago.

The PR https://github.com/ppggff/vagrant-qemu/pull/42 needs to be applied to vagrant-qemu. Example Vagrantfile. You must adjust the u-boot-bin kernel path and qemu dir:

Vagrant.configure("2") do |config|
  config.vm.box = "APN-Pucky/ubuntu22.04-riscv64"
  config.vm.box_version = "0.0.1"
  config.vm.provider "qemu" do |qe|
    qe.arch = "riscv64"
    qe.qemu_dir = "/usr/share/qemu"
    qe.machine = "virt"
    qe.extra_qemu_args= ["-nographic","-kernel","/usr/share/u-boot-bin/u-boot-bin-riscv64-generic.bin"]
    qe.cpu= nil
  end
end
2 providers for this version.
  • libvirt
    unknown Hosted by Vagrant Cloud (2.42 GB)
  • qemu
    unknown Hosted by Vagrant Cloud (2.42 GB)