Commit 2e0eeac953 for qemu.org
commit 2e0eeac953bcf613c07a775375dabd8971b5de74
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon Aug 24 18:47:38 2026 +0200
edk2: rename risc-v firmware builds
'riscv' => 'riscv64', for consistency with the other
architectures which all have '64' in the name.
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20260824164751.1700783-7-kraxel@redhat.com>
diff --git a/pc-bios/descriptors/60-edk2-riscv64.json b/pc-bios/descriptors/60-edk2-riscv64.json
index 14811ca307..7f03083d5e 100644
--- a/pc-bios/descriptors/60-edk2-riscv64.json
+++ b/pc-bios/descriptors/60-edk2-riscv64.json
@@ -6,11 +6,11 @@
"mapping": {
"device": "flash",
"executable": {
- "filename": "@DATADIR@/edk2-riscv-code.fd",
+ "filename": "@DATADIR@/edk2-riscv64-code.fd",
"format": "raw"
},
"nvram-template": {
- "filename": "@DATADIR@/edk2-riscv-vars.fd",
+ "filename": "@DATADIR@/edk2-riscv64-vars.fd",
"format": "raw"
}
},
diff --git a/pc-bios/edk2-riscv-code.fd.bz2 b/pc-bios/edk2-riscv64-code.fd.bz2
similarity index 100%
rename from pc-bios/edk2-riscv-code.fd.bz2
rename to pc-bios/edk2-riscv64-code.fd.bz2
diff --git a/pc-bios/edk2-riscv-vars.fd.bz2 b/pc-bios/edk2-riscv64-vars.fd.bz2
similarity index 100%
rename from pc-bios/edk2-riscv-vars.fd.bz2
rename to pc-bios/edk2-riscv64-vars.fd.bz2
diff --git a/pc-bios/meson.build b/pc-bios/meson.build
index f7412bf53e..961d99fde4 100644
--- a/pc-bios/meson.build
+++ b/pc-bios/meson.build
@@ -3,8 +3,8 @@ if unpack_edk2_blobs
fds = [
'edk2-aarch64-code.fd',
'edk2-aarch64-vars.fd',
- 'edk2-riscv-code.fd',
- 'edk2-riscv-vars.fd',
+ 'edk2-riscv64-code.fd',
+ 'edk2-riscv64-vars.fd',
'edk2-x86_64-code.fd',
'edk2-x86_64-secure-code.fd',
'edk2-loongarch64-code.fd',
diff --git a/roms/edk2-build.config b/roms/edk2-build.config
index fcf9da8c76..96ebc3bcd9 100644
--- a/roms/edk2-build.config
+++ b/roms/edk2-build.config
@@ -89,10 +89,10 @@ conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
arch = RISCV64
plat = RiscVVirtQemu
dest = ../pc-bios
-cpy1 = FV/RISCV_VIRT_CODE.fd edk2-riscv-code.fd
-cpy2 = FV/RISCV_VIRT_VARS.fd edk2-riscv-vars.fd
-pad1 = edk2-riscv-code.fd 32m
-pad2 = edk2-riscv-vars.fd 32m
+cpy1 = FV/RISCV_VIRT_CODE.fd edk2-riscv64-code.fd
+cpy2 = FV/RISCV_VIRT_VARS.fd edk2-riscv64-vars.fd
+pad1 = edk2-riscv64-code.fd 32m
+pad2 = edk2-riscv64-vars.fd 32m
####################################################################################
# LoongArch64
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index 9aadc1a1f6..8fc470daa0 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -1782,8 +1782,8 @@ static void test_acpi_riscv64_virt_tcg_numamem(void)
.machine = "virt",
.arch = "riscv64",
.tcg_only = true,
- .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
- .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+ .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+ .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
.cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
.ram_start = 0x80000000ULL,
.scan_len = 128ULL * MiB,
@@ -1883,8 +1883,8 @@ static void test_acpi_riscv64_virt_tcg_acpi_spcr(void)
.machine = "virt",
.arch = "riscv64",
.tcg_only = true,
- .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
- .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+ .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+ .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
.cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
.ram_start = 0x80000000ULL,
.scan_len = 128ULL * 1024 * 1024,
@@ -2198,8 +2198,8 @@ static void test_acpi_riscv64_virt_tcg(void)
.machine = "virt",
.arch = "riscv64",
.tcg_only = true,
- .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
- .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+ .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+ .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
.cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
.ram_start = 0x80000000ULL,
.scan_len = 128ULL * MiB,