diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py index c2cbe01a..8da1a057 100644 --- a/pmb/qemu/run.py +++ b/pmb/qemu/run.py @@ -193,6 +193,10 @@ def command_qemu(args, arch, img_path, img_path_2nd=None): command += ["-M", "virt"] command += ["-cpu", "cortex-a57"] command += ["-device", "virtio-gpu-pci"] + elif arch == "riscv64": + command += ["-M", "virt"] + command += ["-device", "virtio-gpu-pci"] + command += ["-bios", f"{rootfs}/usr/share/opensbi/generic/firmware/fw_jump.elf"] else: raise RuntimeError(f"Architecture {arch} not supported by this command" " yet.")