From c58a2a9687c045379c0f768c8c6c1c1a41842a85 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 27 Oct 2024 20:43:37 +0100 Subject: [PATCH] configs/qemu_aarch64_sbsa_defconfig: switch to neoverse-n1 (armv8.2a) The SBSA Reference Platform was updated to neoverse-n1 (armv8.2a) in Qemu v8.1 [1]. BR2_cortex_a57: # cat /proc/cpuinfo processor : 0 BogoMIPS : 2000.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd07 CPU revision : 0 [...] BR2_neoverse_n1: # cat /proc/cpuinfo processor : 0 BogoMIPS : 2000.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x4 CPU part : 0xd0c CPU revision : 1 [...] Tests test_fwts.py test_edk2.py using BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y are not updated to neoverse-n1 by this commit. Those tests were disabled in a previous commit. Those tests will be updated and fixed in followup commits. Note: SBSA Reference Platform was recently updated again to neoverse-n2 (armv9.0a) in Qemu v9.1 [2]. But there is no armv9.0a support yet in Buildroot. [1] https://gitlab.com/qemu-project/qemu/-/commit/1877272bad7b08b67312503ee66184279876c7bd [2] https://gitlab.com/qemu-project/qemu/-/commit/b1d592e7b0a7301eae8e3baa99744ac35db3cd2a Signed-off-by: Romain Naour [Julien: add a small comment in commit log about tests] Signed-off-by: Julien Olivain --- board/qemu/aarch64-sbsa/readme.txt | 2 +- configs/qemu_aarch64_sbsa_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/qemu/aarch64-sbsa/readme.txt b/board/qemu/aarch64-sbsa/readme.txt index cf5f66d4d6..7d97d7f6ab 100644 --- a/board/qemu/aarch64-sbsa/readme.txt +++ b/board/qemu/aarch64-sbsa/readme.txt @@ -17,7 +17,7 @@ Run the emulation with: qemu-system-aarch64 \ -M sbsa-ref \ - -cpu cortex-a57 \ + -cpu neoverse-n1 \ -smp 4 \ -m 1024 \ -nographic \ diff --git a/configs/qemu_aarch64_sbsa_defconfig b/configs/qemu_aarch64_sbsa_defconfig index 23d274b529..6df2b2e273 100644 --- a/configs/qemu_aarch64_sbsa_defconfig +++ b/configs/qemu_aarch64_sbsa_defconfig @@ -1,5 +1,5 @@ BR2_aarch64=y -BR2_cortex_a57=y +BR2_neoverse_n1=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_GLOBAL_PATCH_DIR="board/qemu/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y