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.

TDA4VM: Ethernet link up and down detection problem

Part Number: TDA4VM

Tool/software:

Hi,

I am having issue with ethernet interface up and down for one interface which driver is running on R5F with freertos running on it. Linux doesn't update /sys/class/net/dl-eth0/ files according to wire plugged in or plugged out, it keeps previous states.

Here are outputs of /sys/class/net/dl-eth0/.

First image is after booting where UTP cable is not plugged in. Second is after plugging in, and third after plugging out cable from that interface. As you can see carrier always stays at 1, but in the other port which driver is fully implemented on Linux host side, carrier is set to 0 if cable is not plugged in else it is set to 1. Also operstate: is always set to unknown regardles of cable plugged in or not.

PROCESSOR-SDK-LINUX-J721E: 08.04.00.11 (02 Sep 2022)

PROCESSOR-SDK-RTOS-J721E: 08.06.00.21 according to pdk_jacinto_<version> folder name