How to debug Ethernet connectivity
antonynpavlov at gmail.com
Tue Dec 10 10:24:40 EST 2013
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.
> On Fri, Dec 6, 2013 at 1:43 PM, Alexander Aring <alex.aring at gmail.com> wrote:
> > On Fri, Dec 06, 2013 at 01:39:25PM +0100, Sascha Hauer wrote:
> >> On Fri, Dec 06, 2013 at 01:18:52PM +0100, Atilla Filiz wrote:
> >> > Sorry, figured it out. Just most verbose output is funny as well:
> >> > :/ miitool -vvv /dev/mc13xxx
> >> Don't know what miitool does in this case, but mc13xxx is not your phy,
> >> it's your PMIC.
> > oh, doesn't realize that :D. So reading zeros can make sense in some
> > offset. :-)
> > - Alex
> Atilla Filiz
> barebox mailing list
> barebox at lists.infradead.org
More information about the barebox