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.

TDA4VH-Q1: A72 linux mdio control

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Tool/software:

HI
  TDA4VH   ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05

The TDA4VH CPSW9G has two ports using SGMII without PHYs, and two RGMII ports connected to external PHYs. I need to read the PHY status via MDIO from the A72 Linux side.

Can I place all MDIO/PHY drivers entirely within Linux on the A72?

If so, how can I disable MDIO control from MCU2-0?

Are there any alternative solutions to allow Linux to manage the MDIO bus?

Can I control the RGMII ports in Linux, while controlling the SGMII USXGMII ports on MCU2-0?


Best Regards, 
Jun

  • Hi Jun,

    Can you confirm that what you are looking for is that you will control the ethernet switch from mcu2_0, but you want to control the phy from a72?

    If that is the case, The current software doesn't support it. You can customise the linux kernel kernel to just manage the phy with it without adding the MAC port, but it is not supported.

    Due to this being a very custom and non standard use-case, I don't think we will even plan to support this is future.

    Can I control the RGMII ports in Linux, while controlling the SGMII USXGMII ports on MCU2-0?

    This is also not possible with current software.

    Is there any functionality you see in linux which is missing from ethfw due to which you need to do this. More worthwhile discussion would be to add this functionality in ethfw.

    For your questions above, it is possible from hardware perspective, but TI will not own any software implementation or support for this.

    Regards,
    Tanmay

  • Hi,Tanmay
      Can I disable the mcu2-0 network and manage all network interfaces — including the PHY driver, CPSW, RGMII, and SGMII — directly within Linux?

    software-dl.ti.com/.../CPSWng-Native-Ethernet.html

    Best Regards, 
    Jun

  • Hi Jun,

    Yes. This is possible. You are also seeing the correct documentation for this.

    Regards,
    Tanmay