on a custom board AM335x with two Ethernet Ports I am to configure the Switch so that it behaves like
a "home office" simple plug-and-play switch (Port 1 and Port 2) which has a CPU (Port 0 with one single MAC address) for service purposes.
My OS is Windows CE 7.00, BSP derived from TI EVM BSP by ADENEO.
They mimick the Linux Dual MAC mode which is useless for my purpose; we have no time to "bridge" ports high up in the application layer.
The AM335x Ethernet subsytem CPSW (or CPSW3G) 3-port-switch configuration is described in several docs, like
"Linux Core CPSW User's Guide" : http://processors.wiki.ti.com/index.php/Linux_Core_CPSW_User%27s_Guide
"AM335x CPSW (Ethernet) Driver's Guide" :http://processors.wiki.ti.com/index.php/AM335x_CPSW_%28Ethernet%29_Driver%27s_Guide
AM335x TRM: 14.4.6 Initialization and Configuration of CPSW.
Enet AM335x StarterWare: http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/starterware/latest/index_FDS.html
After reading these, I know what IOCTLs there are to configure the CPSW, and what registers there are in the AM335x for the CPSW.
My Windows CE is already running the CPSW in RMII Single MAC mode, detecting whether a link is up ether on Port 1 or 2, and ignoring the other port.
But i still am missing an example configuration for the "Ethernet 2-Port Switch Mode".
Is there a guide as WHAT I have to configure in the ALE, port settings, etc... to configure the CPSW into an Ethernet Switch?