linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Ben Gamari <bgamari@gmail.com>
Cc: linux-usb@vger.kernel.org,
	Beagle Board <beagleboard@googlegroups.com>,
	linux-omap <linux-omap@vger.kernel.org>
Subject: Re: Initialization of musb on board-omap2beagle fails in platform_driver_probe
Date: Mon, 28 Mar 2011 11:37:22 +0300	[thread overview]
Message-ID: <20110328083721.GE2251@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <87hbap5tzp.fsf@gmail.com>

Hi,

On Sat, Mar 26, 2011 at 07:42:34PM -0400, Ben Gamari wrote:
> Today I've had a very frustrating time trying to bring up a BeagleBoard
> (arch/arm/mach-omap2/board-omap2beagle.c) with the 2.6.38

there's no board-omap2beagle

> kernel. Unfortunately musb has been giving me great difficulties,
> 
>  # modprobe g_ether
> [   25.276855] usb_gadget_probe_driver 1815: usb_gadget_probe_driver, no dev??
> modprobe: Failed to load module g_ether: No such device.
> 
> After a great deal of printking, I've determined that the error is
> coming from platform_driver_probe (platform.c:499). The code in question
> appears to be a check ensuring that any devices being probe were first
> registered. When the musb-hdrc module is probed, this check seems to
> fail with code = 1 and list_empty(&drv->driver.p->klist_devices.k_list)
> = 1.

looking at your .config from previous mail, it's wrong. You're trying to
use am35x glue layer while you be using omap2430, just change:

- CONFIG_USB_MUSB_AM35X=y
+ # CONFIG_USB_MUSB_AM35X is not set
+ CONFIG_USB_MUSB_OMAP2PLUS=y

-- 
balbi

  reply	other threads:[~2011-03-28  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 23:42 Initialization of musb on board-omap2beagle fails in platform_driver_probe Ben Gamari
2011-03-28  8:37 ` Felipe Balbi [this message]
2011-03-28 14:43   ` Ben Gamari

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=20110328083721.GE2251@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=beagleboard@googlegroups.com \
    --cc=bgamari@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).