summaryrefslogtreecommitdiff
path: root/target/riscv64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-27 05:50:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-27 05:50:09 +0100
commit884e156e1db5f92555b04bd150f64392d4c47c1c (patch)
tree1e3844bc27d8574592078b049e12d474203043da /target/riscv64
parent647aaca685077af71438500dccff7b6c19a0e723 (diff)
sipeed-maix-bit: finetune, kernel boots, but helloworld segfauts
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.