[U-Boot] "EHCI timed out on TD" on OpenRD Ultimate
Jason
u-boot at lakedaemon.net
Fri Jul 29 18:30:46 CEST 2011
On Fri, Jul 29, 2011 at 11:51:08AM -0400, Jason wrote:
> On Thu, Jul 28, 2011 at 11:15:56PM +0400, Alexei Ozhigov wrote:
> > 2011/7/28 Jason <u-boot at lakedaemon.net>:
> > > On Thu, Jul 28, 2011 at 07:25:54PM +0400, Alexei Ozhigov wrote:
> > >> I tried running latest U-Boot on OpenRD Ultimate, and USB support
> > >> appears to be broken:
> > >>
> > >>
> > >> Marvell>> usb reset
> > >>
> > >> (Re)start USB...
> > >>
> > >> USB: Register 10011 NbrPorts 1
> > >>
> > >> USB EHCI 1.00
> > >>
> > >> scanning bus for devices... EHCI timed out on TD - token=0x80008c80
> > >>
> > >> 2 USB Device(s) found
> > >>
> > >> scanning bus for storage devices... 0 Storage Device(s) found
> > >>
> > >>
> > >> According to "git bisect" the patch which causes this behavior is
> > >> c2dd0d45540397704de9b13287417d21049d34c6 (armv7: integrate cache
> > >> maintenance support).
> > >
> > > Did you try reverting this patch?
> > >...
> > > Jason.
> > >
> >
> > Yes, after reverting USB works all right, at least reading from USB
> > flash works.
>
> Great, that's a start. I've emailed the relevant folks and am waiting
> for a response as this is a little bit out of my depth.
Ok, I figured it out (or, rather, I googled it to death). Aneesh's
patch is correct, but not all drivers are dcache aware. the
Marvell/kirkwood usb driver is one of them. See here [1] for the
explanation. All you need to do is add
#define CONFIG_SYS_DCACHE_OFF
to include/configs/openrd.h or similar. I'm testing right now on my
side. Please test on yours to see if it works.
Thanks,
Jason.
[1] http://marc.info/?l=u-boot&m=131107645915931&w=2
More information about the U-Boot
mailing list