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
NC-SI driver: probing doesn't happen or fails when enabling RMII board mux after driver load #979
Comments
@amboar , Is that something you could help with ? |
@GHF, @yuennancy - What is the expectation here? Is this something your team is just reporting but still investigating or is there an expectation that we are actively working on this issue? |
I'm reporting the probing issue but I don't know the ftgmac100 driver well enough to suggest a solution. |
This quick patch to ftgmac100 driver atleast allows it to unbind / rebind from the device which seems to allow it to (re)establish a NC-SI connection after twiddling the mux GPIOs:
|
@GHF @yuennancy Still a problem or can this be closed? |
Possibly obsolete, or atleast no longer needed for our purposes as we have just hardcoded the mux selection in the devtree. |
Closing based on above comment. |
On Zaius, two TS3L110RGYR parts mux the NC-SI signals for the BMC between the LAN-on-MB, mezz card, and an HDMI connector. If I enable the mux after booting the BMC to interactive console, the ftgmac100 driver doesn't seem to probe NC-SI correctly.
To reproduce:
gpioutil -p P0 -d out -v 0
to assert RMII_SW_EN_N. RMII_SW1_SEL_N and RMII_SW2_SEL_N are pulled low by the BMC, so this selects the BCM5719 LOM for NC-SI.ifconfig eth0 up
in
ifconfig
, eth0 never shows any RX packets. I've tested NC-SI to work if I add static GPIO hogs to the device tree, however:This seems like a driver issue.
The text was updated successfully, but these errors were encountered: