Replies: 47 comments 18 replies
-
|
目前搜集到的一些信息:https://shimo.im/docs/m4kMM20wzKC9DBkD/ 《CV系列处理器 TPU SDK 开发资料》,可复制链接后用石墨文档 App 打开 还有之前我在 os 比赛时开发的 cv1811h sd 卡驱动,当时时间比较紧,需要改改修复一下应该就能用:https://github.com/Byte-OS/cv1811-sd/tree/main 目前开发板买了一块 licheerv nano wifi 款的, |
Beta Was this translation helpful? Give feedback.
-
|
2026-01-13 讨论:
|
Beta Was this translation helpful? Give feedback.
-
|
算能微信群交流记录:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
据悉李老师组,目前也在使用厂商配套的的 GC4653摄像头驱动源码,在AliOS和FreeRTOS中找到有完整驱动实现: |
Beta Was this translation helpful? Give feedback.
-
|
sg2002 的 pin 会被复用,Uart 或 IIC 可能会在同一个 Pin 上,且同一时刻只能用一个功能,所以需要设置复用来选择用哪一个功能。目前的资料: sipeed 中的资料:https://wiki.sipeed.com/hardware/zh/lichee/RV_Nano/5_peripheral.html 今天摄像头到了,开发板还没到(分开运输的)。 |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
|
Beta Was this translation helpful? Give feedback.
-
C906虚拟内存sg2002开发板使用了平头哥的C906的CPU。 根据Linux源码中的riscv架构相关代码部分,在构建虚拟内存页表项时,需要分别为
这些页表项的额外的flags属性位,可以通过查询C906芯片手册获知其定义信息,如下图,C906额外页面属性位于 根据其他CPU芯片手册,可知道这些平头哥CPU的拓展属性,不单在C906中存在,在C910 CPU中也同样存在。 平头哥CPU自定义的页表的额外的flags属性位,通过查找芯片手册,可以在拓展状态寄存器 默认在打开 更多的请见: 平头哥C910的页表项拓展属性位 |
Beta Was this translation helpful? Give feedback.
-
|
搜索了一下之前参加比赛的时候对 C906 的支持,想起来 C906 在读写内存之后需要进行 dcache 的刷新,否则会产生异常。可能在 Starry 的移植过程中遇到这个问题,https://gitlab.eduxiji.net/202310464101015/oskernel2023-byteos/-/blob/on-site-qemu/arch/src/riscv64/addr.rs#L195 |
Beta Was this translation helpful? Give feedback.
-
|
我梳理了一下linux tpu驱动,主要重写下 cvi_tpu_interface.c 和 tpu_platform.c 就行。 |
Beta Was this translation helpful? Give feedback.
-
|
在sg2002物理板子上,调通Cursor生成的BSP代码,发现还是有不少错误需要根据实际运行情况作修改。如地址,中断设置等 |
Beta Was this translation helpful? Give feedback.
-
|
尝试做了 sg2002 上的辅助核心支持,SG2002 一共有四个核心 (1GHz C906 和 1GHz A53 二选一) + 700MHz C906 辅助核心 + 8051。尝试启动了 700MHz 的辅助核心,但是和大核之间无硬件缓存一致性的支持,所以直接作为 AP 核心比较麻烦,也许可以在大小核上分别启动一个 Linux 和一个 ArceOS。 |
Beta Was this translation helpful? Give feedback.
-
|
尝试实现WiFi驱动模块,但目前还存在诸多问题,如:CMD53扩展IO指令超时,SDIO错误等,正在调试 |
Beta Was this translation helpful? Give feedback.
-
|
AIC8801芯片WiFi驱动开发日志:
|
Beta Was this translation helpful? Give feedback.
-
|
小核运行freertos,并使用uart1串口,可以通过串口交互,通过reboot重启系统。实现了 |
Beta Was this translation helpful? Give feedback.
-
|
补齐sstatus/mstatus寄存器上的一些位的设置,VS((sg2002上设置,enable vector status bits), UBE, UXL等。 |
Beta Was this translation helpful? Give feedback.
-
2026-04-16 SG2002机器人开发讨论纪要
|
Beta Was this translation helpful? Give feedback.
-
|
WiFi驱动开发已完成,crates路径如下: |
Beta Was this translation helpful? Give feedback.
-
|
根据上周五陈老师的沟通确认,先对tgoskits适配sg2002的工作,当前sg2002的开发先不管 与szh进行了初步的tgoskits适配sg2002的分工:
|
Beta Was this translation helpful? Give feedback.
-
4月22日中午 交流既要
|
Beta Was this translation helpful? Give feedback.
-
|
4月22日进度
|
Beta Was this translation helpful? Give feedback.
-
|
4月23日进度
|
Beta Was this translation helpful? Give feedback.
-
|
starry on tgoskits 基础功能适配到了硬件平台sg2002,支持starry引导sg2002板子进入了shell及操作文件系统存储设备。
修改包括:
Todo: tpu/ion驱动集成,摄像头等驱动的集成; |
Beta Was this translation helpful? Give feedback.
-
|
4月28日进度
|
Beta Was this translation helpful? Give feedback.
-
|
2025-04-29 sg2002/rk3588平台的Starry开发测试讨论 |
Beta Was this translation helpful? Give feedback.
-
|
尝试修复dev分支conflict,并重新集成tpu,发现在tgoskits上遇到tpu dmabuf的错误,见下图。。😓 当前打算先把基于新的dev分支的,不包含其他复杂驱动的一个版本,提交PR先合
|
Beta Was this translation helpful? Give feedback.
-
|
目前已经发布了 sg200x-bsp 的 0.5.4 版本,支持了获取sd卡的容量 |
Beta Was this translation helpful? Give feedback.
-
|
近期sg2002开发情况汇总: |
Beta Was this translation helpful? Give feedback.
-
|
在训练营中分享的 arceos 在 sg2002 上支持 usb 摄像头:https://github.com/yfblock/arceos/blob/f5eb0ddeadd522b59f73dcf937495226a2ef6dc0/examples/helloworld/src/usb_camera.rs |
Beta Was this translation helpful? Give feedback.










Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
预期目标:
开发启动时间:2026.01.13
参考信息:
Beta Was this translation helpful? Give feedback.
All reactions