On Fri, May 19, 2023 at 09:11:37AM -0700, Andrea Bolognani wrote: > On Tue, Apr 25, 2023 at 03:55:45PM +0530, Sunil V L wrote: > > qemu-system-riscv64 -bios <opensbi_fw> \ > > -drive file=<smode_fw_vars>,if=pflash,format=raw,unit=0 \ > > -drive file=<smode_fw_code>,if=pflash,format=raw,unit=1,readonly=on \ > > -machine virt > > I've noticed that edk2 for RISC-V, at least in the form it is > currently packaged for Fedora, doesn't seem to have separate CODE and > VARS files: > > $ ls /usr/share/edk2/riscv/* | cat > /usr/share/edk2/riscv/RISCV_VIRT.fd > /usr/share/edk2/riscv/RISCV_VIRT.raw > > Is that something that needs to be addressed in upstream edk2? If so, > will you be looking into it? > Hi Andrea,
Yes, I have changes ready but before I submit EDK2 patches, I need qemu changes merged which enables EDK2 to use both pflash. Thanks, Sunil