Hi all,
We have a custom board based on the evmam1707, but using the am1705. I am using the mach-davinci/board-da830-evm.c with modifications as the board file. Same with the GEL. We are using PSP-SDK-03.22.00.06.
The Lan8710a PHY is strapped in 100FD, autoneg enabled and is found by the mdio probe in U-boot and the Kernel, and the phy does show 100FD, autoneg complete. We are using the internal 50MHz clock for RMII.
The smsc driver in linux is not being used at this time. Mostly because I don't know what needs to be in the board file for this device. The datasheet that has the performance numbers below mentions the da850, and a chart shows that board using the LAN 8710. Perhaps I can follow the code in board-da850-evm.c?
Here is dmesg of mdio probe:
Fixed MDIO Bus: probed
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[7]: device davinci_mdio-0:07, driver unknown
Here is dmesg output when Ethernet is started:
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting periodic command scheduler: cron.
net eth0: no phy, defaulting to 100/full
Starting DAS NTPDATE init...
The Ethernet connection is working, we can ping, run RPC, rsyslog, etc. However, the performance is not there at all.
I found these benchmarks in the SDK-03.20.00.08 datasheet for the DA850.
DA830/OMAP-L137
TCP Window Size(in KBytes) | Bandwidth (in Mbits/sec) | Transfer size (in MBytes) | Interval (in Seconds) |
---|---|---|---|
16 | 55.7 | 398 | 60 |
32 | 63.4 | 454 | 60 |
64 | 65 | 465 | 60 |
128 | 65 | 464 | 60 |
The performance numbers were captured using the iperf tool. Usage details are mentioned below:
- Server side command switch : "-s"
- Client side command : "-c <server ip> -w <window size> -d -t60"
- Iperf tool is run on the DUT1 in server mode and on DUT2 in client mode. Version 1.7.0 is used on both sides.
- Data captured here is for "iperf" in client mode.
- Cross cable is used to measure performance.
- Speed is set to 100Mbps
- Power Management disabled for measurement
Using the same client options, these are the numbers I'm seeing:
We also see many, many TX overruns on the connection:
root@spm1:/etc/init.d# ifconfig
eth0 Link encap:Ethernet HWaddr 70:b3:d5:3c:21:33
inet addr:192.168.101.1 Bcast:192.168.101.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:145857 errors:0 dropped:0 overruns:0 frame:0
TX packets:141531 errors:0 dropped:0 overruns:5954 carrier:0
collisions:0 txqueuelen:1000
RX bytes:132752375 (126.6 MiB) TX bytes:128138572 (122.2 MiB)
Interrupt:33
The receiving connection shows that it dropped 7, Rx packets.
Please advise as to where to focus. Do I need to get that SMSC driver running?
Thanks,
Dan