[U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

Ilya Yanok ilya.yanok at cogentembedded.com
Tue Jul 17 19:58:02 CEST 2012


Dear Marek,

On Mon, Jul 16, 2012 at 2:47 PM, Marek Vasut <marex at denx.de> wrote:

>
> > ok, I finally managed to fix it. Will post the patches in a few seconds.
>
>
> So the link I sent you was true afterall ? :)
>

Not exactly ;) Actually I've already switched to another task but when I
went to bed one idea came to my mind and I decided to try it.

What was the problem? I'll pick the patches for -next though, unless we're
> 100%
> definitelly sure they won't break anything else.
>

It looks like the controller could stop at the second QH structure (the one
we allocated on stack) on the end of transfer. So on the next function call
it started with the incorrect QH if address of qh was changed.

Regards, Ilya.


More information about the U-Boot mailing list