Skip to content

OpenSBI 1.5 packaged in QEMU 9.0.50 fails to support poweroff with 'spike' board

Host environment

  • Operating system: Ubuntu 24.10
  • OS/kernel version: 6.8.0-31-generic
  • Architecture: amd64
  • QEMU flavor: qemu-system-riscv64
  • QEMU version: 9.0.50 (v9.0.0-2711-g93b799fafd)
  • QEMU command line: qemu-system-riscv64 -kernel u-boot.bin

Steps to reproduce

Build upstream U-Boot:

Run U-Boot and execute poweroff command

  • qemu-system-riscv64 -kernel u-boot.bin
  • poweroff

Poweroff fails.

When building upstream OpenSBI v1.5 with

and then running

  • qemu-system-riscv64 -bios fw_dynamic.bin -kernel u-boot.bin
  • poweroff

poweroff succeeds.

Please, distribute an unpatched OpenSBI v1.5 with QEMU.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information