This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359: Ethernet interface eth0 on AM335x-GP-EVM with ti-rt-linux-5.4.y is not functional.

Part Number: AM3359

Hi Team,

I see a very weird issue of networking on AM335x-GP-EVM and AM335x-SK, with ti-rt-linux-5.4.y version.

The RX count is always zero on eth0.The TX count increases. The Network never comes up, as there is no handshake of network packets is happening.

The same target Hardware with ti-rt-linux-4.19.y, works without issue.

When I looked at the dts files, I could see the following 

5.4 on the right and 4.19rt on the left

When I modified it to the following:

It works. Can you please let me know what is the correct value for the phy-mode. How it is decided?

On AM437x-evm the phy-mode = "rgmii", across multiple kernel versions.

The networking works fine on AM437x-GP-EVM.

  • Hi,

    The dts difference you pointed out is for the AM335x to implement a required workaround for the AM335x. This is a link showing the commit for the reason why the dts file was changed between kernel versions.

    Are you seeing this issue on the AM437?

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Thank you for the inputs.

    I do not see any issue on the AM437x.

    But only on the AM335x I see the issue. The value rgmii-txd and rgmii-id are not working. Only if I set the phy-mode to rgmii-rxd, I see the RX packets on the interface. Can you please let me know if it is correct to use rgmii-rxd

    Thanks,

    Annapurna