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.

Starterware/AM3352: Ethernet switch issue

Part Number: AM3352


Tool/software: Starterware

Hi All,

We have designed a customized board with AM3352 processor with 1 GB DDR3 and Ethernet switch KSZ8895 Microchip. In this Ethernet chip, there are five ports. In which 4 ports are used for camera purpose and a fifth port is connected to AM3352 processor. on AM3352 is configured as MAC and 5th port on Ethernet switch is configured as PHY. MDC and MDIO are NC in the schematic.Switch is connected to MII1.

How to find the Ethernet switch status in U-Boot. We cant able to ping the ipaddress. What changes has to be done in U-Boot.

Regards,

Avinash N

  • Hi,

    I don't think you will be able to configure the PHY without MDIO interface. I am notifying the Ethernet experts to comment if this is possible. They will post here.
  • Hi Avinash,

    You have limited number of ethernet related diagnostic and management commands in u-boot unlike in Linux. You have "ping" and "dhcp" commands but there is no additional implementation of diagnostic commands in u-boot.

    BR
    Tsvetolin Shulev
  • U-Boot is architected to only use one ethernet port. Have you made any changes to u-boot to support using MII1 instead of the default MII0?

    Concerning the configuration of the external switch TI is not going to be able to support this part of the question.
  • Hi ,

    I have not made any changes in U-Boot for MII1. What changes Has to be done in U-Boot ?
    Thanks in Advance.

    Regards,
    Avinash N
  • Hi Schuyler Patton,

    We have an I2C interface between the processor and the Ethernet switch. Is there any possibility to check the status of the Ethernet . If we can able to access the Ethernet Switch, then can you provide the steps to be done in U-Boot.

    Waiting for the Response
  • Hi Biser,

    1. We have an I2C interface between the processor and the Ethernet switch. Is there any possibility to check the status of the Ethernet . If we can able to access the Ethernet Switch, then can you provide the steps to be done in U-Boot.

    2. We have made the MDC and MDIO connection Between KSZ8895MQX Microchip Ethernet switch and AM3352 Processor as per the requirement. Is there any possibility to check the status of the Ethernet . If we can able to access the Ethernet Switch, then can you provide the steps to be done in U-Boot.

    Any help or suggestion. We are in an urgent situation as there was a bulk production and hardware team is waiting for the clearance.

    Regards,
    Avinash N
  • As I mentioned before the switch is not a supported use case for TI. The only suggestion I can offer is to look if the switch has a driver in the kernel. You try looking at the kernel documentation that discusses distributed switch architecture (DSA).

    To enable the second ethernet interface you will to overwrite the active_slave field defined in the u-boot dts file that you have for your board. This is similar to how it is done in Linux shown here:

    processors.wiki.ti.com/.../Linux_Core_CPSW_User's_Guide

    The line should be something like this, this is appending to the mac node definition. Setting the active slave from 0 to 1 should enable the second interface as the primary interface:
    &mac{
    active_slave = <1>;
    };

    Please try that and let us know if it worked.