From 884e156e1db5f92555b04bd150f64392d4c47c1c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Feb 2022 05:50:09 +0100 Subject: sipeed-maix-bit: finetune, kernel boots, but helloworld segfauts --- target/riscv64/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/riscv64/Makefile') 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: -- cgit v1.2.3