roms/efi: cleanup fix, config update, ekd2 binary rebuild
cover roms/efi: cleanup fix, config update, ekd2 binary rebuild
Gerd Hoffmann (5):
roms/efi: clean up edk2 build config
roms/efi: drop workaround for edk2-stable202308 roms/efi: exclude efi shell from secure boot builds roms/efi: use pure 64-bit build for edk2-x86_64-secure-code.fd update edk2 binaries for arm, risc-v and x86 secure boot.
pc-bios/edk2-aarch64-code.fd.bz2 | Bin 1589320 -> 1589310 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 1571418 -> 1571693 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 2130741 -> 1876986 bytes pc-bios/edk2-riscv-code.fd.bz2 | Bin 1345420 -> 1289160 bytes pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 2214892 -> 1967967 bytes roms/Makefile | 1 + roms/edk2-build.config | 13 ++++--------- 7 files changed, 5 insertions(+), 9 deletions(-)
Signature · 1 line
2.44.0
PATCH 1/5 roms/efi: clean up edk2 build config
Needed to avoid stale toolchain configurations breaking firmware builds.
--- roms/Makefile | 1 + 1 file changed, 1 insertion(+)
roms/Makefile +1 -0
@@ -187,6 +187,7 @@ clean: rm -rf seabios/.config seabios/out seabios/builds $(MAKE) -C ipxe/src veryclean $(MAKE) -C edk2/BaseTools clean + rm -rf edk2/Conf/{.cache,BuildEnv.sh,build_rule.txt,target.txt,tools_def.txt} $(MAKE) -C SLOF clean rm -rf u-boot/build-e500 $(MAKE) -C u-boot-sam460ex distclean
Signature · 1 line
2.44.0
Re: [PATCH 1/5] roms/efi: clean up edk2 build config
Quoted 6 lines · Gerd Hoffmann
Needed to avoid stale toolchain configurations breaking firmware builds.
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile | 1 + 1 file changed, 1 insertion(+)
PATCH 2/5 roms/efi: drop workaround for edk2-stable202308
In reply to Gerd HoffmannNot needed for newer edk2 versions.
--- roms/edk2-build.config | 6 ------ 1 file changed, 6 deletions(-)
roms/edk2-build.config +0 -6
@@ -32,9 +32,6 @@ PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1 # shim.efi has broken MemAttr code PcdUninstallMemAttrProtocol = TRUE -[pcds.workaround.202308] -PcdFirstTimeWakeUpAPsBySipi = FALSE - #################################################################################### # i386
@@ -66,7 +63,6 @@ desc = ovmf build (64-bit) conf = OvmfPkg/OvmfPkgX64.dsc arch = X64 opts = common -pcds = workaround.202308 plat = OvmfX64 dest = ../pc-bios cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd
@@ -77,7 +73,6 @@ conf = OvmfPkg/OvmfPkgIa32X64.dsc arch = IA32 X64 opts = common ovmf.sb.smm -pcds = workaround.202308 plat = Ovmf3264 dest = ../pc-bios cpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
@@ -87,7 +82,6 @@ desc = ovmf build for microvm conf = OvmfPkg/Microvm/MicrovmX64.dsc arch = X64 opts = common -pcds = workaround.202308 plat = MicrovmX64 dest = ../pc-bios cpy1 = FV/MICROVM.fd edk2-x86_64-microvm.fd
Signature · 1 line
2.44.0
PATCH 3/5 roms/efi: exclude efi shell from secure boot builds
In reply to Gerd HoffmannBugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4641
--- roms/edk2-build.config | 1 + 1 file changed, 1 insertion(+)
roms/edk2-build.config +1 -0
@@ -18,6 +18,7 @@ CAVIUM_ERRATUM_27456 = TRUE [opts.ovmf.sb.smm] SECURE_BOOT_ENABLE = TRUE SMM_REQUIRE = TRUE +BUILD_SHELL = FALSE [opts.armvirt.silent] DEBUG_PRINT_ERROR_LEVEL = 0x80000000
Signature · 1 line
2.44.0
Re: [PATCH 3/5] roms/efi: exclude efi shell from secure boot builds
Quoted 5 lines · Gerd Hoffmann
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4641
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/edk2-build.config | 1 + 1 file changed, 1 insertion(+)
PATCH 4/5 roms/efi: use pure 64-bit build for edk2-x86_64-secure-code.fd
In reply to Gerd Hoffmann--- roms/edk2-build.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
roms/edk2-build.config +3 -3
@@ -70,11 +70,11 @@ cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd [build.ovmf.x86_64.secure] desc = ovmf build (64-bit, secure boot) -conf = OvmfPkg/OvmfPkgIa32X64.dsc -arch = IA32 X64 +conf = OvmfPkg/OvmfPkgX64.dsc +arch = X64 opts = common ovmf.sb.smm -plat = Ovmf3264 +plat = OvmfX64 dest = ../pc-bios cpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
Signature · 1 line
2.44.0
PATCH 5/5 update edk2 binaries for arm, risc-v and x86 secure boot.
In reply to Gerd HoffmannRebuilt with latest build configuration
and up-to-date toolchain setup.
No source code changes.
--- pc-bios/edk2-aarch64-code.fd.bz2 | Bin 1589320 -> 1589310 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 1571418 -> 1571693 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 2130741 -> 1876986 bytes pc-bios/edk2-riscv-code.fd.bz2 | Bin 1345420 -> 1289160 bytes pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 2214892 -> 1967967 bytes 5 files changed, 0 insertions(+), 0 deletions(-)
pc-bios/edk2-aarch64-code.fd.bz2 binary +0 -0
pc-bios/edk2-arm-code.fd.bz2 binary +0 -0
pc-bios/edk2-i386-secure-code.fd.bz2 binary +0 -0
pc-bios/edk2-riscv-code.fd.bz2 binary +0 -0
pc-bios/edk2-x86_64-secure-code.fd.bz2 binary +0 -0
Signature · 1 line
2.44.0