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. 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). I will talk to the hardware guys to verify the pin muxing and phy address. On Tue, Dec 10, 2013 at 6:46 PM, Alexander Aring <alex.aring@xxxxxxxxx> wrote: > 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@xxxxxxxxx> 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 -- Atilla Filiz _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox