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.

Am335 CDC NCM gadget issue With DMA

Hi,

We are using am335 based board and facing problem in CDC ncm gadget driver(g_ncm.ko) with DMA enabled.

We insmod g_ncm.ko and connect musb0 port to the pc(or other host ),in this case the am335 shows 

"gadget: high-speed config #1: CDC Ethernet (NCM) " and terminal is blocked forever.i am not able to access the terminal(shell promt ) and entire system blocked.

If i do ifconfig usb0 up on pc(or other host) then am335 returns the shell promt. and shows

gadget: notify speed 425984000
[  535.709136] ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  535.740936]  gadget: notify connect true

This happens only when DMA (CPPI41)is enabled for the MUSB.

Do you have any clue on  this?