AnsweredAssumed Answered

Trying for support of phyless connection for DTSEC1 for P1023.

Question asked by sarath chandra on May 29, 2014
Latest reply on Jun 27, 2014 by sarath chandra

Hi all,

 

           I am working on a P1023 integrated board. Where DTSEC2 connected to a Ethernet PHY (that goes via Serdes-lane 03.... / lanes numbers from 0 to 3) is working fine.

  

           But DTSEC1(that goes via SerDes lane 02) to ARM based marvel switch, without any PHY connection between them.

 

          I checked switch is working fine. SerDes-lane 02 connection is good.

 

          I removed the "auto negotiation enable" inorder to support phyless connection at uboot and still we have problem.

 

-------------------------------------------------
drivers/net/tsec.c
I removed TBICR_ANEG_ENABLE option from TBICR_ANEG_ENABLE macro
The edited one looks like this.
#ifndef CONFIG_TSEC_TBICR_SETTINGS
  #define CONFIG_TSEC_TBICR_SETTINGS ( \
                TBICR_PHY_RESET \
/*              TBICR_ANEG_ENABLE     */
                | TBICR_FULL_DUPLEX \
                | TBICR_SPEED1_SET \
                )
#endif /* CONFIG_TSEC_TBICR_SETTINGS */
----------------------------------------------------

           

             Is there is any better ways to resolve the issue.

 

Regards,

Sarath

Outcomes