How to debug Ethernet connectivity

Alexander Aring alex.aring at gmail.com
Tue Dec 10 12:46:09 EST 2013


On Tue, Dec 10, 2013 at 07:24:40PM +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 issue with current barebox.
> 
> The /dev/phy0 device is unavailable till you use network.
> You can use this (ugly!) way
>   So just after boot type 'dhcp', next type 'ctrl-c' to interrupt dhcp and check /dev/phy0 presence.
> 
mh, bad... :( Maybe just try a ping instead of dhcp to bring /dev/phy0
alive. But that's a ugly hack, too.

Is there no some global(var/env) to enable it?

- Alex



More information about the barebox mailing list