Tool/software:
Hello,
I want to use CPSW Ethernet as a switch under Linux,How to configure to achieve this function?
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.
Tool/software:
Hello,
I want to use CPSW Ethernet as a switch under Linux,How to configure to achieve this function?
Hi,
This is the link to the section from the user guide describes setting up switch or bridge mode.
Best Regards,
Schuyler
Hi,
No need to modify the device tree file? Can I set it to switch mode through commands? Then we need to make a script to power on and start in actual use? The result we require is two Ethernet ports on the hardware, one of which is connected to the PC network port and the other is connected to other hardware. When pinging other hardware network ports through the PC, it should be able to ping normally. Through what you said Is the setting possible?
Hi,
That is correct, a DTS change is not required, only a command line sequence. Once in switch mode the other hardware would be able to ping the PC through the CPSW is configured as a switch. To make sure this meets your requirements I would recommend purchasing a TI EVM and experimenting to make sure the topology you described works as you require.
Best Regards,
Schuyler