Skip to content
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

制作一个临时版本,将大核统一按照小核的标准 rtt 方式构建 #38

Closed
unicornx opened this issue Jun 20, 2024 · 2 comments
Assignees

Comments

@unicornx
Copy link
Collaborator

unicornx commented Jun 20, 2024

大核无法执行 float 相关指令,具体参考 RT-Thread#9075

希望先 基于目前 duo-v5.1.0 的分支拉个新的分支,做个临时的改动,将大核和小核都统一成按照小核的方式标准 rtt 版本,先跑起来,smart 上貌似问题比较多,不稳定。

@unicornx unicornx changed the title 大核无法执行 float 相关指令 制作一个临时版本,将大核统一按照小核的标准 rtt 方式构建 Jun 20, 2024
@unicornx
Copy link
Collaborator Author

参考

外部紧急需求下采用 smart 版本以及 musl gcc 的风险比较大,考虑到 float 问题和 atoi 问题在小核上都正常,以及外部需求并没有 smart 的需求,所以我觉得在临时版本上将大核的构建改成和小核一致,即采用 CPU = rv64 方式是可行的,也是目前比较安全的做法。

唯一的区别就是大核和小核的引导机制不同,大核经过 opensbi,运行在 S mode 下,而小核则运行在 M mode 下,这个在修改上有些不同。

@unicornx
Copy link
Collaborator Author

unicornx commented Jun 28, 2024

已经通过 #41 解决

该修改合入了 duo-v5.1.0, 但是否要合入上游主线还要进一步考虑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants