Dear all,
please help, I have trouble in driving LAN9311 on AM3517 EVM. And I have read below posts:
http://e2e.ti.com/support/embedded/f/509/p/74070/269338.aspx#2693380131.EVM-AM3517-log.txt
http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/416/p/106772/376506.aspx#376506
my problem is I cannot use two ports of LAN9311 on WinCE and Linux:
run WinCE OS, we can find two ethernet cards, and one of them is LAN9311, and this ethernet card has two ports(port 1 and port2). when plugin ethernet cable to port1, it indicates connected, and it can ping local IP address, but wehn plugin ethernet cable to port2, it indicates disconnceted. and network is not available.
run Linux OS, build uImage for AM3517EVM with 'CONFIG_SMSC911X=y', and then run it. run 'ifconfig -a' in serial port terminal:
am3517-evm login: root
root@am3517-evm:~# ifconfig -a
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:24
eth0 Link encap:Ethernet HWaddr 00:24:BA:51:0A:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:67
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr 96:86:9B:E9:2D:DA
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
cat /proc/net/dev:
root@am3517-evm:~# cat /proc/neroot@am3517-evm:~# cat /proc/net/deroot@am3517-evm:~# cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packe
ts errs drop fifo colls carrier compressed
lo: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
can0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
usb0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
root@am3517-evm:~#
I cannot find eth1.
and my question is:
1, we can find the SMSC LAN9118 driver in am3517 SDK, does it work with LAN9311? (if not, why use LAN9311 on EVM but provide driver for LAN911x in SDK?)
2, the most inportant, how to fix this issue: 1> WinCE OS, make LAN9311 work good wiht both port1 and port2; 2> Linux OS, make eth1 available as well as both port1 and port2.
3, can TI engineer confirm that we run LAN9311 well on TMDXEVM3517?
any help will be appreciated! thanks!
Gerry (e-mail: gerry.lee@avnet.com)