Open
feat: 新增rmii驱动接口以及bcaldfx调试命令。 #30
byosoft_wujimingAdd on 17 hours ago
feat: 新增rmii驱动接口以及bcaldfx调试命令。 #30
Open
byosoft_wujimingAdd on 17 hours ago
byosoft_wujiming
byosoft_wujiming
17 hours ago

当前PR是否有AI参与:

[x] 否

[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :新增rmii驱动接口以及bcaldfx调试命令

PR功能描述 / 为什么需要这个合入:

新增 多芯片的rmii接口,hal层中没有rmii接口,因此需增加接口,同时增加支持rmii的bcaldfx工具命令

修改方案:

  • 新增 include/bcal/rmii.h(纯接口定义,无实现,遵循 bcal 头文件约定)
  • 在 dfx/src/main.cpp 中新增 exec_rmii,统一使用 bcal::IDriver。

验证方案:

  • 执行bcaldfx之后,使用rmii命令测试接口返回是否正确。

测试建议:

  • bcaldfx 命令行:
    bcaldfx rmii config eth0 5000 3
    bcaldfx rmii link_status
    bcaldfx rmii send
    bcaldfx rmii recv

自验证报告:

openUBMC_支持RMII驱动模块自验文档20261118.docx

该PR关联的issue

(格式为fixes #<issue号>, 或者resolves #<issue号>): 25

希望检视人员了解:

  • 本次仅交付 bcal 侧的 RMII 接口 + 调试命令,实现在 libsoc_adapter_aspeed
    仓的另一份 PR(同名 feature 分支)
  • Rmii 接口是纯抽象类,平台相关实现在 libsoc_adapter_aspeed 的
    drivers/rmii/rmii.cpp 中
likedislike
Merge blocked
byosoft_wujimingbyosoft_wujiming
17 hours ago Created pull request, commit d3337bc3
byosoft_wujimingbyosoft_wujiming
17 hours ago Associated issue: [需求]: 多芯片HAL层RMII驱动实现
openUBMC-robotopenUBMC-robotCollaborators
17 hours ago Set nathanael,xiaoxinglxs,changxingOpenUBMC,yelvsub as approver
openUBMC-robotopenUBMC-robotCollaborators
17 hours ago Added label: sig/sig-hardware
openUBMC-robot
openUBMC-robotCollaborators
17 hours ago Comments:

欢迎来到 openUBMC 社区

Hey @speedreg , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 说明文档 或 论坛 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅机器人自助配置使用手册。

联系指引

有疑问可以联系 SIG: sig-hardware ,
维护者是: @changxingOpenUBMC, @nathanael, @xiaoxinglxs, @yelvsub ,

likedislike
161 messages are collapsed here。 See more
openubmc-ci-botopenubmc-ci-botCollaborators
11 minutes ago Added label: limit_1k_suc
openubmc-ci-botopenubmc-ci-botCollaborators
10 minutes ago Removed label: ci-running
openubmc-ci-bot
openubmc-ci-botCollaborators
10 minutes ago Comments:
任务名称结果
pre-commit检查✅ SUCCESS
PR描述检查✅ SUCCESS
防投毒检查✅ SUCCESS
开源合规检查✅ SUCCESS
修改行数检查✅ SUCCESS
likedislike
openubmc-ci-botopenubmc-ci-botCollaborators
9 minutes ago Added label: ci-successful
openubmc-ci-bot
openubmc-ci-botCollaborators
9 minutes ago Comments:

CI已执行结束,查看流水线详情:流水线链接

likedislike