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.

AM4372: Dual Gigabit Ethernet issue

Part Number: AM4372
Other Parts Discussed in Thread: TMDXSK437X


Sitara Support Team,

My customer has designed the custom board using AM4372.
The board has the following problems.

[Status]
 The custom board takes TCP communication with a PC over LAN 1000BASE.
 -LAN 1ch(only eth0 or only eth1): Communication OK
 -LAN 2ch(eth0 and eth1)simultaneous communication: Communication NG
The attached error message shows around one minute, and the communication is stopped.
And it starts to communicate after about one minute, and it stops to communicate after about one minute.
This status that the communication starts and stops is repeated.

LAN_ErrorMsg.txt
[  978.083260] ------------[ cut here ]------------
[  978.097232] WARNING: CPU: 0 PID: 9 at net/sched/sch_generic.c:461 dev_watchdog+0x2c4/0x2c8
[  978.122146] NETDEV WATCHDOG: eth0 (cpsw): transmit queue 0 timed out
[  978.141281] Modules linked in:
[  978.150486] CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 4.19.38-g4dae378bbe #154
[  978.172760] Hardware name: Generic AM43 (Flattened Device Tree)
[  978.190583] Backtrace:
[  978.197961] [<c010cbe4>] (dump_backtrace) from [<c010cf54>] (show_stack+0x18/0x1c)
[  978.220765]  r7:00000009 r6:00000000 r5:c0c5b460 r4:ef0a3ddc
[  978.237829] [<c010cf3c>] (show_stack) from [<c093a5d4>] (dump_stack+0x24/0x28)
[  978.259593] [<c093a5b0>] (dump_stack) from [<c012d3c0>] (__warn+0xe0/0xf8)
[  978.280306] [<c012d2e0>] (__warn) from [<c012d018>] (warn_slowpath_fmt+0x50/0x6c)
[  978.302866]  r9:c082a5a0 r8:00000000 r7:ef24d800 r6:c0e16660 r5:c0c5b424 r4:c0e03048
[  978.326196] [<c012cfcc>] (warn_slowpath_fmt) from [<c082a864>] (dev_watchdog+0x2c4/0x2c8)
[  978.350826]  r3:ef24d800 r2:c0c5b424
[  978.361587]  r5:00000000 r4:ef24da84
[  978.372373] [<c082a5a0>] (dev_watchdog) from [<c0187358>] (call_timer_fn+0x2c/0x9c)
[  978.395440]  r8:ffffe000 r7:c0e16680 r6:c082a5a0 r5:00000100 r4:ffffe000
[  978.415630] [<c018732c>] (call_timer_fn) from [<c01874b8>] (expire_timers+0xf0/0xf8)
[  978.438951]  r6:00000000 r5:ef0a3e8c r4:ef24da84
[  978.452861] [<c01873c8>] (expire_timers) from [<c0187578>] (run_timer_softirq+0xb8/0x220)
[  978.477495]  r9:c0e03048 r8:c0e16660 r7:c0e16680 r6:c0e16680 r5:ef0a3e8c r4:ef0a3e8c
[  978.500829] [<c01874c0>] (run_timer_softirq) from [<c0102290>] (__do_softirq+0x110/0x284)
[  978.525464]  r9:00000001 r8:40000001 r7:ef0a2000 r6:c0e532b0 r5:c0e532b4 r4:00000002
[  978.548795] [<c0102180>] (__do_softirq) from [<c0130834>] (run_ksoftirqd+0x30/0x38)
[  978.571858]  r10:ef08ddf8 r9:00000000 r8:c0e03048 r7:c0e0e6c8 r6:00000001 r5:ffffe000
[  978.595438]  r4:ef043200
[  978.603074] [<c0130804>] (run_ksoftirqd) from [<c014f408>] (smpboot_thread_fn+0x144/0x28c)
[  978.627980] [<c014f2c4>] (smpboot_thread_fn) from [<c014b0f8>] (kthread+0x158/0x160)
[  978.651307]  r9:c014f2c4 r8:ef043200 r7:ef0a2000 r6:00000000 r5:ef043240 r4:ef043280
[  978.674633] [<c014afa0>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[  978.696382] Exception stack(0xef0a3fb0 to 0xef0a3ff8)
[  978.711593] 3fa0:                                     00000000 00000000 00000000 00000000
[  978.736227] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  978.760858] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  978.780780]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c014afa0
[  978.804358]  r4:ef043240
[  978.811964] ---[ end trace e661d8566eba1532 ]---

-Reproduced by connecting directly with LAN cable without 1000BASE HUB.: Communication NG
-Reproduced via 100BASE HUB. The board setting is "autonego". : Communication NG
 -S/W: ti-processor-sdk-linux-am437x-evm-06.00.00.07

[Check list items]
processors.wiki.ti.com/.../5x_CPSW

-Kernel version and source, also include the results of this command: uname -a
 Linux am437x-evm 4.19.38-g4dae378bbe #155 PREEMPT Mon Nov 11 09:38:02 JST 2019 armv7l GNU/Linux
-File system, TI SDK or Arago/Yocto based filesytem
 targetNFS; NFS boot
-Custom board or TI board? Please include device tree source file.
 Custome board based on TMDXSK437X
 If you need the DTS file and DTSI file, I can share them via private message.
-Console log of the boot process that includes U-Boot and the Kernel.
 If you need the BootLog.txt file, I can share them via private message.
-ethtool <interface such as eth0 or eth1>
-ethtool -S <interface such as eth0 or eth1>
-ifconfig <interface such as eth0 or eth1>
 If you need the ethtool_ifconfig_beforeComm.txt, ethtool_ifconfig_afterComm.txt.files,
 I can share them via private message.

Could you please point out the cause of communication error?
If you need other information to point out this issue, please let me know.

Best regards,
Kanae

  • Hi,

    I have a couple of follow up questions:

    Are you able to reproduce this condition or message on a TI EVM? 

    Is the pre-built Kernel binary that comes with the SDK being used here?

    Is there a reason why the bootlog, ifconfig -a  and ethtool outputs cannot be attached like the error message? I would like to keep all the data together.

    Could also describe the traffic and the bit rate on the ports? Also so far I have assumed this is on the ports in use here are the CPSW ports. A block diagram would also be helpful too. Thank you.

    Best Regards,

    Schuyler


  • Hi Schuyler,

    Thank you for your reply.
    Here are answers to your follow up questions.

    Are you able to reproduce this condition or message on a TI EVM?
    >It will be checked with TI EVM and I will report the results here.

    Is the pre-built Kernel binary that comes with the SDK being used here?
    >No. Customer uses Linux kernel for the custome board.

    Is there a reason why the bootlog, ifconfig -a and ethtool outputs cannot
    be attached like the error message? I would like to keep all the data together.
    >Bootlog has some custom's information, but I can send you via email or private message.

     Their ifconfig -a and ethtool outputs output can be attached here. 

    ethtool_ifconfig_afterComm.txt
    root@am437x-evm:/home/avaldata# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII FIBRE ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: g
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am437x-evm:/home/avaldata# ethtool eth1
    Settings for eth1:
            Supported ports: [ TP MII FIBRE ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 1
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: g
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am437x-evm:/home/avaldata# ethtool -S eth0
    NIC statistics:
         Good Rx Frames: 3968710
         Broadcast Rx Frames: 227
         Multicast Rx Frames: 92
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 315917677
         Good Tx Frames: 3071809
         Broadcast Tx Frames: 13
         Multicast Tx Frames: 102
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 215770157
         Rx + Tx 64 Octet Frames: 111
         Rx + Tx 65-127 Octet Frames: 1035089
         Rx + Tx 128-255 Octet Frames: 45149
         Rx + Tx 256-511 Octet Frames: 329
         Rx + Tx 512-1023 Octet Frames: 2906
         Rx + Tx 1024-Up Octet Frames: 5956935
         Net Octets: 531687834
         Rx Start of Frame Overruns: 18046
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 13667
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 3950765
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 370
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 304619
         Rx DMA chan 0: good_dequeue: 3950638
         Rx DMA chan 0: requeue: 170
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 147071
         Tx DMA chan 0: tail_enqueue: 2925122
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 33315
         Tx DMA chan 0: desc_alloc_fail: 22
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 156
         Tx DMA chan 0: empty_dequeue: 146990
         Tx DMA chan 0: busy_dequeue: 81961030
         Tx DMA chan 0: good_dequeue: 3071678
         Tx DMA chan 0: requeue: 72839
         Tx DMA chan 0: teardown_dequeue: 515
    root@am437x-evm:/home/avaldata# ethtool -S eth1
    NIC statistics:
         Good Rx Frames: 3968624
         Broadcast Rx Frames: 189
         Multicast Rx Frames: 92
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 315903943
         Good Tx Frames: 3071761
         Broadcast Tx Frames: 13
         Multicast Tx Frames: 102
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 215762757
         Rx + Tx 64 Octet Frames: 109
         Rx + Tx 65-127 Octet Frames: 1035071
         Rx + Tx 128-255 Octet Frames: 45037
         Rx + Tx 256-511 Octet Frames: 327
         Rx + Tx 512-1023 Octet Frames: 2906
         Rx + Tx 1024-Up Octet Frames: 5956935
         Net Octets: 531666700
         Rx Start of Frame Overruns: 18046
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 13667
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 3950679
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 370
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 304563
         Rx DMA chan 0: good_dequeue: 3950552
         Rx DMA chan 0: requeue: 170
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 147023
         Tx DMA chan 0: tail_enqueue: 2925122
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 33315
         Tx DMA chan 0: desc_alloc_fail: 22
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 154
         Tx DMA chan 0: empty_dequeue: 146942
         Tx DMA chan 0: busy_dequeue: 81961030
         Tx DMA chan 0: good_dequeue: 3071630
         Tx DMA chan 0: requeue: 72839
         Tx DMA chan 0: teardown_dequeue: 515
    root@am437x-evm:/home/avaldata# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:80:B3:71:20:7B
              inet addr:192.168.200.1  Bcast:192.168.200.255  Mask:255.255.255.0
              inet6 addr: fe80::280:b3ff:fe71:207b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1456725 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1362267 errors:13 dropped:17 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2009790566 (1.8 GiB)  TX bytes:1969445225 (1.8 GiB)
              Interrupt:43
    
    eth1      Link encap:Ethernet  HWaddr 00:80:B3:71:20:7C
              inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
              inet6 addr: fe80::280:b3ff:fe71:207c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2493884 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1709897 errors:5 dropped:5 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2573924347 (2.3 GiB)  TX bytes:2528802376 (2.3 GiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:124 errors:0 dropped:0 overruns:0 frame:0
              TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:13116 (12.8 KiB)  TX bytes:13116 (12.8 KiB)
    
    root@am437x-evm:/home/avaldata#
    

    ethtool_ifconfig_beforeComm.txt
    root@am437x-evm:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII FIBRE ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: g
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am437x-evm:~# ethtool eth1
    Settings for eth1:
            Supported ports: [ TP MII FIBRE ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            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 Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 1
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: g
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    root@am437x-evm:~# ethtool -S eth0
    NIC statistics:
         Good Rx Frames: 56022
         Broadcast Rx Frames: 21
         Multicast Rx Frames: 47
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 52487311
         Good Tx Frames: 40549
         Broadcast Tx Frames: 1
         Multicast Tx Frames: 99
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 20010851
         Rx + Tx 64 Octet Frames: 24
         Rx + Tx 65-127 Octet Frames: 6191
         Rx + Tx 128-255 Octet Frames: 43907
         Rx + Tx 256-511 Octet Frames: 306
         Rx + Tx 512-1023 Octet Frames: 2396
         Rx + Tx 1024-Up Octet Frames: 43747
         Net Octets: 72498162
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 56132
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 26331
         Rx DMA chan 0: good_dequeue: 56005
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 33210
         Tx DMA chan 0: tail_enqueue: 7339
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 1317
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 15
         Tx DMA chan 0: empty_dequeue: 33210
         Tx DMA chan 0: busy_dequeue: 4558
         Tx DMA chan 0: good_dequeue: 40549
         Tx DMA chan 0: requeue: 2989
         Tx DMA chan 0: teardown_dequeue: 0
    root@am437x-evm:~# ethtool -S eth1
    NIC statistics:
         Good Rx Frames: 56027
         Broadcast Rx Frames: 21
         Multicast Rx Frames: 47
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 52488021
         Good Tx Frames: 40554
         Broadcast Tx Frames: 1
         Multicast Tx Frames: 99
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 20011641
         Rx + Tx 64 Octet Frames: 24
         Rx + Tx 65-127 Octet Frames: 6191
         Rx + Tx 128-255 Octet Frames: 43917
         Rx + Tx 256-511 Octet Frames: 306
         Rx + Tx 512-1023 Octet Frames: 2396
         Rx + Tx 1024-Up Octet Frames: 43747
         Net Octets: 72499662
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 56137
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 26336
         Rx DMA chan 0: good_dequeue: 56010
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 33215
         Tx DMA chan 0: tail_enqueue: 7339
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 1317
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 15
         Tx DMA chan 0: empty_dequeue: 33215
         Tx DMA chan 0: busy_dequeue: 4558
         Tx DMA chan 0: good_dequeue: 40554
         Tx DMA chan 0: requeue: 2989
         Tx DMA chan 0: teardown_dequeue: 0
    root@am437x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:80:B3:71:20:7B
              inet addr:192.168.200.1  Bcast:192.168.200.255  Mask:255.255.255.0
              inet6 addr: fe80::280:b3ff:fe71:207b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:56036 errors:0 dropped:0 overruns:0 frame:0
              TX packets:40544 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:52489898 (50.0 MiB)  TX bytes:19847681 (18.9 MiB)
              Interrupt:43
    
    eth1      Link encap:Ethernet  HWaddr 00:80:B3:71:20:7C
              inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
              inet6 addr: fe80::280:b3ff:fe71:207c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:447 (447.0 B)  TX bytes:6036 (5.8 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:82 errors:0 dropped:0 overruns:0 frame:0
              TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)
    
    root@am437x-evm:~#
    

    Could also describe the traffic and the bit rate on the ports?
    >Each 1ch rate is 19.4MB/s at using both ports.

    Also so far I have assumed this is on the ports in use here are the CPSW ports.
    A block diagram would also be helpful too.
    >Yes. They are CPSW ports.
     The network configuration is roughly like this.
     [Custome board:AM4372 - PHY] - [1000BASE HUB] - [PC]

    Best regards,
    Kanae


  • Hi Schuyler,

    I can share the bootlog via email or private message as I posted.
    If you need it, please let me know.

    Best regards,
    Kanae

  • Hi Kanae,

    I discussed the timeout error with the developer and we need a way to try and reproduce it here. The test case that is being used we need to know more about it so we can try to reproduce the error.  We also need to ask that the problem is reproduce on the TI EVM. It is a customer app or are standard utilities like iperf being used to cause this problem?

    Best Regards,

    Schuyler


  • Hi Schuyler,

    Regarding this error, my customer solved to increase the buffer.

    I appreciate your support.

    Best regards,
    Kanae