From ca8f0aa87e400f178dad359aa5b84877532e06f4 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Tue, 5 May 2020 09:16:54 +0900 Subject: [PATCH] boards: maix-bit: Add descriptions on how to write nuttx.bin to SPI-Flash --- boards/risc-v/k210/maix-bit/README.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/boards/risc-v/k210/maix-bit/README.txt b/boards/risc-v/k210/maix-bit/README.txt index 5d040589ad6..da40195c781 100644 --- a/boards/risc-v/k210/maix-bit/README.txt +++ b/boards/risc-v/k210/maix-bit/README.txt @@ -27,10 +27,13 @@ (gdb) load nuttx (gdb) c -5. TODO +5. Write nuttx.bin to SPI-Flash + + $ pip3 install kflash + $ kflash -p /dev/ttyUSB0 -b 1500000 ./nuttx/nuttx.bin + +6. TODO - PLL setting (currently CPU clock freq is assumed to be 416MHz) - Boot from SPI-Flash Support peripherals such as GPIO/SPI/I2C/... Support FPU - Support RISC-V User mode + Support memory protection for user mode