diff mbox series

[1/1] support/testing/tests/package/test_fwts.py: switch to neoverse-n1 cpu

Message ID 20241116164727.16193-1-ju.o@free.fr
State Accepted
Headers show
Series [1/1] support/testing/tests/package/test_fwts.py: switch to neoverse-n1 cpu | expand

Commit Message

Julien Olivain Nov. 16, 2024, 4:47 p.m. UTC
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_fwts 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/027ddcbff65bb9dc1799d89fc140a33e81d35421

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested in:
https://gitlab.com/jolivain/buildroot/-/jobs/8388701667
---
 support/testing/tests/package/test_fwts.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Romain Naour Dec. 11, 2024, 3:59 p.m. UTC | #1
Hello Julien, All,

Le 16/11/2024 à 17:47, 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_fwts 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/027ddcbff65bb9dc1799d89fc140a33e81d35421
> 
> 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/8388701667
> ---
>  support/testing/tests/package/test_fwts.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/support/testing/tests/package/test_fwts.py b/support/testing/tests/package/test_fwts.py
> index 6e2b6f50ba..4df13b60f9 100644
> --- a/support/testing/tests/package/test_fwts.py
> +++ b/support/testing/tests/package/test_fwts.py
> @@ -7,6 +7,7 @@ class TestFwts(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
> @@ -66,7 +67,7 @@ class TestFwts(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,
Peter Korsgaard Dec. 13, 2024, 10:45 p.m. UTC | #2
>>>>> "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_fwts 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/027ddcbff65bb9dc1799d89fc140a33e81d35421

 > Signed-off-by: Julien Olivain <ju.o@free.fr>
 > ---
 > Patch tested in:
 > https://gitlab.com/jolivain/buildroot/-/jobs/8388701667

Committed to 2024.11.x, thanks.
diff mbox series

Patch

diff --git a/support/testing/tests/package/test_fwts.py b/support/testing/tests/package/test_fwts.py
index 6e2b6f50ba..4df13b60f9 100644
--- a/support/testing/tests/package/test_fwts.py
+++ b/support/testing/tests/package/test_fwts.py
@@ -7,6 +7,7 @@  class TestFwts(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
@@ -66,7 +67,7 @@  class TestFwts(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,