edk2: update to stable202202

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmIwT54ACgkQTLbY7tPo
 cTj2qA/9H7v8vfJbQsWqn5mdiciOTwef8PHEHtKyKAiPSFtmr7rocuPOgGQSUndw
 YJaep2xf5JY6UbKrWI0JRMVVEG3QnJtVZtcA9hbVm+bg0FOD6pep8rT7NHe5tnFc
 xmCQ4+86yzkB4qitjSg1MQys5ObpxZs8+geyqILm0d73j+3AyOy7AB/BeEIO0MdK
 PFwoN/77QIc6YN0lKs7xYuqIN96BrsoLRdFlJyiOtASgrs9TuQGWCsKHP2gAzsZV
 2AOWDh8vifQb2KcyGiH00cXZBxK6y/J5QMFqZIpBR8jo0Uje0DLOI0/h2nFJ7jjM
 4ZoW02+VBR8zGraD8zUhltQJZuniY3Uh9gX2eFLCly/TN6/x6Qs4STrWxGb5UnhF
 snz4AFm8e1V4fGMxB1TgC0ieN8DFyL5+ZN7wLD/2uBDa65Ph2mfvDEgi5uy6Mz6d
 QGS27GMmng7Az4WT6MLp4wkgJ8oxq/hjLzoj8phkUyhgozJLV3eIwTQfjX3D0Ygb
 wRwvTK/Bsi+xbIFL4uOigp0Fu3+6oU6g1hGLa454iJQ7Fxn4kLfqrdND8Uw4rHiI
 nWAHN6rBAqHFuBNOGRgJt5W8rVrCVnf45fLwWpZAicQKSRLQ1tOz2V/aZInJumeT
 dKsJkPc61fvghtS4kRMCOTMq5yXqwXRw1rlq0xQm6kRxYd7qvow=
 =yMPA
 -----END PGP SIGNATURE-----

Merge tag 'edk2-20220315-pull-request' of git://git.kraxel.org/qemu into staging

edk2: update to stable202202

# gpg: Signature made Tue 15 Mar 2022 08:34:38 GMT
# gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* tag 'edk2-20220315-pull-request' of git://git.kraxel.org/qemu:
  MAINTAINERS: take edk2
  edk2/docker: use ubuntu 18.04
  edk2/docker: install python3
  tests/acpi: disallow virt memory hotplug changes
  tests/acpi: update expected data files
  edk2: update binaries to stable202202
  edk2: add microvm build
  edk2: .git can be a file
  edk2: switch to release builds
  edk2: update submodule to stable202202
  tests/acpi: allow virt memory hotplug changes

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2022-03-15 13:08:35 +00:00
commit 1af26ce670
13 changed files with 26 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# #
# Docker image to cross-compile EDK2 firmware binaries # Docker image to cross-compile EDK2 firmware binaries
# #
FROM ubuntu:16.04 FROM ubuntu:18.04
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
@ -20,7 +20,7 @@ RUN apt update \
iasl \ iasl \
make \ make \
nasm \ nasm \
python \ python3 \
uuid-dev \ uuid-dev \
&& \ && \
\ \

View File

@ -3159,7 +3159,7 @@ F: docs/interop/firmware.json
EDK2 Firmware EDK2 Firmware
M: Philippe Mathieu-Daudé <f4bug@amsat.org> M: Philippe Mathieu-Daudé <f4bug@amsat.org>
R: Gerd Hoffmann <kraxel@redhat.com> M: Gerd Hoffmann <kraxel@redhat.com>
S: Supported S: Supported
F: hw/i386/*ovmf* F: hw/i386/*ovmf*
F: pc-bios/descriptors/??-edk2-*.json F: pc-bios/descriptors/??-edk2-*.json

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -13,6 +13,7 @@
SHELL = /bin/bash SHELL = /bin/bash
target = RELEASE
toolchain = $(shell source ./edk2-funcs.sh && qemu_edk2_get_toolchain $(1)) toolchain = $(shell source ./edk2-funcs.sh && qemu_edk2_get_toolchain $(1))
licenses := \ licenses := \
@ -32,6 +33,7 @@ flashdevs := \
i386-secure-code \ i386-secure-code \
x86_64-code \ x86_64-code \
x86_64-secure-code \ x86_64-secure-code \
x86_64-microvm \
\ \
arm-vars \ arm-vars \
i386-vars i386-vars
@ -50,7 +52,7 @@ all: $(foreach flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
# we're building from a tarball and that they've already been fetched by # we're building from a tarball and that they've already been fetched by
# make-release/tarball scripts. # make-release/tarball scripts.
submodules: submodules:
if test -d edk2/.git; then \ if test -e edk2/.git; then \
cd edk2 && git submodule update --init --force -- \ cd edk2 && git submodule update --init --force -- \
ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \ ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \
BaseTools/Source/C/BrotliCompress/brotli \ BaseTools/Source/C/BrotliCompress/brotli \
@ -73,7 +75,7 @@ submodules:
-D NETWORK_TLS_ENABLE \ -D NETWORK_TLS_ENABLE \
-D TPM2_ENABLE \ -D TPM2_ENABLE \
-D TPM2_CONFIG_ENABLE -D TPM2_CONFIG_ENABLE
cp edk2/Build/ArmVirtQemu-AARCH64/DEBUG_$(call toolchain,aarch64)/FV/QEMU_EFI.fd \ cp edk2/Build/ArmVirtQemu-AARCH64/$(target)_$(call toolchain,aarch64)/FV/QEMU_EFI.fd \
$@ $@
truncate --size=64M $@ truncate --size=64M $@
@ -87,7 +89,7 @@ submodules:
-D NETWORK_TLS_ENABLE \ -D NETWORK_TLS_ENABLE \
-D TPM2_ENABLE \ -D TPM2_ENABLE \
-D TPM2_CONFIG_ENABLE -D TPM2_CONFIG_ENABLE
cp edk2/Build/ArmVirtQemu-ARM/DEBUG_$(call toolchain,arm)/FV/QEMU_EFI.fd \ cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_EFI.fd \
$@ $@
truncate --size=64M $@ truncate --size=64M $@
@ -101,7 +103,7 @@ submodules:
-D NETWORK_TLS_ENABLE \ -D NETWORK_TLS_ENABLE \
-D TPM_ENABLE \ -D TPM_ENABLE \
-D TPM_CONFIG_ENABLE -D TPM_CONFIG_ENABLE
cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_CODE.fd $@ cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
../pc-bios/edk2-i386-secure-code.fd: submodules ../pc-bios/edk2-i386-secure-code.fd: submodules
+./edk2-build.sh \ +./edk2-build.sh \
@ -115,7 +117,7 @@ submodules:
-D TPM_CONFIG_ENABLE \ -D TPM_CONFIG_ENABLE \
-D SECURE_BOOT_ENABLE \ -D SECURE_BOOT_ENABLE \
-D SMM_REQUIRE -D SMM_REQUIRE
cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_CODE.fd $@ cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_CODE.fd $@
../pc-bios/edk2-x86_64-code.fd: submodules ../pc-bios/edk2-x86_64-code.fd: submodules
+./edk2-build.sh \ +./edk2-build.sh \
@ -127,7 +129,7 @@ submodules:
-D NETWORK_TLS_ENABLE \ -D NETWORK_TLS_ENABLE \
-D TPM_ENABLE \ -D TPM_ENABLE \
-D TPM_CONFIG_ENABLE -D TPM_CONFIG_ENABLE
cp edk2/Build/OvmfX64/DEBUG_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@ cp edk2/Build/OvmfX64/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
../pc-bios/edk2-x86_64-secure-code.fd: submodules ../pc-bios/edk2-x86_64-secure-code.fd: submodules
+./edk2-build.sh \ +./edk2-build.sh \
@ -142,15 +144,25 @@ submodules:
-D TPM_CONFIG_ENABLE \ -D TPM_CONFIG_ENABLE \
-D SECURE_BOOT_ENABLE \ -D SECURE_BOOT_ENABLE \
-D SMM_REQUIRE -D SMM_REQUIRE
cp edk2/Build/Ovmf3264/DEBUG_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@ cp edk2/Build/Ovmf3264/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@
../pc-bios/edk2-x86_64-microvm.fd: submodules
+./edk2-build.sh \
x86_64 \
--arch=X64 \
--platform=OvmfPkg/Microvm/MicrovmX64.dsc \
-D NETWORK_IP6_ENABLE \
-D NETWORK_HTTP_BOOT_ENABLE \
-D NETWORK_TLS_ENABLE
cp edk2/Build/MicrovmX64/$(target)_$(call toolchain,x86_64)/FV/MICROVM.fd $@
../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd ../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd
cp edk2/Build/ArmVirtQemu-ARM/DEBUG_$(call toolchain,arm)/FV/QEMU_VARS.fd \ cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_VARS.fd \
$@ $@
truncate --size=64M $@ truncate --size=64M $@
../pc-bios/edk2-i386-vars.fd: ../pc-bios/edk2-i386-code.fd ../pc-bios/edk2-i386-vars.fd: ../pc-bios/edk2-i386-code.fd
cp edk2/Build/OvmfIa32/DEBUG_$(call toolchain,i386)/FV/OVMF_VARS.fd $@ cp edk2/Build/OvmfIa32/$(target)_$(call toolchain,i386)/FV/OVMF_VARS.fd $@
# The license file accumulates several individual licenses from under edk2, # The license file accumulates several individual licenses from under edk2,
# prefixing each individual license with a header (generated by "tail") that # prefixing each individual license with a header (generated by "tail") that

@ -1 +1 @@
Subproject commit 06dc822d045c2bb42e497487935485302486e151 Subproject commit b24306f15daa2ff8510b06702114724b33895d3c

View File

@ -50,6 +50,6 @@ qemu_edk2_set_cross_env "$emulation_target"
build \ build \
--cmd-len=65536 \ --cmd-len=65536 \
-n "$edk2_thread_count" \ -n "$edk2_thread_count" \
--buildtarget=DEBUG \ --buildtarget=RELEASE \
--tagname="$edk2_toolchain" \ --tagname="$edk2_toolchain" \
"${args[@]}" "${args[@]}"

Binary file not shown.