From 558d8b79e6b898e0f63772993f578aa4dd42128b Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Wed, 21 Jun 2023 19:44:59 +0200 Subject: util/qemu: Add config for AArch64 Most arguments taken from the Kconfig help. RAM needs to be >= 531M, as coreboot is linked to reside between 512M..531M. Tested `make qemu` with QEMU 7.2.0. Change-Id: Id7f23918a786bc126188d5caf285e9f532dbb0ed Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/76042 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel Reviewed-by: Felix Singer --- util/qemu/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/qemu') diff --git a/util/qemu/Makefile.inc b/util/qemu/Makefile.inc index 651ef21635..e1181ade73 100644 --- a/util/qemu/Makefile.inc +++ b/util/qemu/Makefile.inc @@ -26,6 +26,9 @@ # $ # Force QEMU's built-in config # $ make qemu QEMU_CFG_ARGS= +QEMU-$(CONFIG_BOARD_EMULATION_QEMU_AARCH64) ?= qemu-system-aarch64 \ + -M virt,secure=on,virtualization=on -cpu cortex-a53 -m 1G + QEMU-$(CONFIG_BOARD_EMULATION_QEMU_X86_I440FX) ?= qemu-system-x86_64 -M pc QEMU-$(CONFIG_BOARD_EMULATION_QEMU_X86_Q35) ?= qemu-system-x86_64 -M q35 -- cgit v1.2.3