Comment 3 for bug 1990499

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

QEMU 7.0 comes with an internal version of OpenSBI which is in package qemu-system-data, file /usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin.

You should not need parameter -bios once you are on QEMU 7.0:

/usr/bin/qemu-system-riscv64 \
-machine virt -nographic -m 2048 -smp 4 \
-kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \
-device virtio-net-device,netdev=eth0 -netdev user,id=eth0 \
-drive file=ubuntu-20.04.5-preinstalled-server-riscv64+unmatched.img.xz,format=raw,if=virtio

When using KVM the parameter bios is explicitly forbidden for RISC-V.

@Isaac
Could you, please, retest on Kinetic without
<loader readonly="yes" type="rom">/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf</loader>
This will allow us to understand if only Jammy needs a fix.