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

Dimitri John Ledkov 1904802 at bugs.launchpad.net
Tue Jul 27 14:21:57 UTC 2021


That's not enough. The json file I'm asking for in this bug report would
not only load generic opensbi but would also load our location for
uboot.

A second json file would load opensbi and edk2 firmware with various
options.

See the json files that we provide on x86 and arm64, that not only setup
firmware but also the other pieces to get to UEFI with secureboot and
enrolled keys, etc.

These json files are needed to be then consumed by libvirt which would
also be able to expose them in virt-manager.

Ideally in virt-manger it would be able to start riscv64 VM to boot any
extlinux.conf compatible image for example (i.e. the current cloud
images, unleashed, and unmatched images we ship). A different option
would then provide to boot into EDK2 once we have it.

-- 
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