I have a logic-PD omap-l138 development kit. I'm trying to get the USB OTG port working reliably. I can only get it to work by inserting something AFTER booting the kernel.
While running:
Connecting a PC puts it into gadget mode, using the G_ETHER driver.
Connecting a USB stick puts it in host mode. The stick is detected and mounted correctly, and performs as expected.
If i leave the USB stick in, and reset the system (full power off and on, or reset, or soft restart), the system will boot, but the USB stick will fail to initialize. A few seconds after booting, the kernel outputs the following error every 10 seconds or so:
usb 1-1: device descriptor read/64, error -110
If I leave the PC connected and reboot, the gadget initializes, but runs slowly and the performance is awful.
Re-inserting the stick or PC does not make a difference. Only removing it and doing a reboot, and then connecting the sickt or PC will fix the issue.
I've tried removing USB support from u-boot, building USB components as modules and load them later, but that did not make any difference at all. I'm using kernel 2.6.37-psp03.21.00.04
I've seen a few reports of similar issues, via Google, but I've not seen any remark on either cause or solution.