Hi,
I am working with Netra Board (TI8168evm).
In this USB Host Controller MUSB has broken internal DMA, so using PIO Mode with it.
As this SOC also provide EDMA, so if its possible to use EDMA with MUSB Host Controller ?
Thanks
Ashish
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.
Hi,
I am working with Netra Board (TI8168evm).
In this USB Host Controller MUSB has broken internal DMA, so using PIO Mode with it.
As this SOC also provide EDMA, so if its possible to use EDMA with MUSB Host Controller ?
Thanks
Ashish
ashish yadav said:I am using PSP 04.00.00.10 .
I can recommend to switch to the latest ti81xx linux kernel (PSP 04.04.00.02 + several patches):
If you can not make direct replacement of the old kernel with the new kernel, you can patch your old kernel with all the USB related patches.
See also the below wiki page:
ashish yadav said:Could you please let me know in which PSP release cppi41 DMA got fix ?
I can not say which release exactly and whether it fix all the CPPI DMA related issues. There are silicon errata advisories still valid for DM816x USB CPPI DMA:
Advisory 2.1.16 - Spurious RX_SOP_STARVATION Interrupt on the First CPPI DMA RX Descriptor Following USB Module Reset
Advisory 2.1.99 - USB: CPU Gets Stale Receive Data From the Data Buffer Located in DDR Memory
Advisory 2.1.100 - USB: In Generic RNDIS CPPI DMA Mode, Receive DMA may Flag Premature Completion Under Certain Conditions
Advisory 2.1.101 - USB: Data May be Lost When USB Subsystem is Operating in DMA Mode and More Than One Endpoint is Transferring Data
Advisory 2.1.102 — USB: DMA Hung up in Frequent Teardowns
Advisory 2.1.103 — USB: Missed PID and CRC Error Interrupt Causes
Advisory 2.1.104 — USB: CPU Gets Premature TX Transfer Completion Interrupt
ashish yadav said:Also, If its possible to use external EDMA rather than internal cppi41 DMA in MUSB ?
Regards,
Pavel
ashish yadav said:If cppi41 DMA issue in MUSB was Hardware issue or software issue
Which issue exactly? All the issues described in the DM816x Silicon errata are HW issues.
ashish yadav said:If this was Hardware issue , then in which silicon version it got fix ?
All the advisories I have mentioned in my previous post are valid for the latest 2.1 silicon revision.
Regards,
Pavel
Ashish,
ashish yadav said:So if any patches are provided for errata issues or just advisory ?
There are no special patches to handle these errata issues, the user code should align with the advisories.
Regards,
Pavel