How to debug Ethernet connectivity

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 11 05:25:34 EST 2013


On Tue, Dec 10, 2013 at 07:30:29PM +0400, Antony Pavlov wrote:
> On Tue, 10 Dec 2013 14:31:23 +0100
> Atilla Filiz <atilla.filiz at gmail.com> wrote:
> 
> > Ok, then my problem is slightly more clear, that /dev/phy0 does not exist.
> > I do define a struct fec_platform_data with
> > xcv_type=PHY_INTERFACE_MODE_MII and register it via imx27_add_fec().
> > 
> > Now I need to find out why it fails to register the device.
> 
> There is an issue with current barebox.
> 
> The /dev/phy0 device not present just after boot. You need somehow to use network
> to make it appeared.
> 
> Use this [ugly!] method:
>   Run barebox on your board. Just after boot /dev/phy0 is absent.
>   So run 'dhcp' command. In a few seconds press "ctrl-c" to interrupt it.
>   Check /dev/phy0 presence.

This is really annoying and something which I'd like to have fixed for longer.
I'm currently working my way through the phy layer to fix that.

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