Regarding RISCV on genode virt_qemu_riscv

Christian Helmuth christian.helmuth at genode-labs.com
Wed Nov 23 08:12:27 CET 2022


Hello Pranab,

On Tue, Nov 22, 2022 at 16:28:08 CET, Pranab Kumar Rout cs21m045 wrote:
> spawn qemu-system-riscv64 -nographic -serial mon:stdio -kernel
> var/run/log/boot/image.elf -m 512 -machine virt -cpu rv64,priv_spec=v1.10.0
> -bios default -global virtio-mmio.force-legacy=false -device
> virtio-net-device,bus=virtio-mmio-bus.0,netdev=net0 -device
> virtio-mouse-device -device virtio-keyboard-device -device
> virtio-gpu-device -netdev user,id=net0
> 
> qemu-system-riscv64: Unable to load the RISC-V firmware
> "opensbi-riscv64-virt-fw_jump.bin"

This is a Qemu error. Typically, the firmware binary is part of the
Qemu package. I have some questions that help to narrow down the cause
of the error.

- Which version of Qemu is used?
- Does you Qemu package contain the file opensbi-riscv64-virt-fw_jump.bin?
  find <path to package> -name opensbi-riscv64-virt-fw_jump.bin
- Do you use Qemu from your Linux distribution or did you build it
  manually?
- If manually built, which configuration did you choose when building?

Regards
-- 
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · https://genodians.org/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



More information about the users mailing list