support/testing/tests/boot/test_edk2.py: switch to neoverse-n2 cpu

The SBSA Reference Platform was updated to neoverse-n2 (armv9.0a)
in Qemu v9.1 [1].

The Armv9-A and Neoverse N2 core support was added in Buildroot
commit [2].

Since the test_edk2 uses the Qemu sbsa-ref machine, this commit
aligns it to use the neoverse-n2 cpu.

[1] b1d592e7b0
[2] 9845bd4541

Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Julien Olivain
2025-08-30 19:55:09 +02:00
parent e028c2cdc9
commit 9b8b2d4478

View File

@@ -7,7 +7,7 @@ class TestEdk2(infra.basetest.BRTest):
config = \
"""
BR2_aarch64=y
BR2_neoverse_n1=y
BR2_neoverse_n2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_TARGET_ROOTFS_EXT2=y
@@ -42,7 +42,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", "neoverse-n1",
"-cpu", "neoverse-n2",
"-m", "512M",
"-pflash", flash0,
"-pflash", flash1,