diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-02-06 04:15:21 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-02-07 16:20:34 +0530 |
commit | 9a717ec12eeaa94e8781b0f196afd7fee19c9f63 (patch) | |
tree | 00b943506361128dd6ff85a66a3d623e674e5dda /platform | |
parent | 6d0b4c520da8981ab36b0e5d64779295684b2250 (diff) |
platform: sifive: fu540: Add platform specific 'make run' cmd
This adds sifive/fu540 specific QEMU run command.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/sifive/fu540/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/sifive/fu540/config.mk b/platform/sifive/fu540/config.mk index 84b0987..ad099cc 100644 --- a/platform/sifive/fu540/config.mk +++ b/platform/sifive/fu540/config.mk @@ -13,6 +13,10 @@ platform-cflags-y = platform-asflags-y = 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 + # Blobs to build FW_TEXT_START=0x80000000 FW_DYNAMIC=y |