summaryrefslogtreecommitdiff
path: root/target/riscv64
diff options
context:
space:
mode:
Diffstat (limited to 'target/riscv64')
-rw-r--r--target/riscv64/Makefile3
-rw-r--r--target/riscv64/systems/sipeed-maix-bit1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/riscv64/Makefile b/target/riscv64/Makefile
index f7d493123..1ac351bf6 100644
--- a/target/riscv64/Makefile
+++ b/target/riscv64/Makefile
@@ -47,6 +47,9 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo "Start qemu with following command line:"
@echo 'qemu-system-riscv64 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
+ifeq ($(ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT),y)
+ @echo 'sudo python3 scripts/kflash.py -p /dev/ttyUSB0 -b 1500000 -t $(FW_DIR)/$(TARGET_KERNEL)'
+endif
endif
ifeq ($(ADK_TARGET_FS),nfsroot)
targethelp:
diff --git a/target/riscv64/systems/sipeed-maix-bit b/target/riscv64/systems/sipeed-maix-bit
index 8090c9c03..3199d4a33 100644
--- a/target/riscv64/systems/sipeed-maix-bit
+++ b/target/riscv64/systems/sipeed-maix-bit
@@ -1,6 +1,7 @@
config ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
bool "Sipeed MAiX Bit"
select ADK_TARGET_CPU_RISCV64
+ select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_KERNEL_IMAGE
help
Sipeed MAiX Bit support.