[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200603180615.GB971209@lunn.ch>
Date: Wed, 3 Jun 2020 20:06:15 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Roelof Berg <rberg@...g-solutions.de>
Cc: David Miller <davem@...emloft.net>,
Bryan Whitehead <bryan.whitehead@...rochip.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lan743x: Added fixed link and RGMII support / debugging
On Wed, Jun 03, 2020 at 06:33:28PM +0200, Roelof Berg wrote:
> Ok, let's proceed :) The code runs well, dmesg looks good, ip addr shows me a link up, speed/duplex looks ok. But it does not transfer any data.
>
> Debugging steps (A/B versions):
> - Check clocks with oscilloscope (10/100/1000)
> - Dump actual register settings
> - Trace Phy-Phy autonegotiation and ensure that our patch catches up the result
Adding #define DEBUG to the top of drivers/net/phy/phy.c will get you
some debug info.
What PHY is being used?
Is it using RGMII?
If it looks like the PHY and the MAC are happy, just that frames are
not being transferred between them, it could be RGMII delays.
Andrew
Powered by blists - more mailing lists