Dear Puneet Saxena, > This avoids cache-alignment warnings shown in console > when a usb command is entered. > > Whenever X bytes of unaligned buffer is invalidated, arm core > invalidates X + Y bytes as per the cache line size and throws > these warnings. > > Signed-off-by: Puneet Saxena <pune...@nvidia.com> > ---
I think we're almost there, hurray! :-) Though on m28evk this still has issues: => 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 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80008c80 EHCI timed out on TD - token=0x80008c80 EHCI timed out on TD - token=0x80008c80 ERROR: NOT USB_CONFIG_DESC 1 EHCI timed out on TD - token=0x80008d80 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found I have a single USB pendrive connected to the board. Also note, that if I disable the caches, it all works even with your patch applied. So I suspect there's something even more to this (maybe broken ehci_invalidate_dcache() ? ). Where did you test these patches? Thanks! Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot