Skip to content

feat(kernel): integrate Realtek PCIe Ethernet support - #76

Open
VasilyZa wants to merge 3 commits into
mainfrom
feature/realtek-network
Open

VasilyZa wants to merge 3 commits into
mainfrom
feature/realtek-network

Conversation

@VasilyZa

@VasilyZa VasilyZa commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

改动

将 kernel/reliefnt 更新至 044ce9b4e2d129b55bf80c1b889fd3200bc3b7ad,集成 Realtek RTL8111/8168 与 RTL8125 驱动。内核默认内置该驱动,也支持通过 CONFIG_R8169=m 使用 r8169.ko。

内核实现、支持范围、许可证和验证说明见关联 PR。ReliefNT #8

已合入 ReliefOS 当前 main 的 98139f92,包含旧内核诊断集成移除和最新依赖锁定更新。相对 main 的主仓差异为内核 gitlink 更新,分支头为 a3070b98cd8c1e1d53fb60aca46027292d2cb433。

验证

  • 合并后的内核完成 CONFIG_R8169=y 和 CONFIG_R8169=m 两种原生 Kbuild 构建及模块安装。
  • 主仓原生 make tools 通过,当前 reliefos-kernel-tools check-install 成功校验真实安装包,包含 15 个文件和一个模块。
  • 当前 reliefos-kernel-tools modules-stage 通过,确认 r8169.ko、两个 Realtek PCI 别名和五份许可文件完整。安装包符合移除旧诊断载荷后的产品约定。
  • RELIEFNT_CONTRACT_ONLY=1 sh tests/build/test-kernel-adapter.sh 完成 11 项检查,零失败。
  • 合并后的内核完成 QEMU 内置启动及三次模块加载、卸载,既有 e1000 的 IPv4、IPv6 ping 通过,两次来宾正常关机。
  • 两仓的 git diff --check origin/main...HEAD 通过,父仓 gitlink 与已推送内核提交一致。

验证边界

QEMU 使用 e1000。实体 Realtek 的初始化、协商、收发与性能仍待对应硬件验证。完整系统镜像构建待完成,VMware 验证未完成。

前次内核全套宿主测试中发现既有 EEVDF 夹具的布局断言失败,已在关联内核 PR 中记录。本轮执行了与此次集成相关的定向验证。

Update ReliefNT to include RTL8111/8168 and RTL8125 support, native module integration, hardware-boundary tests and preserved third-party notices.
Merge current ReliefOS main and record the ReliefNT merge containing the Realtek driver and current kernel main.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant