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.

AM62L: Enable Switch mode and achive daisy chain

Part Number: AM62L

Hi Team,

I am using am62L EVM with ti-processor-sdk-linux-am62lxx-evm-11.00.15.05-Linux-x86-Install.bin SDK version.

We are enabling switch mode on the board to achieve daisy-chain functionality.
Our goal is for the EVM to access the internet and ping other devices, while also allowing a second Ethernet port to provide network connectivity when another device is plugged in.

However, after running the commands below, the EVM does not obtain an IP address and the switch functionality is not working as expected.

ip link set dev eth0 down
ip link set dev eth1 down

devlink dev param set platform/8000000.ethernet \
name switch_mode value true cmode runtime

ip link add name br0 type bridge
ip link set dev br0 type bridge ageing_time 1000
ip link set dev eth0 up
ip link set dev eth1 up
ip link set dev eth0 master br0
ip link set dev eth1 master br0

bridge vlan add dev br0 vid 1 self
bridge vlan add dev br0 vid 1 pvid untagged self

ip link set dev br0 up

udhcpc -i br0

Can you provide the more steps or information on this?

Thanks,

Dharmik

  • I found that ip link set dev eth0 down and ip link set dev eth1 down causing the issue.

    Remove that from the script and make unmanaged the eth1 and eth2 interface in NetworkManager, also add some delay between dev br0 up and udhcpc. it is working.

    Thanks,

    Dharmik