eth0: Could not attach to PHY

Heiko Schocher hs at denx.de
Thu Jan 22 20:17:07 EST 2009


Hello wael,

wael showair <showair2003 at yahoo.com> wrote:
> i have a board with MPC8555 processor
> uboot version 1.1.6
> linux kernel 2.6.19-rc5
> ltib version: 6.2.2-sv
> gcc 3.4.3
> 
> it boots successfully
> i want to upgrade my linux kernel to 2.6.27
> i upgraded the following:
> ltib version 8.1.2-sv
> gcc 4.1
> linux kernel 2.6.27
> & i kept the uboot with the same version 1.1.6
> 
> the kernel booting stucks as follows:
> 
> *****************************************************************************
> U-Boot 1.1.6 (Feb  8 2007 - 14:00:17)
[...]
> RPC: Registered tcp transport module.
> 24520:10 not found
> eth0: Could not attach to PHY

Here is your problem. For some reason, your network driver
couldnt find the PHY ... Maybe there is something changed
between 2.6.19-rc5 and 2.6.27.

> IP-Config: Failed to open eth0
> IP-Config: Failed to open eth1
> IP-Config: No network devices available.

and so, there is no network device ...

I have no 85xx board, but maybe following commit is something
for you:

gianfar: Convert gianfar to an of_platform_driver
author	Andy Fleming <afleming at freescale.com>
	Tue, 16 Dec 2008 23:29:15 +0000 (15:29 -0800)
committer	David S. Miller <davem at davemloft.net>
	Tue, 16 Dec 2008 23:29:15 +0000 (15:29 -0800)
commit	b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4
tree	f8643c2fd1b137dd6c00bcd385ad36adfca4f540	tree | snapshot
parent	257d938a0c17838c740eb68f0005b041444ac2c2	commit | diff
gianfar: Convert gianfar to an of_platform_driver

Does the same for the accompanying MDIO driver, and then modifies the TBI
configuration method.  The old way used fields in einfo, which no longer
exists.  The new way is to create an MDIO device-tree node for each instance
of gianfar, and create a tbi-handle property to associate ethernet controllers
with the TBI PHYs they are connected to.

Signed-off-by: Andy Fleming <afleming at freescale.com>
Signed-off-by: David S. Miller <davem at davemloft.net>

----------------------------------------------------------------------

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany



More information about the Linuxppc-dev mailing list