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.

Linux/AM3352: AM3352 dual MAC port communication issue with EZSDK8.0 on StarterKit EVM

Part Number: AM3352
Other Parts Discussed in Thread: TEST2

Tool/software: Linux

Hi Team,

We met one issue on the StarterKit EVM with the Linux EZSDK 8.0 when trying to reproduce customers' issues. 

I did the same test on 2 StarterKit EVMs, but the results are the same. 

Below is the step to reproduce the issue on StarterKit EVM:

1. use the pre-built images and ti-sdk filesystem to make the booting SD card then boot the StarterKit EVM.  

2. connected the two RGMII port 1 to a router (gateway: 10.83.130.1) and RGMII port 2 to another router (gateway: 192.168.1.1)

3. use ping command to set up the connection on RGMII2.  ping 192.168.1.1 &. This will make the port working continuously. 

4. use the test script to test RGMII1. Then the issue will be seen within 20min. 

Test Scripts:(can directly input in the console).

cnt = 0
while [ 1 ]
do
cnt=$(($cnt + 1))
echo "count=$cnt"
sleep 2
ifconfig eth0 down
sleep 1
ifconfig eth0 up
sleep 5

lost=`ping -c 3 -W 6 10.85.130.1 | grep 'packet loss'|awk '{print $7}'|tr -d '%'`

if [ $lost == 0 ]; then
echo "host is alive"
else
echo "host is not alive"
break
fi
done

Issue log could be seen as attached. 

Two StarterKit EVM showed the same issue log. Could someone help to provide how to solve this issue?

3247.TEST2_LOG.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
host is alive
count=5
64 bytes from 192.168.1.1: seq=53 ttl=64 time=0.964 ms
64 bytes from 192.168.1.1: seq=54 ttl=64 time=0.825 ms
64 bytes from 192.168.1.1: seq=55 ttl=64 time=0.994 ms
[ 129.580558] net eth0: initializing cpsw version 1.12 (0)
[ 129.657453] net eth0: phy found : id is : 0x4dd074
64 bytes from 192.168.1.1: seq=56 ttl=64 time=1.054 ms
64 bytes from 192.168.1.1: seq=57 ttl=64 time=0.804 ms
64 bytes from 192.168.1.1: seq=58 ttl=64 time=0.804 ms
64 bytes from 192.168.1.1: seq=59 ttl=64 time=0.753 ms
[ 133.657506] libphy: 4a101000.mdio:00 - Link is Up - 1000/Full
64 bytes from 192.168.1.1: seq=60 ttl=64 time=0.870 ms
64 bytes from 192.168.1.1: seq=61 ttl=64 time=0.898 ms
64 bytes from 192.168.1.1: seq=62 ttl=64 time=0.790 ms
host is alive
count=6
64 bytes from 192.168.1.1: seq=63 ttl=64 time=0.967 ms
64 bytes from 192.168.1.1: seq=64 ttl=64 time=0.845 ms
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1055.TEST_LOG.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
host is alive
count=96
64 bytes from 192.168.1.1: seq=886 ttl=64 time=0.940 ms
64 bytes from 192.168.1.1: seq=887 ttl=64 time=0.932 ms
64 bytes from 192.168.1.1: seq=888 ttl=64 time=1.017 ms
[ 2534.167643] net eth0: initializing cpsw version 1.12 (0)
[ 2534.247219] net eth0: phy found : id is : 0x4dd074
64 bytes from 192.168.1.1: seq=889 ttl=64 time=0.981 ms
64 bytes from 192.168.1.1: seq=890 ttl=64 time=0.807 ms
64 bytes from 192.168.1.1: seq=891 ttl=64 time=0.819 ms
64 bytes from 192.168.1.1: seq=892 ttl=64 time=0.946 ms
[ 2538.247274] libphy: 4a101000.mdio:00 - Link is Up - 1000/Full
64 bytes from 192.168.1.1: seq=893 ttl=64 time=0.918 ms
64 bytes from 192.168.1.1: seq=894 ttl=64 time=0.906 ms
64 bytes from 192.168.1.1: seq=895 ttl=64 time=0.794 ms
host is alive
count=97
64 bytes from 192.168.1.1: seq=896 ttl=64 time=0.981 ms
64 bytes from 192.168.1.1: seq=897 ttl=64 time=0.938 ms
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX