On Sunday, December 15, 2013 at 07:56:35 PM, Sergei Ianovich wrote: > On Sun, 2013-12-15 at 16:06 +0100, Marek Vasut wrote: > > On Sunday, December 15, 2013 at 10:57:55 AM, Sergei Ianovich wrote: > > > After a clean rebuild, U-Boot with both OF_LIBFDT and CMD_USB, but > > > without SYS_LONGHELP is under 256 kiB. I won't disable USB. Instead, > > > I'll try to make it actually work. > > While testing, I've run into an issue with USB support. If I do > > $ usb start > > in U-Boot, not only it doesn't see an attached flash storage, but also > it break USB in the kernel. If I just boot the kernel from flash or > tftp, USB works in the kernel.
The OHCI controller is not properly shut down before booting kernel, that's what I'd check first. > I've verified that my usb_board_init() is exactly the same sequence of > commands, that the kernel uses to initialize the stack up to > usb_add_hcd() at linux/drivers/usb/host/ohci-pxa27x.c:445 > > I suspect the issue is in U-Boot OHCI PXA driver. Are you aware of any? No, not really. I didn't use the OHCI stuff for a while. > It probably makes sense to disable USB at LP-8x4 for now. Can you maybe try debugging it please ? Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot