On Tue, 2013-08-27 at 14:13 +0200, ZY - pavel wrote: > On Tue 2013-08-27 12:22:59, Matthijs Kooijman wrote: > > Hi Dinh, > > > > > Any chance anyone has a similar experience with this DWC2 driver, any > > > help will greatly appreciated. Of course, I will go back and verify the > > > initialization between the DWC2 and the old driver to see if I can spot > > > anything. > > At first glance, the symptoms (getting transaction errors on every > > transaction attempt) looks similar to what I was seeing a while back: > > > > http://comments.gmane.org/gmane.linux.usb.general/86117 Thanks for the pointer. > > > > However, in my case it seems there was some hardware issue (possibly > > even a hardware fault in a single unit) that caused it, so I doubt this > > will really help you... > > > > > > What hardware are you working with? > > Very probably Altera Socfpga Cyclone V board. Yes, I am working on the Altera Socfpga Cyclone V devkit. It appears that I did get the driver to work. The old driver had set the TX/RX FIFO to 512, so I also modified the DWC2 driver to 512, then slowly walked it up to 2560. This appears to be threshold for the TX/RX FIFO on the SOCFPGA sytem. params->enable_dynamic_fifo = 1; params->host_rx_fifo_size = 0xa00; params->host_nperio_tx_fifo_size = 0xa00; params->host_perio_tx_fifo_size = 0xa00; I still have to force the driver into Host Mode. I pushed a branch to git://git.rocketboards.org/linux-socfpga-next.git socfpga-3.10_dwc2, in case you're interested. Also, the driver does not support Split Transactions yet in DMA mode right? Thanks, Dinh > Pavel -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html