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/AM4377: Want to use only one PRUETH port

Part Number: AM4377

Tool/software: Linux

Hello,

We want to use only one pru eth port on our hardware. The other port pins are used as regular emac port (separate ethernet switch is connected from RGMII interface). As I see, prueth driver in Linux kernel provided by TI-SDK (we use PROCESSOR-SDK-LINUX-RT-AM437X v05.03, Linux-RT 4.14.79) is hardcoded when both prueth ports are used. Is there any patch/implementation to handle this issue that I'm not aware of?

Best regards,

  • Hello Ali,

    You asked this question at just the right time! We added single EMAC support to the dual EMAC driver in SDK 5.3. Please take a look at the bindings documentation in your Linux SDK at Documentation/devicetree/bindings/net/ti-prueth.txt for an example of how to set the device tree node properly.

    I would expect that within a single PRU-ICSS, you ought to be able to use the non-EMAC PRU core for other things. However, that particular use case (the other PRU core being used for something else) has not been tested by TI and I am not sure what shared PRU-ICSS resources are taken up by the EMAC PRU core.

    Regards,
    Nick
  • Hello Nick,

    Thank you for your response. I handled as you said and it works good. Will let you know if I see any issue while using other PRU core for another purpose.

    Regards,

    Ali