diff options
| author | Bin Meng <[email protected]> | 2020-02-06 04:15:21 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-02-07 16:20:34 +0530 |
| commit | 9a717ec12eeaa94e8781b0f196afd7fee19c9f63 (patch) | |
| tree | 00b943506361128dd6ff85a66a3d623e674e5dda | |
| 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 <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -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 84b09876..ad099cc5 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 |
