Skip to contentSkip to conversation

commit e34d65696d2e broke stmmac ethernet on socfpga

DISCUSSION Dinh Nguyen 2 participants 3 messages Dec 18, 2015 – Jan 4, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

It appears that commit e34d65696d2e 'stmmac: create of compatible mdio bus for
stmmac driver' is causing this error on the SoCFPGA platform:

[    1.767246] libphy: PHY stmmac-0:ffffffff not found
[    1.772106] eth0: Could not attach to PHY
[    1.776129] stmmac_open: Cannot attach to PHY (error: -19)
[    1.781590] IP-Config: Failed to open eth0
[    1.785681] IP-Config: No network devices available

Doing a revert of this commit fixes the issue. Will try to debug further.

Thanks,
Dinh

#1 lore raw

Hi all,

Same here on rockchip.
See "[PATCH] stmmac: Don't exit mdio registration when mdio subnode is not found in the DTS"

Regards,
Romain

2015-12-18 18:45 GMT+01:00 Dinh Nguyen <[email protected]>:

Quoted 20 lines

Hi,

It appears that commit e34d65696d2e 'stmmac: create of compatible mdio bus for
stmmac driver' is causing this error on the SoCFPGA platform:

[    1.767246] libphy: PHY stmmac-0:ffffffff not found
[    1.772106] eth0: Could not attach to PHY
[    1.776129] stmmac_open: Cannot attach to PHY (error: -19)
[    1.781590] IP-Config: Failed to open eth0
[    1.785681] IP-Config: No network devices available

Doing a revert of this commit fixes the issue. Will try to debug further.

Thanks,
Dinh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 24 lines · Romain Perier

Hi all,

Same here on rockchip.
See "[PATCH] stmmac: Don't exit mdio registration when mdio subnode is not found in the DTS"

Regards,
Romain

2015-12-18 18:45 GMT+01:00 Dinh Nguyen <[email protected]>:

Quoted 14 lines

Hi,

It appears that commit e34d65696d2e 'stmmac: create of compatible mdio bus for
stmmac driver' is causing this error on the SoCFPGA platform:

[    1.767246] libphy: PHY stmmac-0:ffffffff not found
[    1.772106] eth0: Could not attach to PHY
[    1.776129] stmmac_open: Cannot attach to PHY (error: -19)
[    1.781590] IP-Config: Failed to open eth0
[    1.785681] IP-Config: No network devices available

Doing a revert of this commit fixes the issue. Will try to debug further.

There error is here:

[    0.663275] socfpga-dwmac ff702000.ethernet eth0: NO MDIO subnode

It appears that his commit requires an update to DTS files, which will subsequently break legacy DTS.

Also, this commit is only in linux-next.

Dinh