Lean Sheng Tan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/76042?usp=email )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: util/qemu: Add config for AArch64 ......................................................................
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 --- M util/qemu/Makefile.inc 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Felix Singer: Looks good to me, but someone else must approve Paul Menzel: Looks good to me, but someone else must approve Arthur Heymans: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/util/qemu/Makefile.inc b/util/qemu/Makefile.inc index 651ef21..e1181ad 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