[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230501064655.2ovbo3yhkym3zu57@soft-dev3-1>
Date: Mon, 1 May 2023 08:46:55 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: Ron Eggler <ron.eggler@...tywest.com>
CC: <netdev@...r.kernel.org>
Subject: Re: Unable to TX data on VSC8531
The 04/30/2023 07:08, Ron Eggler wrote:
>
> Hi,
Hi Ron,
>
> I've posted here previously about the bring up of two network interfaces
> on an embedded platform that is using two the Microsemi VSC8531 PHYs.
> (previous thread: issues to bring up two VSC8531 PHYs, Thanks to Heiner
> Kallweit & Andrew Lunn).
> I'm able to seemingly fully access & operate the network interfaces
> through ifconfig (and the ip commands) and I set the ip address to match
> my /24 network. However, while it looks like I can receive & see traffic
> on the line with tcpdump, it appears like none of my frames can go out
> in TX direction and hence entries in my arp table mostly remain
> incomplete (and if there actually happens to be a complete entry,
> sending anything to it doesn't seem to work and the TX counters in
> ifconfig stay at 0. How can I further troubleshoot this? I have set the
> phy-mode to rgmii-id in the device tree and have experimented with all
> the TX_CLK delay register settings in the PHY but have failed to make
> any progress.
Some of the VSC phys have this COMA mode, and then you need to pull
down a GPIO to take it out of this mode. I looked a little bit but I
didn't find anything like this for VSC8531 but maybe you can double
check this. But in that case both the RX and TX will not work.
Are there any errors seen in the registers 16 (0x10) or register 17
(0x11)?
>
> Thank you,
> Ron
--
/Horatiu
Powered by blists - more mailing lists