07-15-2015 09:40 AM
I have usb otg configured per http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver and configured for otg with the gadget ethernet driver. I can ping and run iperf test from host to zynq, but trying to connect via ssh or run iperf from zynq to host fails. The culprit seems to be that whatever is responsible for breaking up ethernet packets in to usb packets is not working, or not configured properly. If I set the mtu to 512 with "ifconfig usb0 mtu 512", then the ssh session is successful. Anyone have any suggestions where I should look?
07-16-2015 03:00 AM
It's not your fault, the driver is just broken.
At some point, the Xilinx-specific USB driver has been replaced with a generic "chipidea" one. The chipidea driver is broken.
Thanks for providing a workaround though..
08-05-2015 11:01 PM
Problem is fixed in Xilinx master-next branch:
2516e422d06d69e3432b081661dfab4b0a16656b: usb: chipidea: add xilinx zynq platform data
Problem appeared to be the "CI_HDRC_DISABLE_STREAMING" flag.