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: TDA4VM: devnp-cpsw2g.so in qnx system use questions

Part Number: TDA4VM


hi expert
when i use qnx system and cpsw2g I have some questions Please help me
in psdkqa path $qnx/devnp/src ,there is no specific code to implement the driver.
then i check the file common.mk in the path $qnx/devnp/src/cpsw2g
found a lot of external references libs .and in psdkra path $/pdk*****/package/ti/drv/enet/src/phy/
have driver for the phy chip .
I think that PHY driver implemented by TI's RTOS, and QNX only operates and communicates with this driver,
The driver part of this library file “devnp-cpsw2g.so” depends on TI's code.
if i want change the phy chip i should change the code /src/phy/ to driver the new chip,The QNX does not need to be changed right?

  • Hi,

    Thanks for your query. 

    Yes, most of the above understanding is correct, except for the path to the PHY driver.

    The QNX CPSW2G DEVNP driver implementation is found in the installation path ${PSDK_RTOS}/psdkqa/qnx/devnp/src. Please note that this driver makes use of low-level drivers such as enet, enetphy, enetsoc, and others.

    The source for these low-level drivers are present in the path: ${PSDK_RTOS}/psdkqa/pdk/package/ti/drv/enet

    So if the PHY driver needs to be changed for QNX driver use, it has to be done in the path:  ${PSDK_RTOS}/psdkqa/pdk/package/ti/drv/enet/src/phy  

    Thanks.

  • hi

    thanks for your replay 

    cpsw9g  is not supported multicast support on A72  in skd7.3,

    cpsw2g for Ethernet protocol is ok

    If i change the phy of cpsw2g driver to switch and still using “devnp-cpsw2g.so” It will affect eth protocol ?

  • Hi,

    Yes, the PSDK QNX 7.3 DEVNP CPSW9G virtual driver does not support multicast support. This feature is planned to be supported in PSDK QNX 8.1 release.

    If i change the phy of cpsw2g driver to switch and still using “devnp-cpsw2g.so” It will affect eth protocol ?

    Sorry, we did not understand this question. Can you clarify again?

    Thanks.

    PS: For any new query, suggest creating a new E2E thread.

  • hi

    thanks for your replay 

    I mean, if I use switch to replace PHY 83867 in EVM board and then use devnp-cpsw2g.so, can I get full protocol support

  • Hi,

    I am not sure what you are trying to do. Please note that CPSW9G and CPSW2G are 2 different peripheral instances and hence replacing the PHY will not help.

    You can always use the devnp-cpsw2g.so driver to use the CPSW2G instance if that board has hooked up for this.

    Thanks.