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.

SK-AM64: How to ssh through CPSW3G in Switch mode

Part Number: SK-AM64

We try to use ssh, ping or dhcp in switch mode. So long that we are using a software bridge in dual ethernet mode, everything is fine. But if we try to do the same in the switch mode, no ping/dhcp/ssh comes through.

  • Hi,

    Could you list the steps that you are to configure for each mode? Could you provide a diagram on how the traffic is flowing? Is the destination an ip address of the AM64 or destinations on the other side such as downstream/upstream from the AM64?

    Best Regards

    Schuyler

  • Thank you for responding Schuyler,

    I was using the systemd-networkd functionality in switch mode. 

    However as it is written in software-dl.ti.com/.../CPSW3g.html:

    "Port’s netdev devices have to be in UP state before joining the bridge. This is to avoid overwriting of bridge configuration as CPSW switch driver completely reloads its configuration when first port changes its state to UP."

    So now we have written a script which runs at start-up the following code:


    ip link set dev eth0 up
    ip link set dev eth1 up

    bridge vlan add dev eth0 vid 1 pvid untagged master
    bridge vlan add dev eth1 vid 1 pvid untagged master
    bridge vlan add dev br0 vid 1 pvid untagged self