On 6/15/23 13:50, Sunil V L wrote:
On Wed, Jun 14, 2023 at 07:11:18PM +0200, Heinrich Schuchardt wrote:
Sunil V L <suni...@ventanamicro.com> schrieb am Mi., 14. Juni 2023, 19:01:
Recent updates to RISC-V qemu virt platform merged today (07/14),
have enabled both pflash devices for the S-mode payload like EDK2.
These updates also aligned the design similar to other architectures
where pflash0 is for read-only code and pflash1 for variable store.
Previously only pflash1 was available for S-mode use.
Current EDK2 will not work with this latest qemu changes since it always
assumed to boot from pflash1. So, separate the code and variable
store and use pflash0 to keep the code.
Not all users will have the newest QEMU provided by their Linx distro. Will
it be possible to boot the same EDK II binary on old and new QEMU
releases?
Hi Heinrich,
While both unified and separate images can not be generated at the same
time, a build flag can be used by which the user can build one of
the schemes matching qemu capabilities. Default will be separate
code and vars matching the latest qemu.
I believe this will alleviate the concern. If this looks better, let me
test and send v2.
Thanks!
Sunil
At least Debian and Ubuntu packaging relies on the separation of code
and variables. So anyway we would not be able back-port EDK II as
package to anything that does not have the upcoming QEMU release.
It would be helpful to document the constraints in the yet to be created
OvmfPkg/RiscVVirt/ReadMe.rst.
Best regards
Heinrich
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106117): https://edk2.groups.io/g/devel/message/106117
Mute This Topic: https://groups.io/mt/99532021/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-