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.

TDA4VE-Q1: TDA4VE CPSW ALE

Part Number: TDA4VE-Q1

Tool/software:

Hi Experts:

                High temperature power on/off test may cause Ethernet failure after a certain startup
                TDA4VE J721S2 sdk0806


                Topology is as follows, connected via RMII mode
                                TDA4VE main cpsw <----> DP83TC813CS2 <----> pc


               When the ping failure occurs, check ifconfig and find that rx is 0, as shown below,
               root@imotion:~# ifconfig
                    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
                    inet 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
                    inet6 fe80::51:52ff:fe00:d prefixlen 64 scopeid 0x20<link>
                    ether 02:51:52:00:00:0d txqueuelen 1000 (Ethernet)
                    RX packets 0 bytes 0 (0.0 B)
                    RX errors 0 dropped 0 overruns 0 frame 0
                    TX packets 226 bytes 17218 (16.8 KiB)
                    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

            After multiple tests, ethtool -S eth1 found that the p0 p1 data was abnormal. I guess it was an ale problem, so I dumped the ale table data. The two sets of data are as follows. Please help analyze and solve it

             

root@imotion:~# ifconfig
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 236  bytes 18266 (17.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.100.13  netmask 255.255.255.0  broadcast 172.16.100.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 47  bytes 3496 (3.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.101.13  netmask 255.255.0.0  broadcast 172.16.255.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48  bytes 3566 (3.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.104.13  netmask 255.255.255.0  broadcast 172.16.104.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48  bytes 3566 (3.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.105.13  netmask 255.255.255.0  broadcast 172.16.105.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 46  bytes 3406 (3.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@imotion:~# ethtool -S eth1
NIC statistics:
     p0_rx_good_frames: 236
     p0_rx_broadcast_frames: 0
     p0_rx_multicast_frames: 236
     p0_rx_crc_errors: 0
     p0_rx_oversized_frames: 0
     p0_rx_undersized_frames: 0
     p0_ale_drop: 0
     p0_ale_overrun_drop: 0
     p0_rx_octets: 19238
     p0_tx_good_frames: 0
     p0_tx_broadcast_frames: 0
     p0_tx_multicast_frames: 0
     p0_tx_octets: 0
     p0_tx_64B_frames: 10
     p0_tx_65_to_127B_frames: 226
     p0_tx_128_to_255B_frames: 0
     p0_tx_256_to_511B_frames: 0
     p0_tx_512_to_1023B_frames: 0
     p0_tx_1024B_frames: 0
     p0_net_octets: 19238
     p0_rx_bottom_fifo_drop: 0
     p0_rx_port_mask_drop: 0
     p0_rx_top_fifo_drop: 0
     p0_ale_rate_limit_drop: 0
     p0_ale_vid_ingress_drop: 43
     p0_ale_da_eq_sa_drop: 0
     p0_ale_block_drop: 0
     p0_ale_secure_drop: 0
     p0_ale_auth_drop: 0
     p0_ale_unknown_ucast: 0
     p0_ale_unknown_ucast_bytes: 0
     p0_ale_unknown_mcast: 0
     p0_ale_unknown_mcast_bytes: 0
     p0_ale_unknown_bcast: 0
     p0_ale_unknown_bcast_bytes: 0
     p0_ale_pol_match: 0
     p0_ale_pol_match_red: 0
     p0_ale_pol_match_yellow: 0
     p0_ale_mcast_sa_drop: 0
     p0_ale_dual_vlan_drop: 0
     p0_ale_len_err_drop: 0
     p0_ale_ip_next_hdr_drop: 0
     p0_ale_ipv4_frag_drop: 0
     p0_tx_mem_protect_err: 0
     p0_tx_pri0: 0
     p0_tx_pri1: 0
     p0_tx_pri2: 0
     p0_tx_pri3: 0
     p0_tx_pri4: 0
     p0_tx_pri5: 0
     p0_tx_pri6: 0
     p0_tx_pri7: 0
     p0_tx_pri0_bcnt: 0
     p0_tx_pri1_bcnt: 0
     p0_tx_pri2_bcnt: 0
     p0_tx_pri3_bcnt: 0
     p0_tx_pri4_bcnt: 0
     p0_tx_pri5_bcnt: 0
     p0_tx_pri6_bcnt: 0
     p0_tx_pri7_bcnt: 0
     p0_tx_pri0_drop: 0
     p0_tx_pri1_drop: 0
     p0_tx_pri2_drop: 0
     p0_tx_pri3_drop: 0
     p0_tx_pri4_drop: 0
     p0_tx_pri5_drop: 0
     p0_tx_pri6_drop: 0
     p0_tx_pri7_drop: 0
     p0_tx_pri0_drop_bcnt: 0
     p0_tx_pri1_drop_bcnt: 0
     p0_tx_pri2_drop_bcnt: 0
     p0_tx_pri3_drop_bcnt: 0
     p0_tx_pri4_drop_bcnt: 0
     p0_tx_pri5_drop_bcnt: 0
     p0_tx_pri6_drop_bcnt: 0
     p0_tx_pri7_drop_bcnt: 0
     rx_good_frames: 284
     rx_broadcast_frames: 177
     rx_multicast_frames: 95
     rx_pause_frames: 0
     rx_crc_errors: 0
     rx_align_code_errors: 0
     rx_oversized_frames: 0
     rx_jabber_frames: 0
     rx_undersized_frames: 0
     rx_fragments: 0
     ale_drop: 284
     ale_overrun_drop: 0
     rx_octets: 19998
     tx_good_frames: 236
     tx_broadcast_frames: 0
     tx_multicast_frames: 236
     tx_pause_frames: 0
     tx_deferred_frames: 0
     tx_collision_frames: 0
     tx_single_coll_frames: 0
     tx_mult_coll_frames: 0
     tx_excessive_collisions: 0
     tx_late_collisions: 0
     rx_ipg_error: 0
     tx_carrier_sense_errors: 0
     tx_octets: 19410
     tx_64B_frames: 264
     tx_65_to_127B_frames: 242
     tx_128_to_255B_frames: 14
     tx_256_to_511B_frames: 0
     tx_512_to_1023B_frames: 0
     tx_1024B_frames: 0
     net_octets: 39408
     rx_bottom_fifo_drop: 0
     rx_port_mask_drop: 284
     rx_top_fifo_drop: 0
     ale_rate_limit_drop: 0
     ale_vid_ingress_drop: 284
     ale_da_eq_sa_drop: 0
     ale_block_drop: 0
     ale_secure_drop: 0
     ale_auth_drop: 0
     ale_unknown_ucast: 12
     ale_unknown_ucast_bytes: 1110
     ale_unknown_mcast: 95
     ale_unknown_mcast_bytes: 7368
     ale_unknown_bcast: 177
     ale_unknown_bcast_bytes: 11520
     ale_pol_match: 0
     ale_pol_match_red: 0
     ale_pol_match_yellow: 0
     ale_mcast_sa_drop: 0
     ale_dual_vlan_drop: 0
     ale_len_err_drop: 0
     ale_ip_next_hdr_drop: 0
     ale_ipv4_frag_drop: 0
     iet_rx_assembly_err: 0
     iet_rx_assembly_ok: 0
     iet_rx_smd_err: 0
     iet_rx_frag: 0
     iet_tx_hold: 0
     iet_tx_frag: 0
     tx_mem_protect_err: 0
     tx_pri0: 236
     tx_pri1: 0
     tx_pri2: 0
     tx_pri3: 0
     tx_pri4: 0
     tx_pri5: 0
     tx_pri6: 0
     tx_pri7: 0
     tx_pri0_bcnt: 19238
     tx_pri1_bcnt: 0
     tx_pri2_bcnt: 0
     tx_pri3_bcnt: 0
     tx_pri4_bcnt: 0
     tx_pri5_bcnt: 0
     tx_pri6_bcnt: 0
     tx_pri7_bcnt: 0
     tx_pri0_drop: 0
     tx_pri1_drop: 0
     tx_pri2_drop: 0
     tx_pri3_drop: 0
     tx_pri4_drop: 0
     tx_pri5_drop: 0
     tx_pri6_drop: 0
     tx_pri7_drop: 0
     tx_pri0_drop_bcnt: 0
     tx_pri1_drop_bcnt: 0
     tx_pri2_drop_bcnt: 0
     tx_pri3_drop_bcnt: 0
     tx_pri4_drop_bcnt: 0
     tx_pri5_drop_bcnt: 0
     tx_pri6_drop_bcnt: 0
     tx_pri7_drop_bcnt: 0
root@imotion:~#
root@imotion:~#
root@imotion:~# switch-config --ndev eth0 -d
Cannot get driver information: No such device
root@imotion:~# switch-config --ndev eth1 -d
K3 cpsw dump version (1) len(6328)
ALE table dump ents(64):
0   : type: mcast, addr = 33:33:00:00:00:01, mcast_state = f, no super, port_mask = 0x1
1   : type: ucast, addr = 02:51:52:00:00:0d, ucast_type = persistant, port_num = 0x0, Secure
2   : type: mcast, vid = 0, addr = ff:ff:ff:ff:ff:ff, mcast_state = f, no super, port_mask = 0x3
3   : type: vlan , vid = 100, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
4   : type: vlan , vid = 101, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
5   : type: vlan , vid = 104, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
6   : type: vlan , vid = 105, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
7   : type: mcast, addr = 01:80:c2:00:00:21, mcast_state = f, no super, port_mask = 0x1
8   : type: mcast, addr = 01:00:5e:00:00:01, mcast_state = f, no super, port_mask = 0x1
9   : type: mcast, addr = 33:33:ff:00:00:0d, mcast_state = f, no super, port_mask = 0x1
10  : type: mcast, addr = 01:80:c2:00:00:00, mcast_state = f, no super, port_mask = 0x1
11  : type: mcast, addr = 01:80:c2:00:00:03, mcast_state = f, no super, port_mask = 0x1
12  : type: mcast, addr = 01:80:c2:00:00:0e, mcast_state = f, no super, port_mask = 0x1
13  : type: mcast, addr = 01:00:5e:00:00:fc, mcast_state = f, no super, port_mask = 0x1
14  : type: mcast, addr = 33:33:00:01:00:03, mcast_state = f, no super, port_mask = 0x1

            

root@imotion:~# ifconfig
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 140  bytes 11202 (10.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.100.13  netmask 255.255.255.0  broadcast 172.16.100.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29  bytes 2236 (2.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.101.13  netmask 255.255.0.0  broadcast 172.16.255.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 2146 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.104.13  netmask 255.255.255.0  broadcast 172.16.104.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29  bytes 2236 (2.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vlan5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.105.13  netmask 255.255.255.0  broadcast 172.16.105.255
        inet6 fe80::51:52ff:fe00:d  prefixlen 64  scopeid 0x20<link>
        ether 02:51:52:00:00:0d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 27  bytes 2076 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@imotion:~#
root@imotion:~# ethtool -S eth1
NIC statistics:
     p0_rx_good_frames: 140
     p0_rx_broadcast_frames: 0
     p0_rx_multicast_frames: 140
     p0_rx_crc_errors: 0
     p0_rx_oversized_frames: 0
     p0_rx_undersized_frames: 0
     p0_ale_drop: 140
     p0_ale_overrun_drop: 0
     p0_rx_octets: 11790
     p0_tx_good_frames: 0
     p0_tx_broadcast_frames: 0
     p0_tx_multicast_frames: 0
     p0_tx_octets: 0
     p0_tx_64B_frames: 10
     p0_tx_65_to_127B_frames: 130
     p0_tx_128_to_255B_frames: 0
     p0_tx_256_to_511B_frames: 0
     p0_tx_512_to_1023B_frames: 0
     p0_tx_1024B_frames: 0
     p0_net_octets: 11790
     p0_rx_bottom_fifo_drop: 0
     p0_rx_port_mask_drop: 140
     p0_rx_top_fifo_drop: 0
     p0_ale_rate_limit_drop: 0
     p0_ale_vid_ingress_drop: 0
     p0_ale_da_eq_sa_drop: 0
     p0_ale_block_drop: 0
     p0_ale_secure_drop: 0
     p0_ale_auth_drop: 0
     p0_ale_unknown_ucast: 0
     p0_ale_unknown_ucast_bytes: 0
     p0_ale_unknown_mcast: 0
     p0_ale_unknown_mcast_bytes: 0
     p0_ale_unknown_bcast: 0
     p0_ale_unknown_bcast_bytes: 0
     p0_ale_pol_match: 0
     p0_ale_pol_match_red: 0
     p0_ale_pol_match_yellow: 0
     p0_ale_mcast_sa_drop: 0
     p0_ale_dual_vlan_drop: 0
     p0_ale_len_err_drop: 0
     p0_ale_ip_next_hdr_drop: 0
     p0_ale_ipv4_frag_drop: 0
     p0_tx_mem_protect_err: 0
     p0_tx_pri0: 0
     p0_tx_pri1: 0
     p0_tx_pri2: 0
     p0_tx_pri3: 0
     p0_tx_pri4: 0
     p0_tx_pri5: 0
     p0_tx_pri6: 0
     p0_tx_pri7: 0
     p0_tx_pri0_bcnt: 0
     p0_tx_pri1_bcnt: 0
     p0_tx_pri2_bcnt: 0
     p0_tx_pri3_bcnt: 0
     p0_tx_pri4_bcnt: 0
     p0_tx_pri5_bcnt: 0
     p0_tx_pri6_bcnt: 0
     p0_tx_pri7_bcnt: 0
     p0_tx_pri0_drop: 0
     p0_tx_pri1_drop: 0
     p0_tx_pri2_drop: 0
     p0_tx_pri3_drop: 0
     p0_tx_pri4_drop: 0
     p0_tx_pri5_drop: 0
     p0_tx_pri6_drop: 0
     p0_tx_pri7_drop: 0
     p0_tx_pri0_drop_bcnt: 0
     p0_tx_pri1_drop_bcnt: 0
     p0_tx_pri2_drop_bcnt: 0
     p0_tx_pri3_drop_bcnt: 0
     p0_tx_pri4_drop_bcnt: 0
     p0_tx_pri5_drop_bcnt: 0
     p0_tx_pri6_drop_bcnt: 0
     p0_tx_pri7_drop_bcnt: 0
     rx_good_frames: 1568
     rx_broadcast_frames: 1285
     rx_multicast_frames: 276
     rx_pause_frames: 0
     rx_crc_errors: 0
     rx_align_code_errors: 0
     rx_oversized_frames: 0
     rx_jabber_frames: 0
     rx_undersized_frames: 0
     rx_fragments: 0
     ale_drop: 1568
     ale_overrun_drop: 0
     rx_octets: 141970
     tx_good_frames: 0
     tx_broadcast_frames: 0
     tx_multicast_frames: 0
     tx_pause_frames: 0
     tx_deferred_frames: 0
     tx_collision_frames: 0
     tx_single_coll_frames: 0
     tx_mult_coll_frames: 0
     tx_excessive_collisions: 0
     tx_late_collisions: 0
     rx_ipg_error: 0
     tx_carrier_sense_errors: 0
     tx_octets: 0
     tx_64B_frames: 1277
     tx_65_to_127B_frames: 13
     tx_128_to_255B_frames: 278
     tx_256_to_511B_frames: 0
     tx_512_to_1023B_frames: 0
     tx_1024B_frames: 0
     net_octets: 141970
     rx_bottom_fifo_drop: 0
     rx_port_mask_drop: 1568
     rx_top_fifo_drop: 0
     ale_rate_limit_drop: 0
     ale_vid_ingress_drop: 0
     ale_da_eq_sa_drop: 0
     ale_block_drop: 0
     ale_secure_drop: 0
     ale_auth_drop: 0
     ale_unknown_ucast: 7
     ale_unknown_ucast_bytes: 600
     ale_unknown_mcast: 276
     ale_unknown_mcast_bytes: 56829
     ale_unknown_bcast: 1285
     ale_unknown_bcast_bytes: 84541
     ale_pol_match: 0
     ale_pol_match_red: 0
     ale_pol_match_yellow: 0
     ale_mcast_sa_drop: 0
     ale_dual_vlan_drop: 0
     ale_len_err_drop: 0
     ale_ip_next_hdr_drop: 0
     ale_ipv4_frag_drop: 0
     iet_rx_assembly_err: 0
     iet_rx_assembly_ok: 0
     iet_rx_smd_err: 0
     iet_rx_frag: 0
     iet_tx_hold: 0
     iet_tx_frag: 0
     tx_mem_protect_err: 0
     tx_pri0: 0
     tx_pri1: 0
     tx_pri2: 0
     tx_pri3: 0
     tx_pri4: 0
     tx_pri5: 0
     tx_pri6: 0
     tx_pri7: 0
     tx_pri0_bcnt: 0
     tx_pri1_bcnt: 0
     tx_pri2_bcnt: 0
     tx_pri3_bcnt: 0
     tx_pri4_bcnt: 0
     tx_pri5_bcnt: 0
     tx_pri6_bcnt: 0
     tx_pri7_bcnt: 0
     tx_pri0_drop: 0
     tx_pri1_drop: 0
     tx_pri2_drop: 0
     tx_pri3_drop: 0
     tx_pri4_drop: 0
     tx_pri5_drop: 0
     tx_pri6_drop: 0
     tx_pri7_drop: 0
     tx_pri0_drop_bcnt: 0
     tx_pri1_drop_bcnt: 0
     tx_pri2_drop_bcnt: 0
     tx_pri3_drop_bcnt: 0
     tx_pri4_drop_bcnt: 0
     tx_pri5_drop_bcnt: 0
     tx_pri6_drop_bcnt: 0
     tx_pri7_drop_bcnt: 0
root@imotion:~#
root@imotion:~# switch-config --ndev eth1 -d
K3 cpsw dump version (1) len(6328)
ALE table dump ents(64):
0   : type: vlan , vid = 0, untag_force = 0x3, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
1   : type: ucast, addr = 02:51:52:00:00:0d, ucast_type = persistant, port_num = 0x0, Secure
2   : type: mcast, vid = 0, addr = ff:ff:ff:ff:ff:ff, mcast_state = f, no super, port_mask = 0x3
3   : type: vlan , vid = 100, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
4   : type: vlan , vid = 105, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
5   : type: vlan , vid = 104, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
6   : type: vlan , vid = 101, untag_force = 0x0, reg_mcast = 0x0, unreg_mcast = 0x0, member_list = 0x3
7   : type: mcast, addr = 33:33:00:00:00:01, mcast_state = f, no super, port_mask = 0x1
8   : type: mcast, addr = 01:80:c2:00:00:21, mcast_state = f, no super, port_mask = 0x1
9   : type: mcast, addr = 01:00:5e:00:00:01, mcast_state = f, no super, port_mask = 0x1
10  : type: mcast, addr = 33:33:ff:00:00:0d, mcast_state = f, no super, port_mask = 0x1
11  : type: mcast, addr = 01:80:c2:00:00:00, mcast_state = f, no super, port_mask = 0x1
12  : type: mcast, addr = 01:80:c2:00:00:03, mcast_state = f, no super, port_mask = 0x1
13  : type: mcast, addr = 01:80:c2:00:00:0e, mcast_state = f, no super, port_mask = 0x1
14  : type: mcast, addr = 01:00:5e:00:00:fc, mcast_state = f, no super, port_mask = 0x1
15  : type: mcast, addr = 33:33:00:01:00:03, mcast_state = f, no super, port_mask = 0x1

  • Hello Gaston

        in our discussion in mail, executing "ifconfig eth1 down/up" command,

        system can recover

        please help check the BMSR register to see if the link is up in PHY,

      

    using following command:

    if the PHY is up and Linux Ethernet port state is down, this should be a PHY diver issue,  

    "ifconfig down/up" operation can be used as a workaround

    ------------------------------------------

    Regards

       Semon

  • Hi Semon:

                   Regarding workaround, the previous project also did it by ifconfig eth1 down and up, which we will not accept this time.

  • Regarding workaround, the previous project also did it by ifconfig eth1 down and up, which we will not accept this time.

    Hi Gaston

        please provide the "dmesg" log, when the Ethernet port can not link up, and the log with cable plug in/out.action

        also ifconfig down/up dmesg log

    Regards

       Semon

  • Hi semon:

                  There is no change when the network cable is plugged in and out. See the attachment for ifconfig down/up dmesg log. I did ifconfig eth1 down and up on 286s.

                 

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-imotion (yan@bsp-ThinkCentre-neo-P600IRB-05) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #258 SMP PREEMPT Wed Jun 4 17:13:30 CST 2025
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@b0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node zx-app-shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node zx-ota-shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node zx-ftc-shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node zx-ccw-shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node zx-mcu-log-shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 704 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000dbffffff]
    [    0.000000]   node   0: [mem 0x00000000dc000000-0x00000000dcffffff]
    [    0.000000]   node   0: [mem 0x00000000dd000000-0x00000000dfffffff]
    [    0.000000]   node   0: [mem 0x00000000e0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008abffffff]
    [    0.000000]   node   0: [mem 0x00000008ac000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 21 pages/cpu s47896 r8192 d29928 u86016
    [    0.000000] pcpu-alloc: s47896 r8192 d29928 u86016 alloc=21*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x2880000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2269088K/4194304K available (7102K kernel code, 868K rwdata, 1940K rodata, 1088K init, 349K bss, 1925216K reserved, 0K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8ac800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008ac030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008ac040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000201] Console: colour dummy device 80x25
    [    0.000234] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000241] pid_max: default: 32768 minimum: 301
    [    0.000325] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000350] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001291] rcu: Hierarchical SRCU implementation.
    [    0.001441] Platform MSI: msi-controller@1820000 domain created
    [    0.001680] smp: Bringing up secondary CPUs ...
    [    0.005862] Detected PIPT I-cache on CPU1
    [    0.005891] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.005903] GICv3: CPU1: using allocated LPI pending table @0x00000008ac050000
    [    0.005944] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.006010] smp: Brought up 1 node, 2 CPUs
    [    0.006014] SMP: Total of 2 processors activated.
    [    0.006019] CPU features: detected: 32-bit EL0 Support
    [    0.006022] CPU features: detected: CRC32 instructions
    [    0.013451] CPU: All CPU(s) started at EL2
    [    0.013475] alternatives: patching kernel code
    [    0.014105] devtmpfs: initialized
    [    0.018925] KASLR disabled due to lack of seed
    [    0.019014] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.019024] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.019092] pinctrl core: initialized pinctrl subsystem
    [    0.019678] NET: Registered protocol family 16
    [    0.019981] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.020084] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.020177] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.020340] thermal_sys: Registered thermal governor 'step_wise'
    [    0.020422] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.020457] ASID allocator initialised with 32768 entries
    [    0.028818] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.028826] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.028829] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.028832] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.029475] cryptd: max_cpu_qlen set to 1000
    [    0.030491] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.030994] vsys_3v3: supplied by evm_12v0
    [    0.031140] vsys_5v0: supplied by evm_12v0
    [    0.031313] iommu: Default domain type: Translated
    [    0.032225] clocksource: Switched to clocksource arch_sys_counter
    [    0.032318] VFS: Disk quotas dquot_6.6.0
    [    0.032350] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.034857] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.034904] Carveout Heap: Exported 16 MiB at 0x00000000dc000000
    [    0.034953] Carveout Heap: Exported 48 MiB at 0x00000000dd000000
    [    0.034993] Carveout Heap: Exported 0 MiB at 0x00000000e0000000
    [    0.035029] Carveout Heap: Exported 0 MiB at 0x00000000e0010000
    [    0.035067] Carveout Heap: Exported 0 MiB at 0x00000000e0020000
    [    0.035136] NET: Registered protocol family 2
    [    0.035415] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.036617] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.036651] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.036759] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.037001] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.037132] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.037184] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.037317] NET: Registered protocol family 1
    [    0.037332] NET: Registered protocol family 44
    [    0.037673] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.039781] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.060959] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [    0.060965] io scheduler mq-deadline registered
    [    0.060968] io scheduler kyber registered
    [    0.061880] pinctrl-single 4301c000.pinctrl: 101 pins, size 404
    [    0.062013] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.077298] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.081871] brd: module loaded
    [    0.085598] loop: module loaded
    [    0.086489] tun: Universal TUN/TAP device driver, 1.6
    [    0.086811] i2c /dev entries driver
    [    0.086948] sdhci: Secure Digital Host Controller Interface driver
    [    0.086951] sdhci: Copyright(c) Pierre Ossman
    [    0.087093] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.087479] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.088143] NET: Registered protocol family 17
    [    0.090352] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.3--1-g2249f (Chill Capybara')
    [    0.130869] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.131017] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    0.131120] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    0.131369] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    0.131680] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    0.138906] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    0.139822] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    0.139828] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.139831] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.141287] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    0.141292] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.141297] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.142251] 2820000.serial: ttyS3 at MMIO 0x2820000 (irq = 15, base_baud = 3000000) is a 8250
    [    0.143524] 2850000.serial: ttyS4 at MMIO 0x2850000 (irq = 16, base_baud = 3000000) is a 8250
    [    0.144878] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 17, base_baud = 3000000) is a 8250
    [    0.144913] printk: console [ttyS2] enabled
    [    0.144916] printk: bootconsole [ns16550a0] disabled
    [    0.145625] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
    [    0.145763] mdio_bus c200f00.mdio: mii_bus c200f00.mdio couldn't get reset GPIO
    [    0.145901] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    0.145992] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    0.146000] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    0.146002] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    0.148231] mmc0: CQHCI version 5.10
    [    0.148685] mmc1: CQHCI version 5.10
    [    0.150290] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    0.150628] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    0.150950] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    0.151261] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    0.151978] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    0.159736] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    0.161467] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode
    [    0.184217] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    0.192755] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    0.204219] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.258404] mmc0: Command Queue Engine enabled
    [    0.258413] mmc0: new HS400 MMC card at address 0001
    [    0.258709] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    0.258791] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    0.258871] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    0.258979] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (250:0)
    [    0.422203] davinci_mdio c200f00.mdio: phy[0]: device c200f00.mdio:00, driver TI DP83TC813CS2.0
    [    0.422287] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    0.422392] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    0.422399] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    0.422402] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    0.424232]  mmcblk0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 >
    [    0.426042] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82
    [    0.442869] mmc1: new high speed SDXC card at address aaaa
    [    0.443311] mmcblk1: mmc1:aaaa SD64G 59.5 GiB
    [    0.444957]  mmcblk1: p1 p2
    [    0.495156] EXT4-fs (mmcblk0p2): recovery complete
    [    0.495605] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    0.495653] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    0.495918] devtmpfs: mounted
    [    0.496389] Freeing unused kernel memory: 1088K
    [    0.496475] Run /sbin/init as init process
    [    0.496477]   with arguments:
    [    0.496479]     /sbin/init
    [    0.496481]   with environment:
    [    0.496483]     HOME=/
    [    0.496485]     TERM=linux
    [    0.534644] systemd[1]: System time before build time, advancing clock.
    [    0.549963] NET: Registered protocol family 10
    [    0.550562] Segment Routing with IPv6
    [    0.560637] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    0.560889] systemd[1]: Detected architecture arm64.
    [    0.584502] systemd[1]: Set hostname to <imotion>.
    [    0.707293] systemd[1]: Configuration file /lib/systemd/system/usr-ext.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.708772] systemd[1]: Configuration file /lib/systemd/system/opt-idc.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.709582] systemd[1]: Configuration file /lib/systemd/system/opt-idc-pdm.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.710446] systemd[1]: Configuration file /lib/systemd/system/opt-idc-etc-sv3d.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.711492] systemd[1]: Configuration file /lib/systemd/system/opt-idc-dat.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.712429] systemd[1]: Configuration file /lib/systemd/system/mnt.mount is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [    0.715967] random: systemd: uninitialized urandom read (16 bytes read)
    [    0.717593] systemd[1]: Created slice system-getty.slice.
    [    0.732332] random: systemd: uninitialized urandom read (16 bytes read)
    [    0.732984] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    0.748301] random: systemd: uninitialized urandom read (16 bytes read)
    [    0.748837] systemd[1]: Created slice User and Session Slice.
    [    0.764465] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    0.780395] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    0.796390] systemd[1]: Reached target Paths.
    [    0.808299] systemd[1]: Reached target Remote File Systems.
    [    0.824275] systemd[1]: Reached target Slices.
    [    0.836370] systemd[1]: Reached target Swap.
    [    0.854339] systemd[1]: Listening on Process Core Dump Socket.
    [    0.872487] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    0.890358] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    0.890815] systemd[1]: Listening on Journal Socket (/dev/log).
    [    0.908628] systemd[1]: Listening on Journal Socket.
    [    0.924660] systemd[1]: Listening on Network Service Netlink Socket.
    [    0.940570] systemd[1]: Listening on udev Control Socket.
    [    0.956453] systemd[1]: Listening on udev Kernel Socket.
    [    0.974888] systemd[1]: Mounting Huge Pages File System...
    [    0.994993] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    1.015021] systemd[1]: Mounting /var/volatile...
    [    1.028437] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    1.029874] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
    [    1.033298] systemd[1]: Starting Journal Service...
    [    1.051640] systemd[1]: Starting Load Kernel Modules...
    [    1.074796] systemd[1]: Starting Create Static Device Nodes in /dev...
    [    1.095090] systemd[1]: Starting udev Coldplug all Devices...
    [    1.111373] systemd[1]: Started Journal Service.
    [    1.220842] systemd-journald[122]: Received client request to flush runtime journal.
    [    1.570359] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [    1.577115] pvrsrvkm: loading out-of-tree module taints kernel.
    [    1.578494] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    1.613151] remoteproc remoteproc0: 64800000.dsp is available
    [    1.626825] k3-dsp-rproc 65800000.dsp: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    1.639065] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    1.668877] PVR_K:  137: Device: 4e20000000.gpu
    [    1.677589] PVR_K:  137: Read BVNC 36.53.104.796 from HW device registers
    [    1.677610] PVR_K:  137: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    1.678208] [drm] Initialized pvr 24.2.6643903 20170530 for 4e20000000.gpu on minor 0
    [    1.724645] remoteproc remoteproc0: powering up 64800000.dsp
    [    1.724662] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 26289368
    [    1.724729] remoteproc remoteproc0: unsupported resource 65538
    [    1.729840] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xb0200000
    [    1.740766]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [    1.741170] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    1.741211]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    1.741217] remoteproc remoteproc0: remote processor 64800000.dsp is now up
    [    1.784860] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    1.835841] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.835913] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.835940] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.944710] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    1.955709] EXT4-fs (mmcblk0p11): recovery complete
    [    1.956172] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: (null)
    [    1.965353] remoteproc remoteproc1: 65800000.dsp is available
    [    2.008733] remoteproc remoteproc1: powering up 65800000.dsp
    [    2.008750] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 12288872
    [    2.008826] remoteproc remoteproc1: unsupported resource 65538
    [    2.011650] k3-dsp-rproc 65800000.dsp: booting DSP core using boot addr = 0xb6200000
    [    2.082068] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    2.082730] remoteproc remoteproc2: 5c00000.r5f is available
    [    2.082987]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    2.083343] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    2.083378]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    2.083384] remoteproc remoteproc1: remote processor 65800000.dsp is now up
    [    2.106111] remoteproc remoteproc2: powering up 5c00000.r5f
    [    2.106130] remoteproc remoteproc2: Booting fw image j721s2-main-r5f0_0-fw, size 5521964
    [    2.118492]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    2.118903] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    2.118943]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    2.118949] remoteproc remoteproc2: remote processor 5c00000.r5f is now up
    [    2.123408] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    2.243636] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    2.244176] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    2.244371] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    2.244510] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    2.246247] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    2.246845] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    2.258913] EXT4-fs (mmcblk0p8): recovery complete
    [    2.260572] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
    [    2.260614] ext4 filesystem being mounted at /opt/idc supports timestamps until 2038 (0x7fffffff)
    [    2.277311] EXT4-fs (mmcblk0p6): recovery complete
    [    2.277980] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    [    2.278012] ext4 filesystem being mounted at /usr/ext supports timestamps until 2038 (0x7fffffff)
    [    2.365897] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    2.369832] EXT4-fs (mmcblk0p10): recovery complete
    [    2.369847] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null)
    [    2.369869] ext4 filesystem being mounted at /opt/idc/dat supports timestamps until 2038 (0x7fffffff)
    [    2.389143] EXT4-fs (mmcblk0p9): recovery complete
    [    2.389632] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
    [    2.423939] EXT4-fs (mmcblk0p3): recovery complete
    [    2.424596] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    2.424631] ext4 filesystem being mounted at /opt/idc/pdm supports timestamps until 2038 (0x7fffffff)
    [    2.863979] usbcore: registered new interface driver usbfs
    [    2.864005] usbcore: registered new interface driver hub
    [    2.864037] usbcore: registered new device driver usb
    [    2.967099] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    2.967123] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    2.967251] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
    [    2.967302] xhci-hcd xhci-hcd.0.auto: irq 384, io mem 0x06010000
    [    2.973973] hub 1-0:1.0: USB hub found
    [    2.974274] hub 1-0:1.0: 1 port detected
    [    2.992553] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    2.992574] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    2.992586] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [    2.992763] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    2.994308] hub 2-0:1.0: USB hub found
    [    2.994417] hub 2-0:1.0: 1 port detected
    [    3.435907] 8021q: 802.1Q VLAN Support v1.8
    [    3.744899] am65-cpsw-nuss c200000.ethernet eth1: PHY [c200f00.mdio:00] driver [TI DP83TC813CS2.0] (irq=POLL)
    [    3.745642] am65-cpsw-nuss c200000.ethernet eth1: configuring for phy/rmii link mode
    [    3.746928] 8021q: adding VLAN 0 to HW filter on device eth1
    [    3.747232] am65-cpsw-nuss c200000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [    3.761092] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [    4.164151] PVR_K:  323: RGX Firmware image 'rgx.fw.36.53.104.796' loaded
    [    4.171141] PVR_K:  323: Shader binary image 'rgx.sh.36.53.104.796' loaded
    [  286.608391] am65-cpsw-nuss c200000.ethernet eth1: Link is Down
    [  286.840418] am65-cpsw-nuss c200000.ethernet eth1: PHY [c200f00.mdio:00] driver [TI DP83TC813CS2.0] (irq=POLL)
    [  286.841139] am65-cpsw-nuss c200000.ethernet eth1: configuring for phy/rmii link mode
    [  286.842762] am65-cpsw-nuss c200000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [  286.843540] 8021q: adding VLAN 0 to HW filter on device eth1
    [  286.885769] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    

  •     There is no change when the network cable is plugged in and out. See the attachment for ifconfig down/up dmesg log. I did ifconfig eth1 down and up on 286s.

    Hi Gaston

         I also raised a case in the "INTERFACE" forum, can you upload the schematic to this link:

         (+) DP83TC813R-Q1: link up issue when reboot system - Interface forum - Interface - TI E2E support forums

    Thanks

       Semon

  • Hi Gaston,

    Can you try with the following patch if this solves the issue.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/add_2D00_redundant_2D00_read_2D00_ale.patch

    Regards,
    Tanmay

  • Hi Tanmay:

                  My understanding is that this is just a double check when reading. In theory, it makes more sense when writing. Or is there some other reason?

  • Hi,

    So ALE write for new entry happens only when the read is 0. This check is there in ALE driver. In your case it seems that first vid 0 entry is being replaced by a mcast entry. This can only happen when we read the vid 0 entry as all 0. Hence this check in the patch.

    Regards,
    Tanmay