How to debug Ethernet connectivity

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 11 05:28:37 EST 2013


On Wed, Dec 11, 2013 at 10:39:17AM +0100, Atilla Filiz wrote:
> My problem is, /dev/phy0 never appears when I give the correct phy address.
> 
> Unable to find a PHY (unknown ID?)
> dhcp failed: I/O error
> dhcp: I/O error
> 
> Also, fec_probe function for fec_imx driver never gets called.

If that's the case...

> Ironically, I do not get an I/O error when I give the wrong phy
> address. Still nothing gets detected and no device node appears, but
> ethernet works(by forcing the line detect functions to return 0).

...your ethernet can't possibly work.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list