config: rockchip64: build Motorcomm YT6801 drivers built-in for OOB Ethernet#9625
config: rockchip64: build Motorcomm YT6801 drivers built-in for OOB Ethernet#9625c127dev wants to merge 3 commits intoarmbian:mainfrom
Conversation
Signed-off-by: c127dev <contact@c127.dev>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughTwo Rockchip64 kernel config files updated: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I can't understand, why the driver must be built in. What is the status of its dependency like STMMAC_PCI when it is built as module? |
|
Hi @amazingfate , thanks for the review. I did some deep testing and here are the findings: 1. About 2. Why So checking Missing I have to manually run Since the YT6801 is the only onboard NIC for the Orange Pi 5 Pro, leaving it as a module ( Given that the stripped module is only ~42KB, keeping it as |
After testing, STMMAC_PCI proved to be unnecessary for the YT6801 PCIe controller as it relies on its own glue driver. DWMAC_MOTORCOMM is kept as built-in (=y) to ensure OOB networking, as module auto-loading fails during early boot. Signed-off-by: c127dev <contact@c127.dev>
|
I'm okay with setting the driver built-in, while I find CONFIG_STMMAC_PLATFORM can be module with CONFIG_DWMAC_MOTORCOMM built in. Is it necessary to set CONFIG_STMMAC_PLATFORM built in? |
…configs Signed-off-by: c127dev <contact@c127.dev>
|
You are right! I performed tests after removing I've verified this on both Thanks for the feedback! |
EvilOlaf
left a comment
There was a problem hiding this comment.
I guess this can be squashed
|
✅ This PR has been reviewed and approved — all set for merge! |
Description
This is a follow-up fix for PR 9600.
In the previous PR, the Motorcomm YT6801 Ethernet driver was integrated, but it failed to initialize Out-Of-The-Box (OOB) on the Orange Pi 5 Pro. The primary network interface was configured as a module (
=m), and the required PCI glue infrastructure (CONFIG_STMMAC_PCI) was missing from the unifiedrockchip64family config, causing the network to silently fail at boot unless manually probed.This PR fixes the configuration for both
current(6.18) andedge(7.0) branches by setting the STMMAC PCI infrastructure and Motorcomm glue drivers to built-in (=y).Justification for Built-in (
=y):The microscopic size increase is highly justified to provide a seamless OOB networking experience on RK3588 hardware.
How Has This Been Tested?
current(6.18) andedge(7.0) images locally using the updatedrockchip64configurations.modprobeordepmodinterventions.stmmacanddwmac_motorcomminitialization logs indmesg.strip --strip-debugon the resulting.koobject.Checklist:
Summary by CodeRabbit