From 891742e62d79aeaf7dfd052df87777c2e4826357 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sat, 30 Nov 2024 21:16:54 +0100 Subject: Simplify the qemu target by removing QEMU_BIOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The QEMU_BIOS parameter was meant to help on old QEMU installations which did not support the proper fw_dynamic workflow. That being said, old QEMU versions might also not implement the proper SBI specification, or it may have other unexpected issues. Hence, just remove the option and force people to have a sufficiently recent QEMU version. Finally, I have updated the SVG showing off a QEMU run. Signed-off-by: Miquel Sabaté Solà --- Makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b98a8d..0178601 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,6 @@ USRFLAGS = -static -melf64lriscv # Optional parameters for QEMU and gdb. QEMU_FLAGS ?= -QEMU_BIOS ?= GDB_EXTRA_FLAGS ?= ## @@ -151,11 +150,7 @@ archive: all .PHONY: qemu qemu: clean $(IMAGE) usr -ifeq ($(strip $(QEMU_BIOS)),) $(Q) $(QEMU) $(QEMU_FLAGS) -machine virt -kernel $(IMAGE) -initrd $(INIT) -else - $(Q) $(QEMU) $(QEMU_FLAGS) -machine virt -bios $(QEMU_BIOS) -kernel $(IMAGE) -initrd $(INIT) -endif .PHONY: gdb gdb: -- cgit v1.2.3