This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVMK2H USB-3 problems

We had a lot of performance problems with USB-3 on this board. The data transfer works for a while, but when there is other load or traffic on the board, it gave errors. This happens on different EVMK2H boards and with different USB-3 devices (mainly cameras)

I digged a lot, and finally found a solution. Perhaps it might help others as well.

The answer was found in the spruhj7.pdf  "Keystone || USB 3.0 User Guide"

There is the register GUCTL (0x1c12c), which has the bit USBHSTINAUTORETRYEN . When enabling the bit, the USB-3 subsystem retries a transfer after a failure.

I set this bit in the kernel source xhci-mem.c.

With this modification the USB-3 transfer works without problem for several days.