Gerd Hoffmann
3b1ddbddee
OvmfPkg/RiscVVirt: use gEfiAuthenticatedVariableGuid unconditionally
...
ArmVirt and OVMF are doing the same.
See commit d92eaabefb
("OvmfPkg: simplify VARIABLE_STORE_HEADER
generation") for details.
Suggested-by: László Érsek <lersek@redhat.com >
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Message-Id: <20240109112902.30002-2-kraxel@redhat.com >
2024-01-09 16:31:57 +00:00
Qingyu Shang
819cfc6b42
OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config
...
The block size configuration of Blockmap does not match that in Qemu
VirtNorFlash, which causes variable data to be written into FtwWorkBlock
by mistake, resulting in data loss during reboot. Fix it and update
new checksum value.
Signed-off-by: Qingyu Shang <2931013282@sjtu.edu.cn >
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com >
2023-08-25 01:54:50 +00:00
Sunil V L
f6c4b0a78e
OvmfPkg/RiscVVirt: Fix couple of issues in VarStore
...
The size of the FV and the WriteQueueSize is incorrect which causes
the flash to be re-written during boot. Fix them and update the new
checksum value.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Cc: Andrei Warkentin <andrei.warkentin@intel.com >
Cc: Heinrich Schuchardt <heinrich.schuchardt@canonical.com >
2023-06-23 04:49:11 +00:00
Sunil V L
92b27c2e6a
OvmfPkg/RiscVVirt: Add build files for Qemu Virt platform
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076
Add infrastructure files to build edk2 for RISC-V qemu virt machine.
- It follows PEI less design.
- EDK2 for qemu virt is booted in S-mode as a payload for M-mode FW
- Leveraged from ArmVirtQemu
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com >
Acked-by: Abner Chang <abner.chang@amd.com >
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2023-02-16 05:53:28 +00:00