All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Kuzmichev <vkuzmichev@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] BeagleBoard-xM: Ethernet over USB supported ?
Date: Mon, 07 Feb 2011 16:32:23 +0300	[thread overview]
Message-ID: <4D4FF467.4070301@mvista.com> (raw)
In-Reply-To: <AANLkTimYCT2V+Dz2rVpKLnSbqHcc=4KO3givXuwjmQnh@mail.gmail.com>

Hi Olivier,

Olivier Martin wrote:
> Hi,
> I am trying to enable boot from tftp for a BeagleBoard-xM.
> The BeagleBoard-xM has an integrated Ethernet port over USB.
> 
> I have tried to enable it by adding these following lines in
> include/configs/omap3_beagle.h:
> #define CONFIG_USB_ETHER               1
> #define CONFIG_CMD_NET         /* bootp, tftpboot, rarpboot    */
> #define CONFIG_CMD_PING
> 
> But when I compiled I have got a link error:
> /drivers/usb/gadget/libusb_gadget.o: In function `usb_eth_initialize':
> u-boot-main/drivers/usb/gadget/ether.c:1964: undefined reference to
> `usb_gadget_register_driver'
> drivers/usb/gadget/libusb_gadget.o: In function `usb_eth_init':
> u-boot-main/drivers/usb/gadget/ether.c:1812: undefined reference to
> `usb_gadget_handle_interrupts'
> 
> The functions `usb_gadget_register_driver' and
> `usb_gadget_handle_interrupts' do not exist in the current u-boot tree...


Of course. You haven't enabled appropriate USB gadget controller driver.
Please learn the difference between USB Networking using USB host and
USB gadget stacks.
CONFIG_USB_ETHER is a gadget driver. You probably need CONFIG_USB_USBNET
instead.

      parent reply	other threads:[~2011-02-07 13:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 13:18 [U-Boot] BeagleBoard-xM: Ethernet over USB supported ? Olivier Martin
2011-02-05 14:05 ` Alexander Holler
2011-02-07  4:42   ` Gadiyar, Anand
2011-02-07 10:34     ` Alexander Holler
2011-02-07 17:30     ` jacopo mondi
2011-02-07 13:32 ` Vitaly Kuzmichev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D4FF467.4070301@mvista.com \
    --to=vkuzmichev@mvista.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.