summaryrefslogtreecommitdiff
path: root/util/qemu/Makefile.inc
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2023-06-21 19:44:59 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-06-23 08:48:29 +0000
commit558d8b79e6b898e0f63772993f578aa4dd42128b (patch)
tree8a1becb8aeaa7fa50c9d442ef770b6e7ecd72e79 /util/qemu/Makefile.inc
parent0754e00ace632c4a9e22670da3d676d6e9352aa2 (diff)
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 <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76042 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'util/qemu/Makefile.inc')
-rw-r--r--util/qemu/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
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