[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228140448.GR3809@lunn.ch>
Date: Thu, 28 Feb 2019 15:04:48 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Russell King - ARM Linux admin <linux@...linux.org.uk>,
Florian Fainelli <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: phylink / mv8e6xxx and SGMII aneg not working, link doesn't come
up
On Thu, Feb 28, 2019 at 12:51:54AM +0100, Heiner Kallweit wrote:
> On 28.02.2019 00:19, Andrew Lunn wrote:
> >> >From what you've described, it sounds like what you actually have is:
> >>
> >> MAC <---> Serdes PHY <---> PHY
> >>
> >> The Serdes PHY receives the SGMII in-band negotiation from the external
> >> PHY, but there is no propagation of the status from the serdes PHY to
> >> the MAC.
> >
> > Yes, that is a good description. So far, we have not yet got the MAC
> > to read the speed and duplex from the SERDES to configure itself. In
> > theory it should be able to, it is all in the same device.
> >
> > It might be that once the SERDES interrupts saying it has link we need
> > to program the MAC with the result of the in-band signalling. in-band
> > then seems a bit pointless. Or we are missing some configuration
> > somewhere to tell the MAC to use the in-band signalling result from
> > the SERDES.
> >
> I'll play a little with it and see whether I get it working.
Hi Heiner
It would be good to get the MAC using the in-band signalling. Try bit
12. The table of cmodes does suggest SGMII mode should have that bit
set.
Andrew
Powered by blists - more mailing lists