mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-16 03:41:24 +00:00
config.mk: Update QEMU run command for generic and sifive fu540 platforms
Since QEMU v5.1, if there is no "-bios" option provided, the default OpenSBI firmware will be loaded by QEMU as the BIOS automatically, hence to load fw_payload type image, we should explicitly pass the "-bios" option to QEMU. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
parent
35bc810252
commit
78afe11ba2
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ platform-ldflags-y =
|
|||
|
||||
# Command for platform specific "make run"
|
||||
platform-runcmd = qemu-system-riscv$(PLATFORM_RISCV_XLEN) -M virt -m 256M \
|
||||
-nographic -kernel $(build_dir)/platform/generic/firmware/fw_payload.elf
|
||||
-nographic -bios $(build_dir)/platform/generic/firmware/fw_payload.elf
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
||||
|
|
|
@ -15,7 +15,7 @@ platform-ldflags-y =
|
|||
|
||||
# Command for platform specific "make run"
|
||||
platform-runcmd = qemu-system-riscv$(PLATFORM_RISCV_XLEN) -M sifive_u -m 256M \
|
||||
-nographic -kernel $(build_dir)/platform/sifive/fu540/firmware/fw_payload.elf
|
||||
-nographic -bios $(build_dir)/platform/sifive/fu540/firmware/fw_payload.elf
|
||||
|
||||
# Blobs to build
|
||||
FW_TEXT_START=0x80000000
|
||||
|
|
Loading…
Add table
Reference in a new issue