概述
将 RT-Claw 移植到嘉楠科技 K230 SoC 大核,基于 RT-Thread。K230 采用双核异构 RISC-V C908 架构(大核 1.6GHz + 小核 800MHz),内置 KPU AI 加速单元,适合作为 RT-Claw 的 AI 边缘节点。
硬件平台
| 项目 |
规格 |
| SoC |
Canaan K230 |
| 大核 CPU |
RISC-V C908 @ 1.6GHz, RVV 1.0, FPU |
| 小核 CPU |
RISC-V C908 @ 800MHz |
| 内存 |
512MB LPDDR3 (CanMV-K230) |
| AI 加速 |
KPU (Knowledge Process Unit) |
| 网络 |
Ethernet (需真实硬件) |
| 开发板 |
CanMV-K230 |
移植计划
Phase 1: QEMU 基础启动(无需硬件)
Phase 2: 真实硬件网络 + 服务(需 CanMV-K230 开发板)
Phase 3: K230 特色能力(可选)
QEMU K230 支持
gevico/qemu 仓库有两个 K230 相关分支:
关键 commits:
target/riscv: add thead-c908 cpu support
hw/riscv: add k230 board initial support
hw/watchdog: add k230 watchdog initial support
docs/system/riscv: add documentation for k230 machine
参考资料
K230 开发者文档
K230 SDK 源码
QEMU K230 支持
RT-Claw 项目
其他参考
备注
- Phase 1 使用 QEMU 完成,不需要真实硬件
- Phase 2 的网络协议栈需要在 CanMV-K230 真实硬件上验证
- K230 大核原生运行 RT-Smart(RT-Thread 的用户态扩展),需评估是否使用 RT-Smart 还是裁剪为标准 RT-Thread
Overview (English)
Port RT-Claw to the Canaan K230 SoC big core, running RT-Thread. The K230 features a dual-core heterogeneous RISC-V C908 architecture (big core 1.6GHz + little core 800MHz) with a built-in KPU AI accelerator, making it an ideal AI edge node for RT-Claw.
Hardware Platform
| Item |
Specification |
| SoC |
Canaan K230 |
| Big core CPU |
RISC-V C908 @ 1.6GHz, RVV 1.0, FPU |
| Little core CPU |
RISC-V C908 @ 800MHz |
| Memory |
512MB LPDDR3 (CanMV-K230) |
| AI accelerator |
KPU (Knowledge Process Unit) |
| Network |
Ethernet (requires real hardware) |
| Dev board |
CanMV-K230 |
Porting Plan
Phase 1: QEMU Basic Boot (no hardware required)
Phase 2: Real Hardware Networking + Services (requires CanMV-K230 board)
Phase 3: K230-Specific Capabilities (optional)
QEMU K230 Support
The gevico/qemu repository has two K230-related branches:
| Branch |
Contents |
k230-board |
K230 board initial support + T-Head C908 CPU + WDT |
k230-to-apply.next |
Pending upstream version with documentation |
Key commits:
target/riscv: add thead-c908 cpu support
hw/riscv: add k230 board initial support
hw/watchdog: add k230 watchdog initial support
docs/system/riscv: add documentation for k230 machine
References
K230 Developer Documentation
K230 SDK Source Code
QEMU K230 Support
RT-Claw Project
Other References
Notes
- Phase 1 uses QEMU only, no real hardware needed
- Phase 2 network stack requires verification on real CanMV-K230 hardware
- K230 big core natively runs RT-Smart (RT-Thread's user-space extension); need to evaluate whether to use RT-Smart or trim down to standard RT-Thread
概述
将 RT-Claw 移植到嘉楠科技 K230 SoC 大核,基于 RT-Thread。K230 采用双核异构 RISC-V C908 架构(大核 1.6GHz + 小核 800MHz),内置 KPU AI 加速单元,适合作为 RT-Claw 的 AI 边缘节点。
硬件平台
移植计划
Phase 1: QEMU 基础启动(无需硬件)
k230-board分支 构建 K230 QEMUplatform/k230/目录,参考platform/zynq-a9/结构osal/rtthread/)make run-k230-qemu启动验证Phase 2: 真实硬件网络 + 服务(需 CanMV-K230 开发板)
Phase 3: K230 特色能力(可选)
QEMU K230 支持
gevico/qemu 仓库有两个 K230 相关分支:
k230-boardk230-to-apply.next关键 commits:
target/riscv: add thead-c908 cpu supporthw/riscv: add k230 board initial supporthw/watchdog: add k230 watchdog initial supportdocs/system/riscv: add documentation for k230 machine参考资料
K230 开发者文档
K230 SDK 源码
QEMU K230 支持
k230-board— K230 QEMU 模拟(T-Head C908 + board 初始支持)k230-to-apply.next— 待上游合入版本RT-Claw 项目
platform/zynq-a9/(FreeRTOS)、platform/vexpress-a9/(RT-Thread)其他参考
备注
Overview (English)
Port RT-Claw to the Canaan K230 SoC big core, running RT-Thread. The K230 features a dual-core heterogeneous RISC-V C908 architecture (big core 1.6GHz + little core 800MHz) with a built-in KPU AI accelerator, making it an ideal AI edge node for RT-Claw.
Hardware Platform
Porting Plan
Phase 1: QEMU Basic Boot (no hardware required)
k230-boardbranchplatform/k230/directory, followingplatform/zynq-a9/structureosal/rtthread/)make run-k230-qemuboot verificationPhase 2: Real Hardware Networking + Services (requires CanMV-K230 board)
Phase 3: K230-Specific Capabilities (optional)
QEMU K230 Support
The gevico/qemu repository has two K230-related branches:
k230-boardk230-to-apply.nextKey commits:
target/riscv: add thead-c908 cpu supporthw/riscv: add k230 board initial supporthw/watchdog: add k230 watchdog initial supportdocs/system/riscv: add documentation for k230 machineReferences
K230 Developer Documentation
K230 SDK Source Code
QEMU K230 Support
k230-board— K230 QEMU emulation (T-Head C908 + board initial support)k230-to-apply.next— Pending upstream versionRT-Claw Project
platform/zynq-a9/(FreeRTOS),platform/vexpress-a9/(RT-Thread)Other References
Notes