* [U-Boot] Adding USBH2 support for mx31pdk
@ 2011-10-21 12:54 Fabio Estevam
2011-10-21 13:28 ` Wolfgang Grandegger
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2011-10-21 12:54 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Adding USBH2 support for mx31pdk
2011-10-21 12:54 [U-Boot] Adding USBH2 support for mx31pdk Fabio Estevam
@ 2011-10-21 13:28 ` Wolfgang Grandegger
2011-10-21 14:57 ` Fabio Estevam
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Grandegger @ 2011-10-21 13:28 UTC (permalink / raw)
To: u-boot
Hi Fabio,
On 10/21/2011 02:54 PM, Fabio Estevam wrote:
> 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.
Is the IOMUX setup correct?
> Do you see anything obvious that I am missing here? Does qong board
> boot fine on your top of tree git?
The USB pins do need to be setup properly? Search for "usb" in qong.c
and have a look to
http://lxr.linux.no/#linux+v3.0.4/arch/arm/mach-imx/mach-mx31_3ds.c
Hope it helps.
Wolfgang.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-21 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 12:54 [U-Boot] Adding USBH2 support for mx31pdk Fabio Estevam
2011-10-21 13:28 ` Wolfgang Grandegger
2011-10-21 14:57 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox