Comment 0 for bug 1980594

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

QEMU 7.0 supports KVM on RISC-V.
Package u-boot-qemu supplies /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf.

That binary cannot be used to boot via qemu-system-riscv64 -kvm.

File u-boot produced by qemu-riscv64_smode_defconfig with

CONFIG_MTD_NOR_FLASH=n
CONFIG_CMD_NET=n

can be used to start U-Boot with qemu-system-riscv64 -kvm. But any virtio access leads to a crash leaving QEMU unresponsive.

Cf. https://lists.denx.de/pipermail/u-boot/2022-July/487893.html