[OpenWrt-Devel] MV88E6060 switch
Nerijus Baliunas
nerijus at users.sourceforge.net
Fri Sep 8 05:36:51 EDT 2017
On Fri, 28 Jul 2017 01:03:16 +0300 Nerijus Baliunas <nerijus at users.sourceforge.net> wrote:
> On Thu, 27 Jul 2017 23:43:19 +0300 Sergey Ryazanov <ryazanov.s.a at gmail.com> wrote:
>
> > >> Did you see the "Marvell 88E6060 PHY driver attached" in kernel
> > >> messages log? If not then the mwswitch driver did not attached and
> > >> you should fix this first. And only then go to the interface
> > >> configuration.
> > >
> > > No, dmesg|grep 6060 does not show anything. How do I fix it?
> >
> > Try to check, which MDIO addresses PHY core (or Ethernet MAC driver)
> > scans to detect connected PHYs.
Is this the info which was needed or should I provide something else?
> I enabled #define DEBUG_MDIO 1 in ixp4xx_eth.c and got this:
> # dmesg|grep -i MII|grep -v took
> [ 0.971141] IXP4xx MII Bus #0: MII read failed
> [ 0.971173] IXP4xx MII Bus #0: MII read [2] -> 0xFFFF
> [ 0.971268] IXP4xx MII Bus #0: MII read failed
> [ 0.971299] IXP4xx MII Bus #0: MII read [3] -> 0xFFFF
> [ 0.971400] IXP4xx MII Bus #1: MII read [2] -> 0x0
> [ 0.971500] IXP4xx MII Bus #1: MII read [3] -> 0x8201
> [ 0.973099] IXP4xx MII Bus #2: MII read failed
> [ 0.973132] IXP4xx MII Bus #2: MII read [2] -> 0xFFFF
> [ 0.973227] IXP4xx MII Bus #2: MII read failed
> [ 0.973258] IXP4xx MII Bus #2: MII read [3] -> 0xFFFF
> [ 0.973354] IXP4xx MII Bus #3: MII read failed
> [ 0.973385] IXP4xx MII Bus #3: MII read [2] -> 0xFFFF
> [ 0.973479] IXP4xx MII Bus #3: MII read failed
> [ 0.973511] IXP4xx MII Bus #3: MII read [3] -> 0xFFFF
> [ 0.973606] IXP4xx MII Bus #4: MII read failed
> [ 0.973637] IXP4xx MII Bus #4: MII read [2] -> 0xFFFF
> [ 0.973731] IXP4xx MII Bus #4: MII read failed
> [ 0.973762] IXP4xx MII Bus #4: MII read [3] -> 0xFFFF
> [ 0.973857] IXP4xx MII Bus #5: MII read failed
> [ 0.973888] IXP4xx MII Bus #5: MII read [2] -> 0xFFFF
> [ 0.973982] IXP4xx MII Bus #5: MII read failed
> [ 0.974014] IXP4xx MII Bus #5: MII read [3] -> 0xFFFF
> [ 0.974109] IXP4xx MII Bus #6: MII read failed
> [ 0.974140] IXP4xx MII Bus #6: MII read [2] -> 0xFFFF
> [ 0.974235] IXP4xx MII Bus #6: MII read failed
> [ 0.974266] IXP4xx MII Bus #6: MII read [3] -> 0xFFFF
> [ 0.974361] IXP4xx MII Bus #7: MII read failed
> [ 0.974392] IXP4xx MII Bus #7: MII read [2] -> 0xFFFF
> [ 0.974486] IXP4xx MII Bus #7: MII read failed
> [ 0.974517] IXP4xx MII Bus #7: MII read [3] -> 0xFFFF
> [ 0.974613] IXP4xx MII Bus #8: MII read failed
> [ 0.974644] IXP4xx MII Bus #8: MII read [2] -> 0xFFFF
> [ 0.974739] IXP4xx MII Bus #8: MII read failed
> [ 0.974770] IXP4xx MII Bus #8: MII read [3] -> 0xFFFF
> [ 0.974865] IXP4xx MII Bus #9: MII read failed
> [ 0.974896] IXP4xx MII Bus #9: MII read [2] -> 0xFFFF
> [ 0.974990] IXP4xx MII Bus #9: MII read failed
> [ 0.975021] IXP4xx MII Bus #9: MII read [3] -> 0xFFFF
> [ 0.975118] IXP4xx MII Bus #10: MII read failed
> [ 0.975149] IXP4xx MII Bus #10: MII read [2] -> 0xFFFF
> [ 0.975245] IXP4xx MII Bus #10: MII read failed
> [ 0.975276] IXP4xx MII Bus #10: MII read [3] -> 0xFFFF
> [ 0.975372] IXP4xx MII Bus #11: MII read failed
> [ 0.975403] IXP4xx MII Bus #11: MII read [2] -> 0xFFFF
> [ 0.975498] IXP4xx MII Bus #11: MII read failed
> [ 0.975530] IXP4xx MII Bus #11: MII read [3] -> 0xFFFF
> [ 0.975626] IXP4xx MII Bus #12: MII read failed
> [ 0.975657] IXP4xx MII Bus #12: MII read [2] -> 0xFFFF
> [ 0.975752] IXP4xx MII Bus #12: MII read failed
> [ 0.975784] IXP4xx MII Bus #12: MII read [3] -> 0xFFFF
> [ 0.975879] IXP4xx MII Bus #13: MII read failed
> [ 0.975911] IXP4xx MII Bus #13: MII read [2] -> 0xFFFF
> [ 0.976006] IXP4xx MII Bus #13: MII read failed
> [ 0.976037] IXP4xx MII Bus #13: MII read [3] -> 0xFFFF
> [ 0.976133] IXP4xx MII Bus #14: MII read failed
> [ 0.976165] IXP4xx MII Bus #14: MII read [2] -> 0xFFFF
> [ 0.976261] IXP4xx MII Bus #14: MII read failed
> [ 0.976292] IXP4xx MII Bus #14: MII read [3] -> 0xFFFF
> [ 0.976388] IXP4xx MII Bus #15: MII read failed
> [ 0.976419] IXP4xx MII Bus #15: MII read [2] -> 0xFFFF
> [ 0.976514] IXP4xx MII Bus #15: MII read failed
> [ 0.976545] IXP4xx MII Bus #15: MII read [3] -> 0xFFFF
> [ 0.976646] IXP4xx MII Bus #16: MII read [2] -> 0x141
> [ 0.976747] IXP4xx MII Bus #16: MII read [3] -> 0xC87
> [ 0.978682] IXP4xx MII Bus #24: MII read [3] -> 0x602
> [ 0.979235] IXP4xx MII Bus #17: MII read [2] -> 0x141
> [ 0.979336] IXP4xx MII Bus #17: MII read [3] -> 0xC87
> [ 0.981110] IXP4xx MII Bus #18: MII read [2] -> 0x141
> [ 0.981211] IXP4xx MII Bus #18: MII read [3] -> 0xC87
> [ 0.982664] IXP4xx MII Bus #19: MII read [2] -> 0x141
> [ 0.982765] IXP4xx MII Bus #19: MII read [3] -> 0xC87
> [ 0.984184] IXP4xx MII Bus #20: MII read [2] -> 0x141
> [ 0.984285] IXP4xx MII Bus #20: MII read [3] -> 0xC87
> [ 0.985770] IXP4xx MII Bus #21: MII read [2] -> 0x0
> [ 0.985870] IXP4xx MII Bus #21: MII read [3] -> 0x0
> [ 0.987322] IXP4xx MII Bus #22: MII read [2] -> 0x0
> [ 0.987422] IXP4xx MII Bus #22: MII read [3] -> 0x0
> [ 0.988983] IXP4xx MII Bus #23: MII read [2] -> 0x0
> [ 0.989084] IXP4xx MII Bus #23: MII read [3] -> 0x0
> [ 0.990553] IXP4xx MII Bus #24: MII read [2] -> 0x0
> [ 0.990653] IXP4xx MII Bus #24: MII read [3] -> 0x602
> [ 0.992135] IXP4xx MII Bus #25: MII read [2] -> 0x0
> [ 0.992236] IXP4xx MII Bus #25: MII read [3] -> 0x602
> [ 0.993668] IXP4xx MII Bus #26: MII read [2] -> 0x0
> [ 0.993769] IXP4xx MII Bus #26: MII read [3] -> 0x602
> [ 0.995213] IXP4xx MII Bus #27: MII read [2] -> 0x0
> [ 0.995313] IXP4xx MII Bus #27: MII read [3] -> 0x602
> [ 0.996749] IXP4xx MII Bus #28: MII read [2] -> 0x0
> [ 0.996849] IXP4xx MII Bus #28: MII read [3] -> 0x602
> [ 0.998319] IXP4xx MII Bus #29: MII read [2] -> 0x0
> [ 0.998420] IXP4xx MII Bus #29: MII read [3] -> 0x602
> [ 1.000021] IXP4xx MII Bus #30: MII read [2] -> 0x0
> [ 1.000120] IXP4xx MII Bus #30: MII read [3] -> 0x0
> [ 1.001588] IXP4xx MII Bus #31: MII read [2] -> 0x0
> [ 1.001687] IXP4xx MII Bus #31: MII read [3] -> 0x0
> [ 1.003068] libphy: IXP4xx MII Bus: probed
> [ 1.010033] eth0: MII PHY 32 on NPE-B
> [ 1.014186] IXP4xx MII Bus #1: MII read [1] -> 0x7849
> [ 1.014288] IXP4xx MII Bus #1: MII read [0] -> 0x1000
> [ 1.014393] IXP4xx MII Bus #1: MII write [0] <- 0x1000, err = 0
> [ 1.016811] eth1: MII PHY 1 on NPE-C
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list