Message ID | 20241116163537.12530-1-ju.o@free.fr |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] support/testing/tests/boot/test_edk2.py: switch to neoverse-n1 cpu | expand |
Hello Julien, Le 16/11/2024 à 17:35, Julien Olivain a écrit : > 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 <ju.o@free.fr> Applied to master, thanks. Best regards, Romain > --- > Patch tested in: > https://gitlab.com/jolivain/buildroot/-/jobs/8388684107 > --- > 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,
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes: > 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 <ju.o@free.fr> > --- > Patch tested in: > https://gitlab.com/jolivain/buildroot/-/jobs/8388684107 Committed to 2024.11.x, thanks.
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,
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 <ju.o@free.fr> --- Patch tested in: https://gitlab.com/jolivain/buildroot/-/jobs/8388684107 --- support/testing/tests/boot/test_edk2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)