Other Parts Discussed in Thread: SK-AM62B
Tool/software:
Our customer is using Processor SDK Linux 10.01.10.04 with Yocto and wants to know how to use CPSW3g in HW switch mode.
The Yocto pre-built SD card image seems to use CPSW3g in Dual Emac mode (eth0 and eth1) by default.
root@am62xx-evm:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 1c:63:49:0f:61:86 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=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 9a:27:b7:50:c8:f0 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
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 10 bytes 1436 (1.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1436 (1.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The Yocto SDK user manual describes the Switch mode features available with CPSW3g,but the configurations seem to use CPSW3g in bridge mode (br0).
How to use CPSW3g in Switch mode without using bridge mode?
Best regards,
Daisuke