root@am64xx-evm:~# ./hsr_setup.sh hsr1 on enable 192.168.20.30 ip=192.168.20.30 if=hsr1 mac=70:ff:76:1f:3c:46 slave-a=eth1 slave-b=eth2 device=platform/icssg1-eth hw_offload=on forwarding_method= Actual changes: hsr-tag-ins-offload: on [not requested] hsr-dup-offload: on Actual changes: hsr-tag-ins-offload: on [not requested] hsr-dup-offload: on hsr-tag-ins-offload: on hsr-tag-rm-offload: on hsr-fwd-offload: on hsr-dup-offload: on hsr-tag-ins-offload: on hsr-tag-rm-offload: on hsr-fwd-offload: on hsr-dup-offload: on RTNETLINK answers: Device or resource busy not enabling cutthru [86072.067698] remoteproc remoteproc7: stopped remote processor 3008a000.txpru [86072.075769] remoteproc remoteproc14: stopped remote processor 30084000.rtu [86072.075796] remoteproc remoteproc13: stopped remote processor 300b4000.pru [86072.075810] remoteproc remoteproc8: stopped remote processor 3008c000.txpru [86072.075819] remoteproc remoteproc16: stopped remote processor 30086000.rtu [86072.075829] remoteproc remoteproc15: stopped remote processor 300b8000.pru [86072.076102] remoteproc remoteproc13: powering up 300b4000.pru [86072.083437] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-pru0-pruhsr-fw.elf, siz8 [86072.083486] remoteproc remoteproc13: unsupported resource 5 [86072.083515] remoteproc remoteproc13: remote processor 300b4000.pru is now up [86072.083560] remoteproc remoteproc14: powering up 30084000.rtu [86072.086359] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-rtu0-pruhsr-fw.elf, siz4 [86072.086418] remoteproc remoteproc14: remote processor 30084000.rtu is now up [86072.086465] remoteproc remoteproc7: powering up 3008a000.txpru [86072.087705] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-sr2-txpru0-pruhsr-fw.elf, si8 [86072.087769] remoteproc remoteproc7: remote processor 3008a000.txpru is now up [86072.087983] remoteproc remoteproc15: powering up 300b8000.pru [86072.090501] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-pru1-pruhsr-fw.elf, siz8 [86072.090546] remoteproc remoteproc15: unsupported resource 5 [86072.090573] remoteproc remoteproc15: remote processor 300b8000.pru is now up [86072.090617] remoteproc remoteproc16: powering up 30086000.rtu [86072.094348] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-rtu1-pruhsr-fw.elf, siz6 [86072.094407] remoteproc remoteproc16: remote processor 30086000.rtu is now up [86072.094452] remoteproc remoteproc8: powering up 3008c000.txpru [86072.095638] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-sr2-txpru1-pruhsr-fw.elf, si6 [86072.095699] remoteproc remoteproc8: remote processor 3008c000.txpru is now up root@am64xx-evm:~# root@am64xx-evm:~# ping 192.168.20.20 PING 192.168.20.20 (192.168.20.20) 56(84) bytes of data. 64 bytes from 192.168.20.20: icmp_seq=1 ttl=64 time=0.617 ms 64 bytes from 192.168.20.20: icmp_seq=2 ttl=64 time=0.361 ms 64 bytes from 192.168.20.20: icmp_seq=3 ttl=64 time=0.326 ms 64 bytes from 192.168.20.20: icmp_seq=4 ttl=64 time=0.344 ms 64 bytes from 192.168.20.20: icmp_seq=5 ttl=64 time=0.356 ms [86087.524864] icssg-prueth icssg1-eth eth2: Link is Down 64 bytes from 192.168.20.20: icmp_seq=6 ttl=64 time=0.391 ms 64 bytes from 192.168.20.20: icmp_seq=7 ttl=64 time=0.309 ms 64 bytes from 192.168.20.20: icmp_seq=8 ttl=64 time=0.354 ms 64 bytes from 192.168.20.20: icmp_seq=9 ttl=64 time=0.361 ms 64 bytes from 192.168.20.20: icmp_seq=10 ttl=64 time=0.345 ms 64 bytes from 192.168.20.20: icmp_seq=11 ttl=64 time=0.377 ms [86093.668804] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off 64 bytes from 192.168.20.20: icmp_seq=12 ttl=64 time=0.377 ms 64 bytes from 192.168.20.20: icmp_seq=13 ttl=64 time=0.338 ms 64 bytes from 192.168.20.20: icmp_seq=14 ttl=64 time=0.368 ms [86097.636617] icssg-prueth icssg1-eth eth1: Link is Down 64 bytes from 192.168.20.20: icmp_seq=15 ttl=64 time=0.351 ms 64 bytes from 192.168.20.20: icmp_seq=16 ttl=64 time=0.367 ms 64 bytes from 192.168.20.20: icmp_seq=17 ttl=64 time=0.344 ms 64 bytes from 192.168.20.20: icmp_seq=18 ttl=64 time=0.379 ms 64 bytes from 192.168.20.20: icmp_seq=19 ttl=64 time=0.348 ms[86101.732889] icssg-prueth icssg1-ethf 64 bytes from 192.168.20.20: icmp_seq=20 ttl=64 time=0.274 ms 64 bytes from 192.168.20.20: icmp_seq=21 ttl=64 time=0.372 ms 64 bytes from 192.168.20.20: icmp_seq=22 ttl=64 time=0.405 ms ^C --- 192.168.20.20 ping statistics --- 22 packets transmitted, 22 received, 0% packet loss, time 21514ms rtt min/avg/max/mdev = 0.274/0.366/0.617/0.061 ms root@am64xx-evm:~# root@am64xx-evm:~# root@am64xx-evm:~# root@am64xx-evm:~# root@am64xx-evm:~# ping 192.168.20.20 PING 192.168.20.20 (192.168.20.20) 56(84) bytes of data. 64 bytes from 192.168.20.20: icmp_seq=1 ttl=64 time=0.390 ms 64 bytes from 192.168.20.20: icmp_seq=2 ttl=64 time=0.404 ms 64 bytes from 192.168.20.20: icmp_seq=3 ttl=64 time=0.297 ms 64 bytes from 192.168.20.20: icmp_seq=4 ttl=64 time=0.377 ms 64 bytes from 192.168.20.20: icmp_seq=5 ttl=64 time=0.310 ms 64 bytes from 192.168.20.20: icmp_seq=6 ttl=64 time=0.358 ms 64 bytes from 192.168.20.20: icmp_seq=7 ttl=64 time=0.374 ms 64 bytes from 192.168.20.20: icmp_seq=8 ttl=64 time=0.313 ms 64 bytes from 192.168.20.20: icmp_seq=9 ttl=64 time=0.315 ms 64 bytes from 192.168.20.20: icmp_seq=10 ttl=64 time=0.358 ms 64 bytes from 192.168.20.20: icmp_seq=11 ttl=64 time=0.310 ms 64 bytes from 192.168.20.20: icmp_seq=12 ttl=64 time=0.354 ms 64 bytes from 192.168.20.20: icmp_seq=13 ttl=64 time=0.361 ms 64 bytes from 192.168.20.20: icmp_seq=14 ttl=64 time=0.338 ms 64 bytes from 192.168.20.20: icmp_seq=15 ttl=64 time=0.327 ms 64 bytes from 192.168.20.20: icmp_seq=16 ttl=64 time=0.341 ms 64 bytes from 192.168.20.20: icmp_seq=17 ttl=64 time=0.357 ms 64 bytes from 192.168.20.20: icmp_seq=18 ttl=64 time=0.356 ms 64 bytes from 192.168.20.20: icmp_seq=19 ttl=64 time=0.303 ms 64 bytes from 192.168.20.20: icmp_seq=20 ttl=64 time=0.341 ms 64 bytes from 192.168.20.20: icmp_seq=21 ttl=64 time=0.356 ms 64 bytes from 192.168.20.20: icmp_seq=22 ttl=64 time=0.322 ms 64 bytes from 192.168.20.20: icmp_seq=23 ttl=64 time=0.343 ms 64 bytes from 192.168.20.20: icmp_seq=24 ttl=64 time=0.356 ms 64 bytes from 192.168.20.20: icmp_seq=25 ttl=64 time=0.340 ms 64 bytes from 192.168.20.20: icmp_seq=26 ttl=64 time=0.344 ms 64 bytes from 192.168.20.20: icmp_seq=27 ttl=64 time=0.323 ms [86303.588613] icssg-prueth icssg1-eth eth2: Link is Down 64 bytes from 192.168.20.20: icmp_seq=28 ttl=64 time=0.361 ms 64 bytes from 192.168.20.20: icmp_seq=29 ttl=64 time=0.346 ms 64 bytes from 192.168.20.20: icmp_seq=30 ttl=64 time=0.255 ms 64 bytes from 192.168.20.20: icmp_seq=31 ttl=64 time=0.245 ms 64 bytes from 192.168.20.20: icmp_seq=32 ttl=64 time=0.265 ms [86309.604807] icssg-prueth icssg1-eth eth1: Link is Down [86309.732838] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off 64 bytes from 192.168.20.20: icmp_seq=34 ttl=64 time=0.564 ms 64 bytes from 192.168.20.20: icmp_seq=35 ttl=64 time=0.314 ms 64 bytes from 192.168.20.20: icmp_seq=36 ttl=64 time=0.344 ms [86312.676808] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off 64 bytes from 192.168.20.20: icmp_seq=37 ttl=64 time=0.320 ms 64 bytes from 192.168.20.20: icmp_seq=38 ttl=64 time=0.313 ms 64 bytes from 192.168.20.20: icmp_seq=39 ttl=64 time=0.260 ms 64 bytes from 192.168.20.20: icmp_seq=40 ttl=64 time=0.268 ms 64 bytes from 192.168.20.20: icmp_seq=41 ttl=64 time=0.255 ms 64 bytes from 192.168.20.20: icmp_seq=42 ttl=64 time=0.391 ms 64 bytes from 192.168.20.20: icmp_seq=43 ttl=64 time=0.341 ms 64 bytes from 192.168.20.20: icmp_seq=44 ttl=64 time=0.327 ms ^C --- 192.168.20.20 ping statistics --- 44 packets transmitted, 43 received, 2.27273% packet loss, time 44012ms rtt min/avg/max/mdev = 0.245/0.335/0.564/0.051 ms root@am64xx-evm:~# dmesg | grep -i icssg0 root@am64xx-evm:~# dmesg | grep -i icssg1 [ 12.310265] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: dual EMAC mode [ 17.253989] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off [ 18.148821] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off [86031.076664] icssg-prueth icssg1-eth eth1: Link is Down [86031.204832] icssg-prueth icssg1-eth eth2: Link is Down [86038.244805] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off [86039.396796] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off [86087.524864] icssg-prueth icssg1-eth eth2: Link is Down [86093.668804] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off [86097.636617] icssg-prueth icssg1-eth eth1: Link is Down [86101.732889] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off [86303.588613] icssg-prueth icssg1-eth eth2: Link is Down [86309.604807] icssg-prueth icssg1-eth eth1: Link is Down [86309.732838] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off [86312.676808] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off root@am64xx-evm:~# ifconfig eth0: flags=4099 mtu 1500 ether 1c:63:49:1a:d7:bc txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1: flags=4163 mtu 1500 inet6 fe80::72ff:76ff:fe1f:3c46 prefixlen 64 scopeid 0x20 ether 70:ff:76:1f:3c:46 txqueuelen 1000 (Ethernet) RX packets 3181 bytes 654481 (639.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 5953 bytes 1315994 (1.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth2: flags=4163 mtu 1500 inet6 fe80::72ff:76ff:fe1f:3c45 prefixlen 64 scopeid 0x20 ether 70:ff:76:1f:3c:45 txqueuelen 1000 (Ethernet) RX packets 3199 bytes 656951 (641.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 5960 bytes 1317603 (1.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 hsr1: flags=4163 mtu 1494 inet 192.168.20.30 netmask 255.255.255.0 broadcast 0.0.0.0 inet6 fe80::72ff:76ff:fe1f:3c46 prefixlen 64 scopeid 0x20 ether 70:ff:76:1f:3c:46 txqueuelen 1000 (Ethernet) RX packets 128 bytes 23976 (23.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 792 bytes 60680 (59.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 17 bytes 3186 (3.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 17 bytes 3186 (3.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@am64xx-evm:~# uname -a Linux am64xx-evm 6.6.58-rt45-ti-rt-01780-gc79d7ef3a56f-dirty #1 SMP PREEMPT_RT Wed Nov 27 14:15:26 x root@am64xx-evm:~#