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.
[ 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