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.

AM6422: some erro when using the Ethernet port of ICSSG0

Part Number: AM6422
Other Parts Discussed in Thread: DP83620

Tool/software:

When using the hardware developed by AM6422, the following issues occurred when using the Ethernet port of ICSSG0. The Ethernet has been successfully debugged in the real-time R5F environment, and it has been confirmed that there are no problems with the hardware connection.
Developed under Linux with SDK version 8.6 and corresponding kernel version 5.10, using ICSSG0 Ethernet port emac0, PHY model DP83620, and MII interface with PHY. Add the emac0 configuration of ICSSG0 in the device tree, as shown in the device tree file Device tree file.pdf
1. After compiling the device tree and updating it to hardware, the PHY can be recognized, and plugging or unplugging the network cable can recognize changes in connection status. However, after configuring the IP address, ping through the ping command does not work. The printed information can be found in the "Print Information. c" file
2. The following tests were conducted
1) Use the ethtooS eth2 command to print the "Print Information. c" file
2) Ethtool-S eth2, please refer to the "Print Information. c" file for printing
3) Ethtool - i eth2, please refer to the "Print Information. c" file for printing
4) Ethtool eth2, please refer to the "Print Information. c" file for printing
5) Using the phytool print command, the value in the phy register can be read out, as shown in the "Print Information. c" file for printing
6) I used an oscilloscope to check the sending clock signal and confirmed that it is 25MHz, where channel 1 is the sending clock signal and channel 2 is the receiving clock signal.

print.C

Device tree file.pdf.pdf