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.

AM3356: Switching CPSW mode at runtime

Part Number: AM3356

How to switch cpsw's dual-mac mode and switch-mode at runtime? By the post https://e2e.ti.com/support/processors/f/791/t/864127

  • Hi, 

    The cpsw mode (dual-mac or switch) can only be set at boot time. After the system is booted the mode cannot be switched.

    The default mode is dual-mac when using a TI EVM. As an example please look in the linux kernel source tree provided in the SDK for this source file arch/arm/boot/dts/am335x-evm-sk.dts.

    This link to the SDK documentation has a section on dual emac DTS entry. This DTS example shows how to add dual mac support. For switch mode using the example DTS you would remove lines that shown being added in the patch example. 

    Best Regards,

    Schuyler