From 36c7a5366a975519aba6cbc2f0306c8547a31d5f Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sat, 16 Nov 2024 17:35:37 +0100 Subject: [PATCH] support/testing/tests/boot/test_edk2.py: switch to neoverse-n1 cpu The SBSA Reference Platform was updated to use the neoverse-n1 cpu (armv8.2a) in Qemu v8.1 [1]. Commit c58a2a968 "configs/qemu_aarch64_sbsa_defconfig: switch to neoverse-n1 (armv8.2a)" [2] reflected this change in qemu_aarch64_sbsa_defconfig. This commit updates the test_edk2 runtime test the same way. This update is possible with the help of commits [3] and [4]. [1] https://gitlab.com/qemu-project/qemu/-/commit/1877272bad7b08b67312503ee66184279876c7bd [2] https://gitlab.com/buildroot.org/buildroot/-/commit/c58a2a9687c045379c0f768c8c6c1c1a41842a85 [3] https://gitlab.com/buildroot.org/buildroot/-/commit/0d4177598ce7e73f2b97ac58c21fb177343643e3 [4] https://gitlab.com/buildroot.org/buildroot/-/commit/fba62f2ab13c095de860a07851d148181f4e38bc Signed-off-by: Julien Olivain Signed-off-by: Romain Naour --- support/testing/tests/boot/test_edk2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/testing/tests/boot/test_edk2.py b/support/testing/tests/boot/test_edk2.py index 39d7a4dbcc..54a59089da 100644 --- a/support/testing/tests/boot/test_edk2.py +++ b/support/testing/tests/boot/test_edk2.py @@ -7,6 +7,7 @@ class TestEdk2(infra.basetest.BRTest): config = \ """ BR2_aarch64=y + BR2_neoverse_n1=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_TARGET_ROOTFS_EXT2=y @@ -63,7 +64,7 @@ class TestEdk2(infra.basetest.BRTest): flash1 = os.path.join(self.builddir, "images", "SBSA_FLASH1.fd") self.emulator.boot(arch="aarch64", options=["-M", "sbsa-ref", - "-cpu", "cortex-a57", + "-cpu", "neoverse-n1", "-m", "512M", "-pflash", flash0, "-pflash", flash1,