-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] 优化 cvitek 固件打包的处理 #9060
Comments
可能的解决方案:
|
之前采用源码在打包阶段自动下载并编译主要考虑到有定制bootloader需求,如果没有定制需求可以采用方案2 |
即使有定制 bootloader 的需求,建议最好把 cvitek_bootloader 这种目录放在 RTT 仓库之外维护,有时候看见有人会删掉原来的 RTT 仓库重新 clone,如果用户不知道我们会下载一个 cvitek_bootloader 目录那么每次 clone 后就需要再重新下载一次 cvitek_bootloader。 有些人知道 cvitek_bootloader 这个目录后,为了避免反复下载(可能是网络不好的原因)会将这个目录复制出来,然后重新 clone 后再复制回去,这些操作看上去挺别扭的。感觉把 RTT 仓库和 sophgo 的这些仓库给耦合在一起了,所以放在外面维护就是希望解耦。 再说,定制 bootloader 的需求应该不多吧? |
可以考虑方案2的,而且关于额外的文件可以放入到软件包中,单独来进行维护。 软件包部分可以是纯文件(包括二进制文件),因为软件包也会做自动镜像,在国内可以加速。 |
Describe problem solved by the proposed feature
目前针对 bsp/cvitek 的固件 (fip.bin) 制作过程中,第一次编译时会下载大量的来自 sophgo 的仓库到本地 RTT 仓库中,包括:
然后从源码开始制作所有的相关模块,
这个操作存在以下缺点:
建议改进
Describe your preferred solution
No response
Describe possible alternatives
No response
The text was updated successfully, but these errors were encountered: