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.

Linux/AM3352: AM3352: Ethernet receive problem

Part Number: AM3352

Tool/software: Linux

We used the TI SDK release --software-dl.ti.com/.../index_FDS.html

We are having Am335x processor based product and we are using LINUX 3.14.26  for the Software. We are using Ethernet interface.

After booting Ethernet interface is initialized, link is established and we are able to receive and transmit packets. But after some duration Ethernet interface is not working properly. We are not able to receive packets.

We want to know the reasons that make the Ethernet receive problem ,likely that After booting Ethernet interface is initialized, link is established and we are able to receive and transmit packets. But after some duration Ethernet interface is not working properly. We are not able to receive packets. 

We debugged and found out that we are not  receiving Ethernet 'rx interrupt'.

And RX0_CP is NULL(0000).

So we are not able to understand why the RX0_CP  is becoming NULL? How can we debug this problem?

  • 0001-net-ethernet-ti-cpdma-am437x-allow-descs-to-be-plase.txt from Schuyler Patton,but wo use the CPPI DMA ,not use the DDR ,so So we are not able to understand why the RX0_CP is becoming NULL?
  • Please describe your hardware, post schematics if possible? Additionally follow this checklist and post results: processors.wiki.ti.com/.../5x_CPSW
  • Is this issue resolved? If so, please close the thread.
  • We are having Am335x processor based product and we are using LINUX 3.14.26 for the Software. We are using Ethernet interface.

    After booting Ethernet interface is initialized, link is established and we are able to receive and transmit packets. But after some duration Ethernet interface is not working properly. We are not able to receive packets.

    We want to know the reasons that make the Ethernet receive problem ,likely that After booting Ethernet interface is initialized, link is established and we are able to receive and transmit packets. But after some duration Ethernet interface is not working properly. We are not able to receive packets.

    We debugged and found out that we are not receiving Ethernet 'rx interrupt'.

    And RX0_CP is NULL(0000).


    So we are not able to understand why the RX0_CP is becoming NULL? How can we debug this problem?
    Our hardware is based on the AM3352 and phy is KSZ9031 ,and connected by the RGMII interface.
  • Hi,

    I am not sure what you are asking so I need to ask additional questions. The CPSW uses a CPDMA engine that is fed with descriptors that can be stored in internal RAM or in external memory.

    The patch you mentioned that was posted could you please provide the link you received it from?

    Is it possible for you to move to another TI SDK?

    Best Regards,
    Schuyler