I was working on the network driver for our custom hardware (it uses Atheros AR8035 PHY), but then I noticed that the factory image on Microzed performs even worse. Can anybody try running a simple script on their board?
--------------------
#!/bin/sh
fails=0
tries=0
while true
do
ifconfig eth0 down
ifconfig eth0 up
ping -c 1 -w 10 192.168.0.15 >/dev/null
fails=$(($fails+$?))
tries=$(($tries+1))
echo "tries: $tries fails: $fails"
done
------------------
(replace 192.168.0.15 with your accessible on the network host)
On my Microzed LEDs on the network connector went off after some 35 attempts, reporting 3 failures. After LEDs went off they never went on until reboot.
I believe it is related to dmatest running, but that is not confirmed. What I noticed on my modified driver, sometimes when trying to run xemacps_reset_hw() it loses access to i/o registers (reads 0 regardless of writes) for some milliseconds, but unmodified driver does not notice that.
Andrey