On Thu, Oct 31, 2019 at 02:14:04PM +0100, Andrew Lunn wrote: > On Thu, Oct 31, 2019 at 02:04:22PM +0100, Andrew Lunn wrote: > > On Wed, Oct 30, 2019 at 08:21:17PM +0000, Priit Laes wrote: > > > Heya! > > > > > > I have noticed that with sun7i-dwmac driver (OLinuxino Lime2 eMMC), link > > > detection fails consistently with certain 1000Mbit partners (for example > > > Huawei > > > B525s-23a 4g modem ethernet outputs and RTL8153-based USB3.0 ethernet > > > dongle), > > > but the same hardware works properly with certain other link partners > > > (100Mbit GL AR150 > > > for example). > > > > Hi Pritt > > > > What PHY is used? And what happens if you use the specific PHY driver, > > not the generic PHY driver? > > Schematics of the board are here: > > https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME2/1.%20Latest%20hardware%20revision/A20-OLinuXino-Lime2_Rev_K2_COLOR.pdf > > So it has a KSZ9031. The micrel driver supports that device. And there > is a patch which might be relevant: > > commit 3aed3e2a143c9619f4c8d0a3b8fe74d7d3d79c93 > Author: Antoine Tenart <[email protected]> ... > Please test using the Micrel PHY driver and see if that solves your > problem.
Thanks, CONFIG_MICREL_PHY=y helped! > > Andrew -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191031161939.GA12834%40plaes.org.
