Netdev List
 help / color / mirror / Atom feed
* GENET and UNIMAC MDIO probe issue?
@ 2021-10-22 14:33 Maxime Ripard
  2021-10-22 15:35 ` Stefan Wahren
  0 siblings, 1 reply; 5+ messages in thread
From: Maxime Ripard @ 2021-10-22 14:33 UTC (permalink / raw)
  To: Doug Berger, Florian Fainelli
  Cc: netdev, bcm-kernel-feedback-list, Nicolas Saenz Julienne,
	Stefan Wahren

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

Hi Florian, Doug,

I'm currently trying to make the RaspberryPi CM4 IO board probe its
ethernet controller, and it looks like genet doesn't manage to find its
PHY and errors out with:

[    3.240435] libphy: Fixed MDIO Bus: probed
[    3.248849] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    3.259118] libphy: bcmgenet MII bus: probed
[    3.278420] mdio_bus unimac-mdio--19: MDIO device at address 1 is missing.
[    3.285661] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus

....

[   13.082281] could not attach to PHY
[   13.089762] bcmgenet fd580000.ethernet eth0: failed to connect to PHY
[   74.739621] could not attach to PHY
[   74.746492] bcmgenet fd580000.ethernet eth0: failed to connect to PHY

Here's the full boot log:
https://pastebin.com/8RhuezSn

It looks like it's related to the following bugzilla entry:
https://bugzilla.kernel.org/show_bug.cgi?id=213485

However, that commit has been merged for a while apparently, and even
next-20211022 shows that behavior, both with the drivers built-in or as
modules. The other suggested fix to set probe_type to
PROBE_FORCE_SYNCHRONOUS doesn't seem to fix it either.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-26  4:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-22 14:33 GENET and UNIMAC MDIO probe issue? Maxime Ripard
2021-10-22 15:35 ` Stefan Wahren
2021-10-22 15:58   ` Maxime Ripard
2021-10-26  4:03     ` Cyril Brulebois
2021-10-22 16:27   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox