summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/PlatformCI/QemuBuild.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-01-24 15:45:02 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-26 18:54:58 +0000
commit0eda2533170b9e9793c245d9cb4710e5c8d997f6 (patch)
treee554ee84ce88b88a3f939b1fc1d498a82cd73fe2 /ArmVirtPkg/PlatformCI/QemuBuild.py
parented1806b2c011f1cbcc729284dc8e386b45c903d7 (diff)
downloadedk2-0eda2533170b9e9793c245d9cb4710e5c8d997f6.tar.gz
edk2-0eda2533170b9e9793c245d9cb4710e5c8d997f6.tar.bz2
edk2-0eda2533170b9e9793c245d9cb4710e5c8d997f6.zip
ArmVirtPkg/PlatformCI: Add CI coverage for ArmVirtQemuKernel
ArmVirtQemuKernel.dsc describes a firmware build that is loadable at arbitrary address and can be invoked using the Linux/arm64 kernel boot protocol. The early code deviates significantly from ArmVirtQemu, and so it makes sense to cover this platform in CI even if it is not widely used. This ensures that the relocatable PrePi and other components in EmbeddedPkg don't regress on ARM as they are being updated for use on TDVF. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'ArmVirtPkg/PlatformCI/QemuBuild.py')
-rw-r--r--ArmVirtPkg/PlatformCI/QemuBuild.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmVirtPkg/PlatformCI/QemuBuild.py b/ArmVirtPkg/PlatformCI/QemuBuild.py
index f4dcc1d1d2..c651a9501f 100644
--- a/ArmVirtPkg/PlatformCI/QemuBuild.py
+++ b/ArmVirtPkg/PlatformCI/QemuBuild.py
@@ -27,5 +27,8 @@ class CommonPlatform():
DscName = os.path.join("ArmVirtPkg", "ArmVirtQemu.dsc")
+ # this platform produces a bootable NOR flash image
+ FvQemuArg = " -pflash "
+
import PlatformBuildLib
PlatformBuildLib.CommonPlatform = CommonPlatform