a8466cc5ac
This introduces a configuration for the SBSA reference machine under QEMU that is intended for developing and testing firmware. It consists of ATF that load EDK2 as BL33 which in turn will load GRUB2. Included with the board files is a minimal kernel configuration, almost identical to that of board/qemu/aarch64-virt/linux.config. The main difference is the addition of ACPI which is preferred over DTB for booting an UEFI system. Signed-off-by: Dick Olsson <hi@senzilla.io> 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-a53 \
|
|
-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
|