[PATCH 0/5] riscv: canaan: Add support for K230-CanMV board

Junhui Liu junhui.liu at pigmoral.tech
Tue Jan 14 17:46:36 CET 2025


K230-CanMV [1] is a RISC-V development board with K230 SoC [2] from the
Kendryte series by Canaan Technology.

This patch series add initial support for u-boot on K230-CanMV and it can
boot via vendor's u-boot-spl and boot into Linux via tftp through the
onboard RTL8152 [3].

[1] https://developer.canaan-creative.com/k230/en/dev/CanMV_K230_Tutorial.html
[2] https://developer.canaan-creative.com/proDetail/230
[3] https://gist.github.com/Judehahh/c0ed94de3a0aeada2e2f1bc3a397fa2d

---
Junhui Liu (5):
      usb: dwc2: Add support for Canaan K230
      riscv: dts: canaan: Add basic device tree for K230 CanMV board
      riscv: cpu: k230: Add support for Canaan Kendryte K230 SoC
      riscv: canaan: k230_canmv: Add initial support
      doc: canaan: Add K230 CanMV board

 arch/riscv/Kconfig                    |   5 +
 arch/riscv/cpu/k230/Kconfig           |  14 +++
 arch/riscv/cpu/k230/Makefile          |   6 ++
 arch/riscv/cpu/k230/cpu.c             |   9 ++
 arch/riscv/cpu/k230/dram.c            |  21 ++++
 arch/riscv/dts/Makefile               |   1 +
 arch/riscv/dts/k230-canmv.dts         |  31 ++++++
 arch/riscv/dts/k230-u-boot.dtsi       |  25 +++++
 arch/riscv/dts/k230.dtsi              | 175 ++++++++++++++++++++++++++++++++++
 board/canaan/k230_canmv/Kconfig       |  19 ++++
 board/canaan/k230_canmv/MAINTAINERS   |   6 ++
 board/canaan/k230_canmv/Makefile      |   5 +
 board/canaan/k230_canmv/board.c       |   9 ++
 configs/k230_canmv_defconfig          |  19 ++++
 doc/board/canaan/index.rst            |   8 ++
 doc/board/canaan/k230_canmv.rst       |  88 +++++++++++++++++
 doc/board/index.rst                   |   1 +
 doc/device-tree-bindings/usb/dwc2.txt |   1 +
 18 files changed, 443 insertions(+)
---
base-commit: 6a0db9ee030f634731b792d864fc7a9df6cc6b80
change-id: 20250110-k230-dev-1-53fb70c5e337
prerequisite-message-id: <20250110-dwc2-dev-v4-0-987f4fd6f8b2 at pigmoral.tech>
prerequisite-patch-id: f05fe7f02791b8f5f6e89e3768584622c49e2ed7
prerequisite-patch-id: ba89fc49fb08beb94bc5c69c4b82e198a27c334d
prerequisite-patch-id: bc3632796d0010d5711be9597c4222c23adbf9f7
prerequisite-patch-id: b30e9c649999f42bc5c659bde5650e8aa2a33acd
prerequisite-patch-id: d6623dbacae347c4c7e339a294c60402667a359b
prerequisite-patch-id: 64e64d31939ea7f69818883fbafb8c1906b53ecb
prerequisite-patch-id: 9de6c80cd2996924b8f94a33f3e2a3dd63f1f57b
prerequisite-patch-id: e1752a8f249752de133bda41a387b3d147d60453

Best regards,
-- 
Junhui Liu <junhui.liu at pigmoral.tech>



More information about the U-Boot mailing list