public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] USB Host not enumerating properly on AM335x-based board
@ 2014-11-20 16:49 Maxime Ripard
  2014-11-21 10:20 ` Eric Bénard
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Maxime Ripard @ 2014-11-20 16:49 UTC (permalink / raw)
  To: u-boot

Hi,

I'm currently working on 2014.07, on a custom TI AM335x based board.

Everything works great so far, except when we're trying to have USB
host working.

The board has the MUSB1 controller wired as USB Host only, with the
following configuration:

#define CONFIG_USB_MUSB_DSPS
#define CONFIG_ARCH_MISC_INIT
#define CONFIG_MUSB_PIO_ONLY
#define CONFIG_MUSB_DISABLE_BULK_COMBINE_SPLIT
#define CONFIG_MUSB_HOST
#define CONFIG_MUSB_DSPS
#define CONFIG_AM335X_USB1
#define CONFIG_AM335X_USB1_MODE MUSB_HOST

#ifdef CONFIG_MUSB_HOST
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#endif

Whenever we try to scan the USB controller and that a device is
attached, we get the following output:

U-Boot# usb start
(Re)start USB...
USB0:   scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

The device itself being a USB key, it's somewhat odd that it
enumerates the device, but doesn't find the storage device...

The same USB port with the same device works fine under Linux.

The VBUS pin is still up after running the command, so it's not really
a matter of power being shut down on the bus.

I'm kind of running out of idea on what to test next. The differences
between u-boot's musb-new and Linux' own musb driver seems thin and to
make sense, so I don't think the driver itself is to blame.

Anyone experienced such a thing?

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141120/a3c65218/attachment.pgp>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-12-14 19:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 16:49 [U-Boot] USB Host not enumerating properly on AM335x-based board Maxime Ripard
2014-11-21 10:20 ` Eric Bénard
2014-11-21 14:57   ` Maxime Ripard
2014-11-21 19:35     ` Marek Vasut
2014-11-21 23:40 ` Anatolij Gustschin
2014-11-23 11:56   ` Albert ARIBAUD
2014-11-24 22:23   ` Maxime Ripard
2014-12-08 13:59   ` Maxime Ripard
2014-12-10 15:23 ` Maxime Ripard
2014-12-11 13:09   ` Marek Vasut
2014-12-11 15:44     ` Maxime Ripard
2014-12-14 19:18       ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox