lkml.org 
[lkml]   [2020]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-06-03 20:07    [W:0.071 / U:1.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site