AnsweredAssumed Answered

USB Client doesn't work on i.MX53 in mainline u-boot

Question asked by Matthew Starr on May 13, 2015
Latest reply on Jun 5, 2015 by Matthew Starr

I have a custom board loosely based off the i.MX53 QSB with a dedicated USB client port.  I am trying to get USB client functionality working in mainline u-boot 2015.04.  I have verified that USB client/gadget functionality works when booted into Linux on the board.  In u-boot I have tried testing USB client with USB Mass Storage, DFU, and FastBoot and none of them seem to work.

 

Here is my USB client #defines from my config header file:

#define CONFIG_CI_UDC

#define CONFIG_USBD_HS

#define CONFIG_USB_GADGET_DUALSPEED

#define CONFIG_USB_GADGET

#define CONFIG_CMD_USB_MASS_STORAGE

#define CONFIG_USB_GADGET_MASS_STORAGE

#define CONFIG_USBDOWNLOAD_GADGET

#define CONFIG_USB_GADGET_VBUS_DRAW     2

#define CONFIG_USB_ETHER

#define CONFIG_USB_ETH_CDC

#define CONFIG_G_DNL_VENDOR_NUM         0x0525

#define CONFIG_G_DNL_PRODUCT_NUM        0xa4a5

#define CONFIG_G_DNL_MANUFACTURER       "FSL"

#define CONFIG_SYS_CACHELINE_SIZE       64

 

When I run the 'ums 0 mmc 0' command, I get the following:

UMS: disk start sector: 0x0, count: 0xe88000

and then I get an infinite spinning progress indicator.  At this point when I connect the USB cable to a Host PC, I see nothing on the host PC side (Windows or Liunx).

 

Any ideas on what I am missing to get USB client working or any hints on how to debug this further.

Outcomes