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.

[FAQ] TDA4VM: How do we avoid UDMA resource conflict issues when integrating the MCAL Eth module with other modules?

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

How do we avoid UDMA resource conflict issues when integrating the MCAL Eth module with other modules?

  • MCAL Eth module has a static configuration of UDMA resources instead depends on the UDMA driver from PDK.

    Whereas other MCAL modules still depend on PDK UDMA Driver.

    When using the Eth module and other MCAL modules integrated, there will be a resource conflict between them as there is no synchronization of resource usage among both modules.

    To avoid resource conflict, we need to modify the Eth configuration to use other resources (last or unallocated) from the RM table (refer to .sysconfig file from SDK and sysconfig tool from ti.com for the resources allocated to each core), and the PDK UDMA driver will use initial resources from the RM table.

    Below is the reference of various Eth configuration parameters with default and recommended modified values to avoid resource conflict.

    S.No

    Parameter

    J784s4

    J721s2

    J721e

    J7200

    1.        

    EthDmaTxChIntrNum

    D: 80
    M: 83

    D: 80
    M: 84

    D: 80
    M: 83

    D: 80
    M: 83

    2.        

    EthDmaRxChIntrNum

    D: 81
    M: 84

    D: 81
    M: 85

    D: 81
    M: 84

    D: 81
    M: 84

    3.        

    EthDmaTxChStartNum

    D: 40
    M: 42

    D: 36
    M: 41

    D: 30
    M: 43

    D: 28
    M: 32

    4.        

    EthDmaRxChStartNum

    D: 40
    M: 42

    D: 36
    M: 41

    D: 30
    M: 43

    D: 28
    M: 32

    5.        

    EthDmaRingStartNum

    D: 208
    M: 230

    D: 180
    M: 224

    D: 124
    M: 155

    D: 144
    M: 176

    6.        

    EthDmaFlowStartNum

    D: 84
    M: 88

    D: 80
    M: 84

    D: 60
    M: 68

    D: 60
    M: 68

    7.        

    EthDmaGlobalStartNum

    D: 16534
    M: 16540

    D: 17302
    M: 17622

    D: 16656
    M: 16911

    D: 16655
    M: 16911

    8.        

    EthDmaVirtualIntrStartNum

    D: 54
    M: 60

    D: 150
    M: 218

    D: 68
    M: 125

    D: 64
    M: 125

    9.        

    EthDmaProxyStartNum

    D: 56
    M: 58

    D: 45
    M: 58

    D: 9
    M: 57

    D: 13
    M: 29

    D: Default Configuration value
    M: Modified configuration value