Re: OMAP3 & USB NFS root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 16, 2011 at 12:00:36PM +0200, Tomi Valkeinen wrote:
> On Wed, 2011-02-16 at 03:49 -0600, Balbi, Felipe wrote:
> > Hi,
> > 
> > On Wed, Feb 16, 2011 at 11:44:21AM +0200, Tomi Valkeinen wrote:
> > > Perhaps I'm missing some Kconfig option.
> > 
> > Yes, you have a problem on your Kconfig
> > 
> > <snip>
> > 
> > > CONFIG_USB_MUSB_HDRC=y
> > > CONFIG_USB_MUSB_TUSB6010=y
> > > # CONFIG_USB_MUSB_OMAP2PLUS is not set
> > > # CONFIG_USB_MUSB_AM35X is not set
> > 
> > Since you're running on Overo, you need to use CONFIG_USB_MUSB_OMAP2PLUS
> > instead of CONFIG_USB_MUSB_TUSB6010. We're still working to make those
> > work together. Lots of re-work needs to be done on the DMA part before
> > we can make all of them work together.
> > 
> > Fix that and it should work.
> 
> Ok, thanks, now it works! I set CONFIG_USB_MUSB_OMAP2PLUS, but that
> didn't help alone. I also had to enable host side USB, select
> CONFIG_USB_MUSB_OTG. With plain peripheral support nothing happened.

you need the other patch I sent before. Here it is:

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 54a8bd1..bc29655 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1949,31 +1949,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
 		goto fail0;
 	}
 
-	switch (plat->mode) {
-	case MUSB_HOST:
-#ifdef CONFIG_USB_MUSB_HDRC_HCD
-		break;
-#else
-		goto bad_config;
-#endif
-	case MUSB_PERIPHERAL:
-#ifdef CONFIG_USB_GADGET_MUSB_HDRC
-		break;
-#else
-		goto bad_config;
-#endif
-	case MUSB_OTG:
-#ifdef CONFIG_USB_MUSB_OTG
-		break;
-#else
-bad_config:
-#endif
-	default:
-		dev_err(dev, "incompatible Kconfig role setting\n");
-		status = -EINVAL;
-		goto fail0;
-	}
-
 	/* allocate */
 	musb = allocate_instance(dev, plat->config, ctrl);
 	if (!musb) {

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux