projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0b4c5
)
platform: sifive: fu540: Add platform specific 'make run' cmd
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 6 Feb 2020 12:15:21 +0000
(
04:15
-0800)
committer
Anup Patel
<anup@brainfault.org>
Fri, 7 Feb 2020 10:50:34 +0000
(16:20 +0530)
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>
platform/sifive/fu540/config.mk
patch
|
blob
|
history
diff --git
a/platform/sifive/fu540/config.mk
b/platform/sifive/fu540/config.mk
index
84b0987
..
ad099cc
100644
(file)
--- 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