Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CPSW misses 25% pings? No HW issue!

$
0
0

Hi all

I am facing a (weird?) problem:
I have a prototype-board (similar to the beaglebone) using an XAM3359 with a SMSC-PHY. From an external company I got a linux-system that is working properly (regarding Ethernet), so the Hardware is OK!!

Now I tried to use the actual kernel/drivers delivered with the latest SDK (05.07.00) / PSP 04.06.00.10, made the same changes regarding muxing and the init of the CPSW that were done in the properly-running-linux and at first everything seemed to be OK.

But when PINGing the board about 25% of all pings are missed (response time too high), the others show a response time of always <1ms. Also internet-browsing works but is slow due to the "package-loss". So, the system is working, but only to, lets say, 75%.

Facts:
CPSW is configured as dual EMAC, using RMII, the SMSC-PHY (LAN8720A) is supported by the kernel. HW (PCB-tracing) is OK. ifconfig shows eth0 is properly UP. ethtool shows no irregularities. cat /proc/interrupts shows interrupts 40, 43, 93, 94 for "cpsw", only 93 and 94 counting up, which seems to be OK.

The only difference between the working and the partially-non-working linux is that ifconfig eth0 shows "interrupt: 40" at the working version and no interrupt at the partially-non-woking version. At both versions I see some dropped RX packets in ifconfig.

Any idea how to find the problem why one out of four pings is completely missed?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>