buildroot/board/qemu/aarch64-sbsa
Romain Naour c58a2a9687 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] 1877272bad
[2] b1d592e7b0

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Julien: add a small comment in commit log about tests]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-11-04 23:03:47 +01:00
..
assemble-flash-images configs/qemu_aarch64_sbsa_defconfig: new config for QEMU sbsa-ref 2021-05-17 17:26:27 +02:00
genimage.cfg board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
grub.cfg board/qemu/aarch64-sbsa: use the default console specified by ACPI 2023-03-12 10:08:39 +01:00
readme.txt configs/qemu_aarch64_sbsa_defconfig: switch to neoverse-n1 (armv8.2a) 2024-11-04 23:03:47 +01:00

Intro
=====

The QEMU sbsa-ref machine is primarily meant for firmware development
and testing according to ARM's SBSA and SBBR standards.

Build
=====

  $ make qemu_aarch64_sbsa_defconfig
  $ make

Emulation
=========

Run the emulation with:

  qemu-system-aarch64 \
    -M sbsa-ref \
    -cpu neoverse-n1 \
    -smp 4 \
    -m 1024 \
    -nographic \
    -pflash output/images/SBSA_FLASH0.fd \
    -pflash output/images/SBSA_FLASH1.fd \
    -hda output/images/disk.img # qemu_aarch64_sbsa_defconfig

Note that if you want to run sbsa-ref emulation with QEMU provided by
your distro (i.e., not host-qemu by Buildroot) then you may need to
install the SeaBIOS package for some required drivers. On Debian:

  # apt install seabios