17c516d67a
Cortex-a53 is not a vaild CPU supported by the SBSA reference machine [0], so qemu fails to boot in our current defconfig: qemu-system-aarch64: sbsa-ref: CPU type other than the built-in cortex-a57 not supported Use ARM cortex-a57 which is the CPU that SBSA was meant to emulate [1] [0] https://git.qemu.org/?p=qemu.git;a=commitdiff;h=4f335a6381f83beb5d6ac0d3993514379454a99d [1] https://git.qemu.org/?p=qemu.git;a=commitdiff;h=64580903c2b3aee08d74d64e6248a313b246cb69 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Dick Olsson <hi@senzilla.io> Reviewed-by: Dick Olsson <hi@senzilla.io> [yann.morin.1998@free.fr: update the commit log with info from Dick] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
33 lines
702 B
Plaintext
33 lines
702 B
Plaintext
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 cortex-a57 \
|
|
-smp 4 \
|
|
-m 1024 \
|
|
-nographic \
|
|
-pflash output/images/SBSA_FLASH0.fd \
|
|
-pflash output/images/SBSA_FLASH1.fd \
|
|
-hda output/images/disk.img
|
|
|
|
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
|