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.

"TI CPSW Switch as Dual EMAC" missing on linux kernel - EZSDK 5.03.01.15

Hi all,

I have an issue regarding 2nd EMAC working simultaneusly on DM8148 EVM. According to TI wki (http://processors.wiki.ti.com/index.php/DM814x_AM387x_Ethernet_Switch_User_Guide#Dual_Standalone_EMAC_mode), it should be able to enable 2nd EMAC by kernel option but "TI CPSW Switch As Dual EMAC" is missing on kernel configuration. The interesting thing is that the plugin to 2nd ethernet port has been detected by kernel but it doesn't create second ethernet module such as "eth1". I think that the 2nd PHY seems to work as clone of eth0 because exact same packets come from 2nd ethernet port. 

Any suggestion welcome. 

Regards,

SK

  • This device has a built-in Gigabit switch both ports are enabled in switch mode with a single interface being presented up to the host.

    The feature you are looking for is the ability to use the switch in Dual Standalone EMAC mode.

    In the link given you see the following statement:

    10. Dual Standalone EMAC mode (Not part of any release, available in arago git users on TI814XPSP_04.01.00.07 heads)

    EZSDK 5.03.01.15 is based on PSP 04.01.00.06.
    There are no SDK available yet which would be based on PSP 04.01.00.07.

  • Hi Benoit,

    Yes, you are right. I found the last sentence "Dual Standalone EMAC mode (Not part of any release, available in arago git users on TI814XPSP_04.01.00.07 heads)" this afternoon. It works after manual patches - device.c, cpsw.c cpsw_ale.c and header files. I took the kernel code from http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary and cpsw and related module have been patched by myself.

    Thank you for the reply.

    Regards,

    SK.