diff options
author | Philipp Hug <philipp@hug.cx> | 2024-02-01 21:57:22 +0400 |
---|---|---|
committer | ron minnich <rminnich@gmail.com> | 2024-02-22 22:34:57 +0000 |
commit | 1d3838b6237fefccc3a4c4b0848025dfd32918f5 (patch) | |
tree | eaf22ff847309708cd08a070c4f7bd61db3b60ed | |
parent | 4f1ba69b3c0d3ac8501b713642b11c811c09024c (diff) |
riscv/mb/qemu: fix qemu invocation comment
Change-Id: I773fb39801f180fead584942dfb385fcde9d2680
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80262
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: ron minnich <rminnich@gmail.com>
-rw-r--r-- | src/mainboard/emulation/qemu-riscv/Kconfig | 3 | ||||
-rw-r--r-- | 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 091c432ea0..d915d6826e 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 077fde772d..42441df937 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 |