All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollis_blanchard@mentor.com>
To: McClintock Matthew-B29882 <B29882@freescale.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: missing USB gadget support on beagleboard?
Date: Wed, 15 Feb 2012 15:20:36 -0800	[thread overview]
Message-ID: <4F3C3DC4.8060400@mentor.com> (raw)
In-Reply-To: <CAEsOVNcatm3EzHaLLWyGA2Bf=i65j9WTLLDrF0jq2Dg5xZ6E-A@mail.gmail.com>

On 02/14/2012 10:24 PM, McClintock Matthew-B29882 wrote:
> On Tue, Feb 14, 2012 at 4:12 PM, Hollis Blanchard
> <hollis_blanchard@mentor.com>  wrote:
>> Hi, I'm sure I'm missing something simple, but I just built Poky from git
>> for beagleboard, and can't figure out USB networking. I expected to find
>> g_cdc and g_ether modules in
>> /lib/modules/3.0.18-yocto-standard+/kernel/drivers/usb, but that directory
>> doesn't actually exist (I guess the drivers are built-in to this kernel).
>>
>> I have MACHINE ??= beagleboard in local.conf, and "bitbake
>> core-image-minimal" did produce a working kernel, uboot, etc. I see some USB
>> messages at boot (see below), but although cdc_ether is mentioned, ifconfig
>> -a lists only loopback.
>>
>> Any suggestions? Thanks!
> You can look at the default defconfig to see which kernel modules are
> selected and also make sure the kernel modules are actually included
> on core-image-minimal.

Right, it looks like CONFIG_USB_ETH is disabled in 
linux-beagleboard-standard-build/.config , and I think that's the key 
missing option. I'm so lost in Yocto's kernel configuration 
"architecture" that I have no idea if that's being explicitly disabled, 
or just omitted from the base config, or what.

It seems to me that option should be enabled if DISTRO_FEATURES contains 
usbgadget. More simply, it seems like a good idea to enable 
CONFIG_USB_ETH in the beagleboard default configuration, since many 
beagleboards don't have any other network interface.

Is there an owner of Yocto's beagleboard BSP stuff?

Hollis Blanchard
Mentor Graphics, Embedded Systems Division



  parent reply	other threads:[~2012-02-15 23:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15  0:12 missing USB gadget support on beagleboard? Hollis Blanchard
2012-02-15  6:24 ` McClintock Matthew-B29882
2012-02-15  6:33   ` McClintock Matthew-B29882
2012-02-15 23:20   ` Hollis Blanchard [this message]
2012-02-15 23:23     ` McClintock Matthew-B29882
2012-02-16  0:35     ` Bruce Ashfield
2012-02-16  0:49       ` Hollis Blanchard

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=4F3C3DC4.8060400@mentor.com \
    --to=hollis_blanchard@mentor.com \
    --cc=B29882@freescale.com \
    --cc=yocto@yoctoproject.org \
    /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.