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.

Configuring Switch section of AM335x like a standard 3 Port Switch

Other Parts Discussed in Thread: AM3356

PROJECT

We are working on a product with a custom board containing an AM3356 with two external Ethernet Ports where we are trying to configure the Ethernet switch so it behaves like a simple 3 Port plug-and-play switch (Port 1 and Port 2) which has a CPU (Port 0 with one single MAC address) for service purposes. 

This is similar to the “Configuring AM335x CPSW like a standard Ethernet Switch with CPU port” posting Anja Zoelgert presented a while back for a Windows CE 7.00 application.

Our application runs in the following environment:

The kernel we are using (3.14):

 # git clone http://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git tikernel

# cd tikernel

               # git branch -r

# git checkout origin/ti-linux-3.14.y -B bvwelch

 And the driver files we are looking at:

 .../build/linux-custom/drivers/net/ethernet/ti/cpsw.c

.../build/linux-custom/drivers/net/ethernet/ti/cpsw_ale.c

 And the link we are referencing:

                 http://processors.wiki.ti.com/index.php/Linux_Core_CPSW_User's_Guide

 

Our Embedded Software Engineer has been working from the TI reference documents, data sheets, and WIKI sites, and various software examples, but the only working ports on our design so far are 0 and 1.

A 3 Port switch is the final function in software for our board and we are looking for some insight as to setting up for a simple 3 port switch operation.  There does not seem to be a clear set of instructions on how to get to a basic layer 2 switch in LINUX setup in the AM3356.

I and our Software Engineer have done some searching on the E2E Community boards here and have not seen what will get us there.

And I have been reference to an internal Linux group by a TI applications person from another product group.  So feed back by that group would be appreciated

Thanks,

David Bailey