修改ch2的bootloader路径

ch2
zhangxinyu 2 years ago
parent 4ebf1a742c
commit 8394be5119

@ -32,7 +32,7 @@ debug:build_elf $(KERNEL_BIN) $(SYMBOL_MAP) kill
-machine virt \ -machine virt \
-display none \ -display none \
-daemonize \ -daemonize \
-bios ../bootloader/rustsbi-qemu.bin \ -bios ../../bootloader/rustsbi-qemu.bin \
-device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY) \ -device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY) \
-s -S -s -S
@ -40,7 +40,7 @@ run:build_elf $(KERNEL_BIN) $(SYMBOL_MAP) kill
$(QEMU_CMD_PATH) \ $(QEMU_CMD_PATH) \
-machine virt \ -machine virt \
-nographic \ -nographic \
-bios ../bootloader/rustsbi-qemu.bin \ -bios ../../bootloader/rustsbi-qemu.bin \
-device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY) -device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY)
clean: clean:

Loading…
Cancel
Save