[U-Boot] [PATCH 20/20] M28EVK: Enable USB HOST support

Marek Vasut marek.vasut at gmail.com
Mon Nov 14 15:21:52 CET 2011


> Marek Vasut wrote:
> >> Marek Vasut wrote:
> >>>> Hi Marek,
> >>>> 
> >>>> u-boot-v2011.09 doesn't support for imx28. I need complete support
> >>>> patch for mx28. where can i get those patches?
> >>>> 
> >>>> for which version of u-boot this patches supports..?
> >>>> 
> >>>> 
> >>>> Regards,
> >>>> Manoj
> >>> 
> >>> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary
> >>> 
> >>> M
> >> 
> >> Thanks Marek,
> >> Patches applied..
> >> on usb start command i'm getting "scanning bus for devices... New Device
> >> 0" then its freezes after  getting the debug message
> >> "enabling power on all ports
> >> usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1
> >> length 0x0"
> >> can u help me on this further?
> >> 
> >> Regards,
> >> Manoj
> > 
> > There is a mail with subject "[U-Boot] [PATCH] GCC4.6: Fix common/usb.c
> > on xscale" in uboot ML ... apply the patch and retry. What GCC do you
> > use?
> > 
> > M
> 
> Hello Marek,
> 
> I'm using
> u-boot version : u-boot-imx
> 
> gcc version:4.3.3
> 
> When i try to add this Patch "[U-Boot] [PATCH] GCC4.6: Fix common/usb.c
> on xscale"
> I'm getting:
> patching file usb.c
> Hunk #1 FAILED at 263.
> Hunk #2 FAILED at 313.
> 2 out of 2 hunks FAILED -- saving rejects to file usb.c.rej
> 
> then i made some changes for common/usb.c as per the patch,even it gets
> freezes after printing the debug msg.
> "enabling power on all ports
> usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1
> length 0x0"
> 
> Regards,
> Manoj

Are you using top-of-the-tree u-boot-imx/master? You shouldn't need to apply any 
patches. That'd explain why you're getting errors applying the last USB patch I 
suggested.

Also, please try ELDK5.0 toolchain.

M


More information about the U-Boot mailing list