From 1d3838b6237fefccc3a4c4b0848025dfd32918f5 Mon Sep 17 00:00:00 2001 From: Philipp Hug Date: Thu, 1 Feb 2024 21:57:22 +0400 Subject: riscv/mb/qemu: fix qemu invocation comment Change-Id: I773fb39801f180fead584942dfb385fcde9d2680 Signed-off-by: Philipp Hug Reviewed-on: https://review.coreboot.org/c/coreboot/+/80262 Reviewed-by: Arthur Heymans Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: ron minnich --- src/mainboard/emulation/qemu-riscv/Kconfig | 3 +-- util/qemu/Makefile.mk | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig index 091c432ea074..d915d6826ef6 100644 --- a/src/mainboard/emulation/qemu-riscv/Kconfig +++ b/src/mainboard/emulation/qemu-riscv/Kconfig @@ -1,8 +1,7 @@ ## SPDX-License-Identifier: GPL-2.0-only # To execute, do: -# util/riscv/make-spike-elf.sh build/coreboot.rom build/coreboot.elf -# qemu-system-riscv64 -M virt -m 1024M -nographic -kernel build/coreboot.elf +# qemu-system-riscv64 -M virt -m 1024M -nographic -bios build/coreboot.rom if BOARD_EMULATION_QEMU_RISCV_RV64 diff --git a/util/qemu/Makefile.mk b/util/qemu/Makefile.mk index 077fde772d16..42441df937a6 100644 --- a/util/qemu/Makefile.mk +++ b/util/qemu/Makefile.mk @@ -29,6 +29,10 @@ 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_RISCV_RV64) ?= qemu-system-riscv64 -M virt + +QEMU-$(CONFIG_BOARD_EMULATION_QEMU_RISCV_RV32) ?= qemu-system-riscv32 -M virt + 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