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.

AM3358: CPSW switch configuration

Part Number: AM3358

Hi. there


I want to create a configuration like this:
Except for the data that comes to me, I want to send it to another port as it is.

Q1. Can I configure with the AM3358 Starter Kit?

Q2. Should I use CPSW mode or Dual Mac mode?

Q3. Please let me know if there is anything that would help me.


Regards,
Simon

  • Hi, 

    Yes you can configure this for the starter kit EVM for this topology. Thank you for the diagram by the way. You should use switch mode since to me that would be more appropriate based on the diagram you provided.

    This link in the Software developers guide shows how to add dual mac mode, here you would want to reverse what is shown, this is git diff of the patch used to add dual mac mode. Look for this section in the developer's guide: Dual EMAC Device tree entry.  

    In the device tree file for the start kit located here arch/arm/boot/dts/am335x-evmsk.dts is what the example in the developer's guide is talking about.  In the DTS example you will want to remove the lines that have plus signs and rebuild the dtbs for the board and install them in the second partition on the SD card in the /boot directory where the previous dtbs were installed.

    These are the lines that need to be removed in the DTS file:

    dual_emac;
    dual_emac_res_vlan = <1>;
    dual_emac_res_vlan = <2>;

    Best Regards,

    Schuyler