[U-Boot] Adding USBH2 support for mx31pdk

Fabio Estevam festevam at gmail.com
Fri Oct 21 14:54:58 CEST 2011


Hi Stefano,

I am trying to add USBH2 support for MX31PDK and I am using qong code
as reference.

When I add the USB related defines in mx31pdk.h (same as qong.h) :

/* USB */
#define CONFIG_CMD_USB
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_EHCI			/* Enable EHCI USB support */
#define CONFIG_USB_EHCI_MXC
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_MXC_USB_PORT	2
#define CONFIG_MXC_USB_PORTSC	(MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT)
#define CONFIG_MXC_USB_FLAGS	MXC_EHCI_POWER_PINS_ENABLED
#define CONFIG_EHCI_IS_TDI
#define CONFIG_USB_STORAGE
#define CONFIG_DOS_PARTITION
#define CONFIG_SUPPORT_VFAT
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FAT
#endif /* CONFIG_CMD_USB */

, the mx31pdk board no longer boots.

I also took care of the USBH2 IOMUX, but even without the IOMUX the
board does not boot.

Do you see anything obvious that I am missing here? Does qong board
boot fine on your top of tree git?

Thanks,

Fabio Estevam


More information about the U-Boot mailing list