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.

TDA4VM-Q1: R5F2_0 Ethernet init

Part Number: TDA4VM-Q1
Other Parts Discussed in Thread: TDA4VL

HI, Ti Teams,

    TDA4VL(j721s2)   SDK 8.4

    I can't find ENABLE_ETHFW of j721s2 in ti-processor-sdk-rtos-j721s2-evm-08_04_00_02.

   How can I init ethernet in core of R5F2_0 (and ! want use ethernet in core of A72), Do you have example of init ethernet in core of R5F2_0? 

  • HI, Ti Teams,

      Any progress?

  • Hi TOM,

    >>   I can't find ENABLE_ETHFW of j721s2 in ti-processor-sdk-rtos-j721s2-evm-08_04_00_02.
    ENABLE_ETHFW is defined based on "BUILD_ENABLE_ETHFW" flag for VisionApp Demo.

    It is for Ethernet Server & client applications, which is not supported in J721s2.

    >> How can I init ethernet in core of R5F2_0 (and ! want use ethernet in core of A72), Do you have example of init ethernet in core of R5F2_0? 
    By default CPSW2g  (main domain) in J721s2 mapped to A72 as Linux native Ethernet driver (come up as eth1 interface).

    You can refer to SDK documentation (Linux, RTOS (VisionApps Manual) for setup the environment.

    Best Regards,

    Sudheer

  • HI,  

    >> How can I init ethernet in core of R5F2_0 (and ! want use ethernet in core of A72), Do you have example of init ethernet in core of R5F2_0? 
    By default CPSW2g  (main domain) in J721s2 mapped to A72 as Linux native Ethernet driver (come up as eth1 interface).

    You can refer to SDK documentation (Linux, RTOS (VisionApps Manual) for setup the environment.

    Can you  provide the SDK documentation (Linux, RTOS (VisionApps Manual) for the ethernet,  and  do you  have example code ?

  • Hi TOM,

    ENABLE_ETHFW is only for switch as there is no switch in J721s2, it is not supported.

    J721S2 has two CPSW2g (one from main domain, one from mcu domain).
    By default both were controlled by native Linux driver (eth0 for mcu domain, eth1 for main domain)

    You can download Linux SDK and follow documents in <SDK>/docs.
    For ethernet examples refer to <SDK>/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSW2g.html

    Please let us know if any further queries.

    Best Regards,
    Sudheer

  • HI,  

       Can I use ethernet on other core ( R5F  C7x)  in main domain?  if  yes,  how can I use.

  • Hi TOM,

    >> Can I use ethernet on other core ( R5F  C7x)  in main domain?  if  yes,  how can I use.
    you can run ethernet on R5F cores using Enet example (pdk/packages/ti/drv/enet/examples/enet_lwip_example) via CCS tool.
    Please refer to Enet document from "<RTOS SDK>\pdk_j721s2_08_04_00_20\docs\userguide\j721s2\modules\".

    May I know exact request/concern of yours?


    If you are looking for Ethernet driver running on other cores than A72 means, Its not readily available in SDKs (means not part of released SDKs) we have port to other cores.



    Best Regards,
    Sudheer