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.

PROCESSOR-SDK-J784S4: Not able to establish communication with 1000Base-T speed in BCM54810 Phy

Part Number: PROCESSOR-SDK-J784S4

Tool/software:

Hi ,
The thread we used to dicuss on the broadcom phy was locked, that's why I have created a new thread here to continue the discussion.
Previous thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1446512/processor-sdk-j784s4-not-able-to-get-dynamic-ip-when-dhcp-is-enabled/5628789#5628789

Actually, we parked the work on establishing communication in BCM54810 phy  with Broadreach enabled in 10Mbps. Now we are having the same BCM54810 phy with IEEE mode and with RJ45 port itself.

Now we are able to communicate in 100Mbps speed.   
Setup: Connected this RJ45 cable to our PC and did ping test. 
Now we set the phy mode to rgmii-id.

But we need to establish communication in 1000Mbps speed. I have tried with the same setup with autonegotiation enabled. But the ping test is not working in 1000Mbps speed.
There is no tx_carrier_sense error at all. Is there any specific configuration is need to communicate in 1000Mbps speed.

phytool read eth0/0x00/0x00
0x1140

ethtool statistics
ethtool -S eth0
NIC statistics:
     p0_rx_good_frames: 56
     p0_rx_broadcast_frames: 18
     p0_rx_multicast_frames: 38
     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: 8146
     p0_tx_good_frames: 69
     p0_tx_broadcast_frames: 66
     p0_tx_multicast_frames: 3
     p0_tx_octets: 4899
     p0_tx_64B_frames: 77
     p0_tx_65_to_127B_frames: 23
     p0_tx_128_to_255B_frames: 15
     p0_tx_256_to_511B_frames: 10
     p0_tx_512_to_1023B_frames: 0
     p0_tx_1024B_frames: 0
     p0_net_octets: 13045
     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: 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: 75
     rx_broadcast_frames: 66
     rx_multicast_frames: 9
     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: 6
     ale_overrun_drop: 0
     rx_octets: 5712
     tx_good_frames: 56
     tx_broadcast_frames: 18
     tx_multicast_frames: 38
     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: 8146
     tx_64B_frames: 77
     tx_65_to_127B_frames: 26
     tx_128_to_255B_frames: 18
     tx_256_to_511B_frames: 10
     tx_512_to_1023B_frames: 0
     tx_1024B_frames: 0
     net_octets: 13858
     rx_bottom_fifo_drop: 0
     rx_port_mask_drop: 6
     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: 0
     ale_unknown_ucast_bytes: 0
     ale_unknown_mcast: 9
     ale_unknown_mcast_bytes: 1488
     ale_unknown_bcast: 66
     ale_unknown_bcast_bytes: 4224
     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: 56
     tx_pri1: 0
     tx_pri2: 0
     tx_pri3: 0
     tx_pri4: 0
     tx_pri5: 0
     tx_pri6: 0
     tx_pri7: 0
     tx_pri0_bcnt: 8146
     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

  • Hi,

    From statistics I could see data transfer is success, is these are for 100Mbps? of 1000Mbps?

    If above are 100Mbps, please share the same for 1000Mbps?
    Also, take care of RGMII delay configuration for 100Mbps it will not matter but for 1000Mbps communication it need to be proper as clock is running at higher speed.

    Can you also share the Linux terminal log.

    Best Regards,
    Sudheer

  • If above are 100Mbps, please share the same for 1000Mbps?

    Hi ,
    Thanks for the prompt response.
    Before ping:

    ethool -S eth0
    NIC statistics:
         p0_rx_good_frames: 26
         p0_rx_broadcast_frames: 6
         p0_rx_multicast_frames: 20
         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: 4206
         p0_tx_good_frames: 58
         p0_tx_broadcast_frames: 56
         p0_tx_multicast_frames: 2
         p0_tx_octets: 3806
         p0_tx_64B_frames: 56
         p0_tx_65_to_127B_frames: 18
         p0_tx_128_to_255B_frames: 4
         p0_tx_256_to_511B_frames: 6
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 8012
         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: 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: 62
         rx_broadcast_frames: 56
         rx_multicast_frames: 6
         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: 4
         ale_overrun_drop: 0
         rx_octets: 4120
         tx_good_frames: 26
         tx_broadcast_frames: 6
         tx_multicast_frames: 20
         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: 4206
         tx_64B_frames: 56
         tx_65_to_127B_frames: 22
         tx_128_to_255B_frames: 4
         tx_256_to_511B_frames: 6
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 8326
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 4
         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: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 6
         ale_unknown_mcast_bytes: 536
         ale_unknown_bcast: 56
         ale_unknown_bcast_bytes: 3584
         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: 26
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 4206
         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@j784s4-evm:/opt/edgeai-gst-apps#

    After Ping:

    root@j784s4-evm:/opt/edgeai-gst-apps# ping 192.168.0.11
    PING 192.168.0.11 (192.168.0.11): 56 data bytes
    ^C
    --- 192.168.0.11 ping statistics ---
    7 packets transmitted, 0 packets received, 100% packet loss
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 106
         p0_rx_broadcast_frames: 66
         p0_rx_multicast_frames: 40
         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: 11222
         p0_tx_good_frames: 102
         p0_tx_broadcast_frames: 98
         p0_tx_multicast_frames: 4
         p0_tx_octets: 6716
         p0_tx_64B_frames: 156
         p0_tx_65_to_127B_frames: 32
         p0_tx_128_to_255B_frames: 9
         p0_tx_256_to_511B_frames: 11
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 17938
         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: 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: 110
         rx_broadcast_frames: 98
         rx_multicast_frames: 12
         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: 8
         ale_overrun_drop: 0
         rx_octets: 7344
         tx_good_frames: 106
         tx_broadcast_frames: 66
         tx_multicast_frames: 40
         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: 11222
         tx_64B_frames: 156
         tx_65_to_127B_frames: 40
         tx_128_to_255B_frames: 9
         tx_256_to_511B_frames: 11
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 18566
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 8
         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: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 12
         ale_unknown_mcast_bytes: 1072
         ale_unknown_bcast: 98
         ale_unknown_bcast_bytes: 6272
         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: 106
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 11222
         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@j784s4-evm:/opt/edgeai-gst-apps#

     

    root@j784s4-evm:/opt/edgeai-gst-apps# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::e0ed:98ff:fe06:64ed  prefixlen 64  scopeid 0x20<link>
            ether e2:ed:98:06:64:ed  txqueuelen 1000  (Ethernet)
            RX packets 87  bytes 5408 (5.2 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 43  bytes 6803 (6.6 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

     

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

     

    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool eth0
    Settings for eth0:
      Supported ports: [ TP   MII ]
      Supported link modes:   10baseT/Half 10baseT/Full
                              100baseT/Half 100baseT/Full
                              1000baseT/Full
      Supported pause frame use: Symmetric
      Supports auto-negotiation: Yes
      Supported FEC modes: Not reported
      Advertised link modes:  10baseT/Half 10baseT/Full
                              100baseT/Half 100baseT/Full
                              1000baseT/Full
      Advertised pause frame use: Symmetric
      Advertised auto-negotiation: Yes
      Advertised FEC modes: Not reported
      Speed: 1000Mb/s
      Duplex: Full
      Auto-negotiation: off
      master-slave cfg: preferred slave
      master-slave status: slave
      Port: Twisted Pair
      PHYAD: 0
      Transceiver: external
      MDI-X: off (forced)
      Supports Wake-on: d
      Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
      Link detected: yes

    Also, take care of RGMII delay configuration for 100Mbps it will not matter but for 1000Mbps communication it need to be proper as clock is running at higher speed.

     Are you mentioning rgmii-id won't support for 1000Mbps?

    Can you also share the Linux terminal log.

    Are you asking about the boot logs?

  • Hi,

    From the statistics before and ping, I could see CPSW MAC Port is receiving the packets but, all are broadcast messages.
       rx_good_frames: 110
       rx_broadcast_frames: 98
       rx_multicast_frames: 12

    The same received packets sent to eth0 as well.

    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::e0ed:98ff:fe06:64ed  prefixlen 64  scopeid 0x20<link>
            ether e2:ed:98:06:64:ed  txqueuelen 1000  (Ethernet)
            RX packets 87  bytes 5408 (5.2 KiB)

    Also, I could observe the messages submitted to CPSW Driver all are Broadcast & Multicast not unicast packets for ping.

    Please run tcpdump on Linux terminal and capture the data some .pcap file and also capture wireshark data on peer side and check what is sent and what is received.

    Best Regards,
    Sudheer

  • Hi ,
    Thanks for the response.


    From the statistics before and ping, I could see CPSW MAC Port is receiving the packets but, all are broadcast messages.
       rx_good_frames: 110
       rx_broadcast_frames: 98
       rx_multicast_frames: 12

    The same received packets sent to eth0 as well.

    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::e0ed:98ff:fe06:64ed  prefixlen 64  scopeid 0x20<link>
            ether e2:ed:98:06:64:ed  txqueuelen 1000  (Ethernet)
            RX packets 87  bytes 5408 (5.2 KiB)

    Also, I could observe the messages submitted to CPSW Driver all are Broadcast & Multicast not unicast packets for ping.

    But in working 100Mbps broadcom phy also there is no unicast packets details and all.
    I will brief here the testing I have done with 100Mbps and 1000Mbps speed.

    BCM54810 - 100Mbps Testing:(Working)

    ethtool eth0
    Settings for eth0:
        Supported ports: [ TP     MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: off
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: off (forced)
        Supports Wake-on: d
        Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
        Link detected: yes
        
    Before ping
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 29
         p0_rx_broadcast_frames: 7
         p0_rx_multicast_frames: 22
         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: 5110
         p0_tx_good_frames: 75
         p0_tx_broadcast_frames: 72
         p0_tx_multicast_frames: 3
         p0_tx_octets: 4941
         p0_tx_64B_frames: 72
         p0_tx_65_to_127B_frames: 18
         p0_tx_128_to_255B_frames: 7
         p0_tx_256_to_511B_frames: 7
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 10051
         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: 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: 81
         rx_broadcast_frames: 72
         rx_multicast_frames: 9
         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: 6
         ale_overrun_drop: 0
         rx_octets: 5460
         tx_good_frames: 29
         tx_broadcast_frames: 7
         tx_multicast_frames: 22
         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: 5110
         tx_64B_frames: 72
         tx_65_to_127B_frames: 24
         tx_128_to_255B_frames: 7
         tx_256_to_511B_frames: 7
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 10570
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 6
         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: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 9
         ale_unknown_mcast_bytes: 852
         ale_unknown_bcast: 72
         ale_unknown_bcast_bytes: 4608
         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: 29
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 5110
         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@j784s4-evm:/opt/edgeai-gst-apps#
    After ping - from board to PC
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 390
         p0_rx_broadcast_frames: 224
         p0_rx_multicast_frames: 42
         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: 34906
         p0_tx_good_frames: 245
         p0_tx_broadcast_frames: 114
         p0_tx_multicast_frames: 6
         p0_tx_octets: 20464
         p0_tx_64B_frames: 339
         p0_tx_65_to_127B_frames: 271
         p0_tx_128_to_255B_frames: 12
         p0_tx_256_to_511B_frames: 13
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 55370
         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: 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: 254
         rx_broadcast_frames: 114
         rx_multicast_frames: 15
         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: 9
         ale_overrun_drop: 0
         rx_octets: 21206
         tx_good_frames: 390
         tx_broadcast_frames: 224
         tx_multicast_frames: 42
         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: 34906
         tx_64B_frames: 339
         tx_65_to_127B_frames: 280
         tx_128_to_255B_frames: 12
         tx_256_to_511B_frames: 13
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 56112
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 9
         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: 125
         ale_unknown_ucast_bytes: 12522
         ale_unknown_mcast: 15
         ale_unknown_mcast_bytes: 1388
         ale_unknown_bcast: 114
         ale_unknown_bcast_bytes: 7296
         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: 390
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 34906
         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@j784s4-evm:/opt/edgeai-gst-apps#
    Ping from PC to board
     tcpdump -i eth0
    [  675.131599] device eth0 entered promiscuous mode
    [  675.136274] kauditd_printk_skb: 16 callbacks suppressed
    [  675.136281] audit: type=1700 audit(1651168417.760:35): dev=eth0 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    [  675.152891] audit: type=1300 audit(1651168417.760:35): arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=107 a2=1 a3=ffffeec2a1c0 items=0 ppid=940 pid=1550 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="tcpdump" exe="/usr/bin/tcpdump" key=(null)
    [  675.179694] audit: type=1327 audit(1651168417.760:35): proctitle=74637064756D70002D690065746830
    tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
    listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
    17:53:38.052613 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:38.250250 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 10, length 64
    17:53:38.250300 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 10, length 64
    17:53:39.076719 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:39.274209 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 11, length 64
    17:53:39.274225 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 11, length 64
    17:53:40.100596 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:40.298160 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 12, length 64
    17:53:40.298172 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 12, length 64
    17:53:41.124595 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:41.322118 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 13, length 64
    17:53:41.322133 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 13, length 64
    17:53:42.148702 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:48.489900 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 20, length 64
    17:53:48.489917 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 20, length 64
    17:53:49.316595 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:49.513875 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 21, length 64
    17:53:49.513886 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 21, length 64
    17:53:50.340595 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:50.537803 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 22, length 64
    17:53:50.537814 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 22, length 64
    17:53:51.364722 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:51.561769 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 23, length 64
    17:53:51.561779 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 23, length 64
    17:53:52.388594 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:52.585727 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 24, length 64
    17:53:52.585737 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 24, length 64
    17:53:53.412596 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:53.609703 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 25, length 64
    17:53:53.609723 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 25, length 64
    17:53:54.436692 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:54.633682 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 26, length 64
    17:53:54.633691 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 26, length 64
    17:53:55.460592 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:55.657630 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 27, length 64
    17:53:55.657640 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 27, length 64
    17:53:56.484592 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:56.681589 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 28, length 64
    17:53:56.681599 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 28, length 64
    17:53:57.508683 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:57.705558 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 29, length 64
    17:53:57.705570 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 29, length 64
    17:53:58.532594 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:58.729520 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 30, length 64
    17:53:58.729530 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 30, length 64
    17:53:59.556595 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:53:59.753488 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 31, length 64
    17:53:59.753499 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 31, length 64
    17:54:00.580687 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:54:00.777449 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 32, length 64
    17:54:00.777465 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 32, length 64
    17:54:01.604596 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:54:01.801423 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 33, length 64
    17:54:01.801444 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 33, length 64
    17:54:02.628593 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:54:02.825385 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 34, length 64
    17:54:02.825398 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 34, length 64
    17:54:03.652730 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:54:03.849354 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 35, length 64
    17:54:03.849369 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 35, length 64
    17:54:04.676594 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:54:04.873312 IP 192.168.0.11 > j784s4-evm: ICMP echo request, id 4, seq 36, length 64
    17:54:04.873323 IP j784s4-evm > 192.168.0.11: ICMP echo reply, id 4, seq 36, length 64
    ^C
    63 packets captured
    81 packets received by filter
    18 packets[  702.342338] device eth0 left promiscuous mode
     dropped by kernel
    [  702.352098] audit: type=1700 audit(1651168444.980:36): dev=eth0 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295
    root@j784s4-evm:/opt/edgeai-gst-apps#
    After ping from PC
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 674
         p0_rx_broadcast_frames: 391
         p0_rx_multicast_frames: 43
         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: 57272
         p0_tx_good_frames: 361
         p0_tx_broadcast_frames: 114
         p0_tx_multicast_frames: 6
         p0_tx_octets: 32176
         p0_tx_64B_frames: 518
         p0_tx_65_to_127B_frames: 492
         p0_tx_128_to_255B_frames: 12
         p0_tx_256_to_511B_frames: 13
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 89448
         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: 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: 370
         rx_broadcast_frames: 114
         rx_multicast_frames: 15
         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: 9
         ale_overrun_drop: 0
         rx_octets: 32810
         tx_good_frames: 674
         tx_broadcast_frames: 391
         tx_multicast_frames: 43
         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: 57272
         tx_64B_frames: 518
         tx_65_to_127B_frames: 501
         tx_128_to_255B_frames: 12
         tx_256_to_511B_frames: 13
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 90082
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 9
         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: 241
         ale_unknown_ucast_bytes: 24126
         ale_unknown_mcast: 15
         ale_unknown_mcast_bytes: 1388
         ale_unknown_bcast: 114
         ale_unknown_bcast_bytes: 7296
         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: 674
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 57272
         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@j784s4-evm:/opt/edgeai-gst-apps#


    BCM54810 - 1000Mbps Testing:

    Before ping - from board to PC (Not working)

    root@j784s4-evm:/opt/edgeai-gst-apps# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::48c5:29ff:fe75:fa35  prefixlen 64  scopeid 0x20<link>
            ether 4a:c5:29:75:fa:35  txqueuelen 1000  (Ethernet)
            RX packets 51  bytes 3107 (3.0 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 27  bytes 4590 (4.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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

    root@j784s4-evm:/opt/edgeai-gst-apps# [   97.227865] vdec 4220000.video-codec: VPU wakeup(W5_VPU_REMAP_CORE_START) timeout

    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool eth0
    Settings for eth0:
        Supported ports: [ TP     MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: d
        Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
        Link detected: yes
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 27
         p0_rx_broadcast_frames: 6
         p0_rx_multicast_frames: 21
         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: 4698
         p0_tx_good_frames: 66
         p0_tx_broadcast_frames: 64
         p0_tx_multicast_frames: 2
         p0_tx_octets: 4318
         p0_tx_64B_frames: 64
         p0_tx_65_to_127B_frames: 16
         p0_tx_128_to_255B_frames: 7
         p0_tx_256_to_511B_frames: 6
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 9016
         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: 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: 73
         rx_broadcast_frames: 64
         rx_multicast_frames: 9
         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: 7
         ale_overrun_drop: 0
         rx_octets: 4900
         tx_good_frames: 27
         tx_broadcast_frames: 6
         tx_multicast_frames: 21
         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: 4698
         tx_64B_frames: 64
         tx_65_to_127B_frames: 23
         tx_128_to_255B_frames: 7
         tx_256_to_511B_frames: 6
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 9598
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 7
         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: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 9
         ale_unknown_mcast_bytes: 804
         ale_unknown_bcast: 64
         ale_unknown_bcast_bytes: 4096
         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: 27
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 4698
         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@j784s4-evm:/opt/edgeai-gst-apps#

    After ping - while pinging from board to PC
    root@j784s4-evm:/opt/edgeai-gst-apps# ping 192.168.0.11
    PING 192.168.0.11 (192.168.0.11): 56 data bytes
    ^C
    --- 192.168.0.11 ping statistics ---
    131 packets transmitted, 0 packets received, 100% packet loss
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool -S eth0
    NIC statistics:
         p0_rx_good_frames: 363
         p0_rx_broadcast_frames: 322
         p0_rx_multicast_frames: 41
         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: 28098
         p0_tx_good_frames: 95
         p0_tx_broadcast_frames: 92
         p0_tx_multicast_frames: 3
         p0_tx_octets: 6221
         p0_tx_64B_frames: 406
         p0_tx_65_to_127B_frames: 29
         p0_tx_128_to_255B_frames: 12
         p0_tx_256_to_511B_frames: 11
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 34319
         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: 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: 104
         rx_broadcast_frames: 92
         rx_multicast_frames: 12
         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: 9
         ale_overrun_drop: 0
         rx_octets: 6960
         tx_good_frames: 363
         tx_broadcast_frames: 322
         tx_multicast_frames: 41
         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: 28098
         tx_64B_frames: 406
         tx_65_to_127B_frames: 38
         tx_128_to_255B_frames: 12
         tx_256_to_511B_frames: 11
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 35058
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 9
         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: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 12
         ale_unknown_mcast_bytes: 1072
         ale_unknown_bcast: 92
         ale_unknown_bcast_bytes: 5888
         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: 363
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 28098
         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
       
    While pinging from PC to board
    root@j784s4-evm:/opt/edgeai-gst-apps#
    root@j784s4-evm:/opt/edgeai-gst-apps# tcpdump -i eth0
    [  537.891268] device eth0 entered promiscuous mode
    [  537.895942] kauditd_printk_skb: 6 callbacks suppressed
    [  537.895946] audit: type=1700 audit(1651168280.540:35): dev=eth0 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    [  537.912470] audit: type=1300 audit(1651168280.540:35): arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=107 a2=1 a3=fffff2d3ebf0 items=0 ppid=1345 pid=1565 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="tcpdump" exe="/usr/bin/tcpdump" key=(null)
    [  537.939360] audit: type=1327 audit(1651168280.540:35): proctitle=74637064756D70002D690065746830
    tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
    listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
    17:51:20.637799 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:20.837753 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:20.837782 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:21.661784 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:21.861697 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:21.861707 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:22.685921 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:22.885965 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:22.885972 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:23.709778 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:23.909654 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:23.909669 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:24.733778 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:32.101750 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:32.101757 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:32.925784 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:33.125433 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:33.125439 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:33.949781 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:34.149409 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:34.149419 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:34.974252 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:35.173675 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:35.173682 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:35.997782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:36.197353 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:36.197359 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:37.021781 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:37.221281 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:37.221287 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:38.045890 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:38.245593 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:38.245600 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:39.069779 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:39.269229 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:39.269235 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:40.093778 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:40.293263 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:40.293269 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:41.117863 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:41.317520 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:41.317527 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:42.141781 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:42.341159 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:42.341164 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:43.165782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:43.365186 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:43.365193 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:44.189922 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:44.389170 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:44.389184 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:45.213782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:45.413093 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:45.413100 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:46.237783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:46.437063 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:46.437071 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:47.261868 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:47.461192 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:47.461198 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:48.285782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:48.484976 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:48.484981 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:49.309782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:49.509984 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:49.509990 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:50.333870 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:50.533308 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:50.533314 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:51.357782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:51.557911 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:51.557916 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:52.381782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:52.580918 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:52.580923 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:53.405870 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:54.429782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:54.629000 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:54.629008 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:55.453782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:55.652892 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:55.652898 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:56.477875 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:56.676864 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:56.676870 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:57.501782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:57.700880 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:57.700887 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:58.525783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:58.724815 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:58.724821 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:51:59.550161 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:51:59.748793 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:51:59.748800 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:00.573782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:01.597778 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:01.796824 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:01.796830 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:02.621922 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:02.820718 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:02.820727 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:03.645783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:03.844690 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:03.844697 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:04.669784 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:04.868955 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:04.868961 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:05.693877 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:05.892638 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:05.892644 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:06.717780 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:06.916620 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:06.916625 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:07.741778 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:08.765907 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:08.964597 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:08.964604 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:09.789781 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:09.988539 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:09.988545 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:10.813783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:11.012515 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:11.012521 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:11.837879 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:12.861783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:13.060552 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:13.060559 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:13.885783 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:14.084447 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:14.084456 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:14.909913 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:15.108417 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:15.108423 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    17:52:15.933781 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:16.957782 ARP, Request who-has _gateway tell j784s4-evm, length 28
    17:52:17.156450 ARP, Request who-has j784s4-evm tell 192.168.0.11, length 46
    17:52:17.156456 ARP, Reply j784s4-evm is-at 4a:c5:29:75:fa:35 (oui Unknown), length 28
    ^C
    137 packets captured
    158 packets received by filter
    21 packe[  594.749035] device eth0 left promiscuous mode
    ts dropped by kernel
    [  594.758773] audit: type=1700 audit(1651168337.408:36): dev=eth0 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295
    root@j784s4-evm:/opt/edgeai-gst-apps# ^C
    root@j784s4-evm:/opt/edgeai-gst-apps#

    For 1000Mbps - Wireshark output

    While pinging from board to PC I was not able to see any packets in wireshark
    But while pinging from PC to board, the wireshark output is


    For 100Mbps - Wireshark output

    While pinging from board to PC,

    While pinging from PC to board,

    Could you please tell what could be the issue in 1000Mbps speed? Or any specific configuration I need to do ?

    Thanks in advance,
    Swedha R

  • Hi,

    I could see MAC address are different in 100Mbps case and 1000Mbps case.
    I am not sure how you are pining.

    Please provide your network connection, configuration of IP address and MAC address of each and test scenario.

    Best Regards,
    Sudheer

  • Hi ,
    Thanks for the prompt response

    I could see MAC address are different in 100Mbps case and 1000Mbps case.

    Yes it is taking random MAC address for each boot that's why the MAC are different.
    You have discussed on this with my peer in the below thread,
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1450792/processor-sdk-j784s4-how-to-give-ti-syscon-efuse-for-main_cpsw1_port1-devices/5566459#5566459
    Broadcom phy was coming under MAIN CPSW , it doesn't have the feature to get IP address from hardware efuse.


    But how that could be the issue in MAC address? Because for the working 100Mbps also the MAC address is getting changed for each reboot.
    First test,

    2nd test,
    You have see in the wireshark output of 100Mbps above, it will be different only.


    Setup: Connected this RJ45 cable from RJ45 port of the board to our PC and did ping test. 
    In the ifconfig/wireshark itself you can see the IP address. I am setting the IP address statically. 
    But how the same procedure, same setup is working for 100Mbps and not for 1000Mbps ?

    Is the above information is enough? Could you please tell any other information is needed?

    Thanks in advance,
    Swedha R

  • Hi,

    I could see MAC address are different in 100Mbps case and 1000Mbps case.

    Yes it is taking random MAC address for each boot that's why the MAC are different.
    You have discussed on this with my peer in the below thread,
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1450792/processor-sdk-j784s4-how-to-give-ti-syscon-efuse-for-main_cpsw1_port1-devices/5566459#5566459
    Broadcom phy was coming under MAIN CPSW , it doesn't have the feature to get IP address from hardware efuse.

    Understood as it is Main CPSW2G we don't have efuse value.

    But how that could be the issue in MAC address? Because for the working 100Mbps also the MAC address is getting changed for each reboot.
    First test,

    I suspected it would be fixed MAC as CPSW2G. I forgot as it is Main CPSW2G.

    Setup: Connected this RJ45 cable from RJ45 port of the board to our PC and did ping test. 
    In the ifconfig/wireshark itself you can see the IP address. I am setting the IP address statically. 
    But how the same procedure, same setup is working for 100Mbps and not for 1000Mbps ?

    Can you check is there any RGMII delays configuration at PHY side, if so, enable both Tx & Rx delay from PHY and check once.

    Also, can you please check by enabling delay at MAC side by clearing 4th bit
    #devmem2 0x00104034 w 0x2

    Also, check by disabling delay at MAC side.
    #devmem2 0x00104034 w 0x12

    Best Regards,
    Sudheer

  • Hi
    Thanks for the response.

    Can you check is there any RGMII delays configuration at PHY side, if so, enable both Tx & Rx delay from PHY and check once.

    Actually, I am giving phy mode as rgmii-id in the device tree. So we no need to enable delay on tx and rx side right? 
    phytool read eth0/0x00/0x00
    0x1140 - autoneg , duplex and speed configured to 1000.


    Also, can you please check by enabling delay at MAC side by clearing 4th bit
    #devmem2 0x00104034 w 0x2

    Also, check by disabling delay at MAC side.
    #devmem2 0x00104034 w 0x12

    Sure, I will check and get back here.

    Thanks,
    Swedha R

  • Hi,

    Can you check is there any RGMII delays configuration at PHY side, if so, enable both Tx & Rx delay from PHY and check once.

    Actually, I am giving phy mode as rgmii-id in the device tree. So we no need to enable delay on tx and rx side right? 
    phytool read eth0/0x00/0x00
    0x1140 - autoneg , duplex and speed configured to 1000.

    Yes, you need to enable both Tx & Rx delay from PHY side.


    Also, can you please check by enabling delay at MAC side by clearing 4th bit
    #devmem2 0x00104034 w 0x2

    Also, check by disabling delay at MAC side.
    #devmem2 0x00104034 w 0x12

    Sure, I will check and get back here.

    Please check and update to us.

    Best Regards.
    Sudheer

  • Hi ,

    Now the communication is working while disabling the delay at MAC side. Actually before the delay was enabled at MAC side. But at 100Mbps, the communication is working with and without delay at MAC side. How for 100Mbps it is possible?
    And could you please tell where I need to find this register details and all at MAC side in the TRM? I was not able to find . 
    |

    root@j784s4-evm:/opt/edgeai-gst-apps# devmem2 0x00104034
    /dev/mem opened.
    Memory mapped at address 0xffff8d043000.
    Read at address  0x00104034 (0xffff8d043034): 0x00000002
    root@j784s4-evm:/opt/edgeai-gst-apps# ping 192.168.0.11
    PING 192.168.0.11 (192.168.0.11): 56 data bytes
    [   97.020066] vdec 4220000.video-codec: VPU wakeup(W5_VPU_REMAP_CORE_START) timeout
    ^C
    --- 192.168.0.11 ping statistics ---
    4 packets transmitted, 0 packets received, 100% packet loss
    root@j784s4-evm:/opt/edgeai-gst-apps# devmem2 0x00104034 w 0x12
    /dev/mem opened.
    Memory mapped at address 0xffff8efce000.
    Read at address  0x00104034 (0xffff8efce034): 0x00000002
    Write at address 0x00104034 (0xffff8efce034): 0x00000012, readback 0x00000012
    root@j784s4-evm:/opt/edgeai-gst-apps# ethtool eth0
    Settings for eth0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: d
        Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
        Link detected: yes
    root@j784s4-evm:/opt/edgeai-gst-apps# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::641c:17ff:fef9:9c06  prefixlen 64  scopeid 0x20<link>
            ether 66:1c:17:f9:9c:06  txqueuelen 1000  (Ethernet)
            RX packets 159  bytes 10218 (9.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 238  bytes 14214 (13.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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

    root@j784s4-evm:/opt/edgeai-gst-apps# ping 192.168.0.11
    PING 192.168.0.11 (192.168.0.11): 56 data bytes
    64 bytes from 192.168.0.11: seq=0 ttl=64 time=0.361 ms
    64 bytes from 192.168.0.11: seq=1 ttl=64 time=0.276 ms
    64 bytes from 192.168.0.11: seq=2 ttl=64 time=0.337 ms
    64 bytes from 192.168.0.11: seq=3 ttl=64 time=0.350 ms
    64 bytes from 192.168.0.11: seq=4 ttl=64 time=0.398 ms
    ^C
    --- 192.168.0.11 ping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 0.276/0.344/0.398 ms
    root@j784s4-evm:/opt/edgeai-gst-apps#




    Big thanks for the support in getting this working.

    Thanks in advance,
    Swedha R

  • Hi Swedha,

    Now the communication is working while disabling the delay at MAC side. Actually before the delay was enabled at MAC side. But at 100Mbps, the communication is working with and without delay at MAC side. How for 100Mbps it is possible?

    As informed earlier, the delay have no significance impact at 100Mbps speed.
    The delay plays a major role when the link speed is 1000Mbps.

    By disabling delay at MAC side, now communication at 1000Mbps is working as expected.

    Best Regards,
    Sudheer

  • Hi ,
    Yes, thanks for the support.

    May I know where I need to see the details about this register configuration?
    Also, check by disabling delay at MAC side.
    #devmem2 0x00104034 w 0x12
    I was not able to find in the J784S4 TRM. Could you please share the document you have referred on this?

    Thanks in advance,
    Swedha R.

  • Hi,

    May I know where I need to see the details about this register configuration?
    Also, check by disabling delay at MAC side.
    #devmem2 0x00104034 w 0x12
    I was not able to find in the J784S4 TRM. Could you please share the document you have referred on this?

    You can find the excel sheer with the register details of J784s4.
    Above is from CTRL_MMR section, ENET_CTRL registers.

    Best Regards,
    Sudheer

  • Hi ,

    Thanks for the prompt response.

    I believe the below is the one you are mentioning and it is mentioned as MCU right? Is that common for both MCU and MAIN phy?. But How you correctly specified this memory address and value (0x00104034 w 0x12) ? I have tried to search in dts files too. But I was not able to find anything. Because I am trying to understand this part. If possible could you please help me in this?

    And one more query, is it possible we can configure this permanently by disabling delay at MAC side?

    Thanks in advance,
    Swedha R

    40F0 4040h   32 4040h CFG0 CTRL_MMR_CFG0_MCU_ENET_CTRL 4 MCU_ENET_CTRL_RGMII_ID_MODE R/W 0h Port1 RGMII private transmit delay selection  0 - private transmit delay  1 - No private transmit delay
  • Hi,

    I believe the below is the one you are mentioning and it is mentioned as MCU right?

    Above you have shared is MCU ENET, as you can address offset of this was 0x4040.
    But, the description is same for Main & MCU ENET i.e. bit4 to enable/disable RGMII delay at MAC side.

    What I have shared is Main CPSW2G i.e. CTRL_MMR_CPSW2_ENET1_CTRL at address of 0x00104034

    I have tried to search in dts files too. But I was not able to find anything. Because I am trying to understand this part. If possible could you please help me in this?

    You won't find it in the device tree, it supposed to be managed in driver based on phy-mode in device tree.
    But, driver has no support for this.


    And one more query, is it possible we can configure this permanently by disabling delay at MAC side?

    We need a driver patch for this.
    As of now you can integrate the below change and use "rgmii-id" mode from dts.

    diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c
    index 2828f888ad92..b09285ebc019 100644
    --- a/drivers/phy/ti/phy-gmii-sel.c
    +++ b/drivers/phy/ti/phy-gmii-sel.c
    @@ -210,26 +210,36 @@ struct phy_gmii_sel_soc_data phy_gmii_sel_soc_dm814 = {
     
     static const
     struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = {
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x0, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x4, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x8, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0xC, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x10, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x14, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x18, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x1C, 0, 2), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x0, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x0, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x4, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x4, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x8, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x8, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0xC, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0xC, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x10, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x10, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x14, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x14, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x18, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x18, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x1C, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x1C, 4, 4), },
     };
     
     static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_soc_am654 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     };
     
     static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
     	.num_ports = 4,
     	.num_qsgmii_main_ports = 1,
    @@ -239,6 +249,7 @@ static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j721e = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
     	.num_ports = 8,
     	.num_qsgmii_main_ports = 2,
    @@ -248,6 +259,7 @@ static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j784s4 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) |
     		       BIT(PHY_INTERFACE_MODE_USXGMII),
     	.num_ports = 8,


    Best Regards,
    Sudheer

  • Hi ,

    Thank you for your continuous support.

    What I have shared is Main CPSW2G i.e. CTRL_MMR_CPSW2_ENET1_CTRL at address of 0x00104034

    Yeah understood. I found that.

    As of now you can integrate the below change and use "rgmii-id" mode from dts.

    Sure, I will make this driver modifications and check whether it is working or not and get back here.

    Thanks in advance,
    Swedha R

  • Hi,

    As of now you can integrate the below change and use "rgmii-id" mode from dts.

    Sure, I will make this driver modifications and check whether it is working or not and get back here.

    It will work, we have given to other customers as well.

    Best Regards,
    Sudheer

  • Hi ,
    Yeah it is working now. Thanks for the support. But one doubt here, I am having cpsw2g, but in the structure we modified is having cpsw9g. How it is taking correctly? or the name is not the issue?

    static const
    struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j784s4 = {
        .use_of_data = true,
        .regfields = phy_gmii_sel_fields_am654,
        .features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
        .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) |
                   BIT(PHY_INTERFACE_MODE_USXGMII),
        .num_ports = 8,
        .num_qsgmii_main_ports = 2,
    };


    Thanks in advance,
    Swedha R

  • Hi,

    Hi ,
    Yeah it is working now. Thanks for the support. But one doubt here, I am having cpsw2g, but in the structure we modified is having cpsw9g. How it is taking correctly? or the name is not the issue?

    For all CPSW instances of J784s4, we are mapping same feature and "gmii_sel_fileds_am654".
    gmii_sel_fileds_am654 will have only offsets address for Ports, Base address will comes from device tree.
    So, it will configures respective CPSW instance.

    Best Regards,
    Sudheer

  • Hi , Thanks for the response.
    I am trying to understand certain things here. 
    I am using main cpsw2g port , for all ethernet controller port 0 will be host port and otheres will be external ports

    In the below structure, we are having offsets for (0-7) 8 ports. For my case, I will be having 2 ports. port 0 - host port (0x0), port 1 - 0x4. I believe this is the offset for my case to calculate the register -  0x00104034
    Is the above understanding is correct?

    And my doubt is when comes to 9g, port 0 will be host as like above , port 7 is 0x1C, then what will be offset for port 8? 
    static const struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = { { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x0, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x0, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x4, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x4, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x8, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x8, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0xC, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0xC, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x10, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x10, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x14, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x14, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x18, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x18, 4, 4), }, { [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x1C, 0, 2), [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x1C, 4, 4), }, };

    Thanks in advance,
    Swedha R

  • Hi,

    I am trying to understand certain things here. 
    I am using main cpsw2g port , for all ethernet controller port 0 will be host port and otheres will be external ports

    In the below structure, we are having offsets for (0-7) 8 ports. For my case, I will be having 2 ports. port 0 - host port (0x0), port 1 - 0x4. I believe this is the offset for my case to calculate the register -  0x00104034
    Is the above understanding is correct?

    Above will be applicable for External Ports, Host Port is internal and can't connect to MAC/PHY.
    Above are 8 offsets for CPSW9G case.

    Please refer to Register Spec for Offset address, the same was maintained in device trees along with length as well.

    Please refer to cpswx_phy_gmii_sel node in device tree files.

    And my doubt is when comes to 9g, port 0 will be host as like above , port 7 is 0x1C, then what will be offset for port 8? 

    As mentioned above these are for External Ports 1 to 8.

    Best Regards,
    Sudheer

  • Hi
    Thanks for the response and for your valuable insights.

    Please refer to Register Spec for Offset address, the same was maintained in device trees along with length as well.

    Please refer to cpswx_phy_gmii_sel node in device tree files.

    I have understood completely the flow how the register address calculated, how the structure and how the reg mapping fields work. Everything I have trace backed from the device tree.

    As the broadcom is working in IEEE mode in this new RJ45 based FRS card, I am going back to research why it is not working in broadreach(LRE)mode.

    Shall I continue in this thread or I can continue with the old Broadcom thread where we discussed on the broadreach mode.

    Thanks in advance,
    Swedha R

  • Hi Swedha,

    Shall I continue in this thread or I can continue with the old Broadcom thread where we discussed on the broadreach mode.

    I recommend to discuss above topic in different thread, Here issue is addressed and everything is working as expected.

    Best Regards,
    Sudheer

  • Hi ,
    Sure I will create a new thread now to discuss on the above.


    Thanks and Regards,
    Swedha R

  • Hi,

    Sure I will create a new thread now to discuss on the above.

    Okay, will be closing this thread.

    Best Regards,
    Sudheer