• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » How to enable ethernet over USB (g_ether)? AM3517, Linux 2.6.32-rc5 Arago 2009.11
Share
Linux
  • Forum
Options
  • Subscribe via RSS

How to enable ethernet over USB (g_ether)? AM3517, Linux 2.6.32-rc5 Arago 2009.11

How to enable ethernet over USB (g_ether)? AM3517, Linux 2.6.32-rc5 Arago 2009.11

This question is not answered
Reinyn Bedlington
Posted by Reinyn Bedlington
on Dec 29 2010 15:40 PM
Intellectual380 points

Hello.

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 address
g_ether gadget: using random host ethernet address
usb0: MAC 52:2a:a1:a6:61:3e
usb0: HOST MAC ee:4c:86:4e:5a:e4
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_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)

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ajay
    Posted by Ajay
    on Dec 29 2010 23:28 PM
    Genius9470 points

    Reinyn,

    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.

    Regards,

    Ajay

    If my reply answers your question then please click on the green button "Verify Answer"

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Reinyn Bedlington
    Posted by Reinyn Bedlington
    on Dec 30 2010 09:39 AM
    Intellectual380 points

    Hello Ajay,

    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.

    thank you,

    -Reinyn

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Reinyn Bedlington
    Posted by Reinyn Bedlington
    on Dec 30 2010 11:25 AM
    Intellectual380 points

    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?

    thank you,

    -Reinyn

    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?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • kengler01
    Posted by kengler01
    on Dec 30 2010 16:23 PM
    Prodigy250 points

    Reinyn,

     

    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.

     

    http://msdn.microsoft.com/en-us/library/ff570620.aspx

     

     

    Regards,

    Ken

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ajay
    Posted by Ajay
    on Dec 30 2010 22:56 PM
    Genius9470 points

    Reinyn,

    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.

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/usb/linux.inf;h=4dee95851224a35521831065926c9e6e1ef0363e;hb=3643e0e87c13c670a0fdcd0c34401b38b36ff021

    Yes, you need to use make menuconfig to configure the kernel.

    Regards,

    Ajay

    If my reply answers your question then please click on the green button "Verify Answer"

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use