[Bug 1904802] Re: please provide firmware file for riscv64

Heinrich Schuchardt 1904802 at bugs.launchpad.net
Tue Jul 27 12:14:02 UTC 2021


The QEMU source comes with bundled OpenSBI binaries ./pc-bios/opensbi-
riscv*-generic-fw_dynamic.*

docs/system/riscv/virt.rst describes booting in S-mode without the -bios
option only using -kernel. To my understanding the bundled OpenSBI
binaries are used.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1904802

Title:
  please provide firmware file for riscv64

Status in opensbi package in Ubuntu:
  New
Status in qemu package in Ubuntu:
  New
Status in u-boot package in Ubuntu:
  New

Bug description:
  please provide firmware file for riscv64

  
  I'm not sure which package should ship it, or what it should look like, but i want something like this:

  qemu-system-riscv64 -machine virt -m 2048 -smp 4 -kernel
  /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf -device
  loader,file=/usr/lib/u-boot/qemu-
  riscv64_smode/uboot.elf,addr=0x80200000 -device virtio-blk-
  device,drive=vda -drive file=livecd.ubuntu-cpc.img,id=vda -device
  virtio-net-device,netdev=eth0 -netdev user,id=eth0

  
  such that on riscv64 opensbi loader is available as firmware, with qemu smode uboot.elf.

  I don't know how to write the appropriate qmeu/firmware/*.json for it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/1904802/+subscriptions




More information about the foundations-bugs mailing list