TI E2E Community
How to enable ethernet over USB (g_ether)? AM3517, Linux 2.6.32-rc5 Arago 2009.11
I am trying to get Ethernet over USB to work from my AM3517 dev board to a Windows PC (XP or 7x64). I believe I have the USB networking configuration correct on the AM3517 board, but the PC just sees unknown device when I make a connection from the OTG port of the AM3517 to the PC. Is there any configuration that needs to be done on the Linux side to force the OTG port to work as a USB over Ethernet device? Thank you.
When booting I see this...
g_ether gadget: using random self ethernet addressg_ether gadget: using random host ethernet addressusb0: MAC 52:2a:a1:a6:61:3eusb0: HOST MAC ee:4c:86:4e:5a:e4g_ether gadget: Ethernet Gadget, version: Memorial Day 2008g_ether gadget: g_ether ready
Then ifconfig will show (which is correct for our network)
usb0 Link encap:Ethernet HWaddr 52:2A:A1:A6:61:3E inet addr:10.1.3.254 Bcast:10.1.3.255 Mask:255.255.252.0 UP BROADCAST RUNNING 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)
Have you enabled RNDIS option in ethernet gadget driver section at drivers->USB support -> Gadget Support ?
This is required for connecting Am3517 to windows system.
If my reply answers your question then please click on the green button "Verify Answer"
Is this a kernel option or is it in a run time configuration file? I'm fairly new to Linux so I'm not sure to exactly what you are referring.
Ok I see that I need to run "make menuconfig" to get started with configuring the system. On my board I get the error -sh: make: not found.
Do I need to download the source code to the board along with GCC? How do I get started with this?
Edit: The Host PC is Windows 7 and I'm running Sourcery G++. It is not clear to me where the "make menuconfig" command runs. Is it the AM3517 board or the host PC?
Since windows does not recognize the EVM, you will need to also provide an ".inf" file so Windows will know what type of device it is and what kind of drivers it needs. I'll provide a link to Microsoft which explains how to create a generic .inf file which should work in your configuration. Hopefully, this will solve your problem.
Did you get pop up windows asking for driver when you connected the evm to PC ? If so then you can provide the below .inf file.
Yes, you need to use make menuconfig to configure the kernel.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.