ls1046a sgmii RTL8211FSI-VS-CG ping failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1046a sgmii RTL8211FSI-VS-CG ping failed

Jump to solution
560 Views
fayeting
Contributor II

Hello,

 

I'm currently working on a custom board based on LS1046ardb,below is my hardware design, RCW field SRDS_PRTCL_S1/S2 are configured as 1133/5a59.

we can read the phy registers using mdio .We are able to ping an external PC on RGMII,but we are not able to ping an external device from sgmii.

I added in the attachments my device tree, uboot log ,kernel log and RTL8211 driver, if you can give me any hint,THX.

fayeting_0-1736476450958.png

 

0 Kudos
Reply
1 Solution
536 Views
June_Lu
NXP TechSupport
NXP TechSupport

Please refer LS1046ARDB  LSDK2108 to merge new PHY as there are both RGMII and SGMII PHYs on board.

From code review, you can modify those files as below:

u-boot:

u-boot\board\freescale\ls1046ardb\eth.c

u-boot\include\configs\ls1046ardb.h

#ifdef CONFIG_NET

#define CONFIG_PHY_REALTEK

#endif

 

#ifdef CONFIG_SYS_DPAA_FMAN

#define RGMII_PHY1_ADDR 0x1

#define RGMII_PHY2_ADDR 0x2

#define SGMII_PHY1_ADDR 0x3

#define SGMII_PHY2_ADDR 0x4

 

Kernel:

dts

kernel menuconfig to enable driver of realtek phy

View solution in original post

0 Kudos
Reply
2 Replies
537 Views
June_Lu
NXP TechSupport
NXP TechSupport

Please refer LS1046ARDB  LSDK2108 to merge new PHY as there are both RGMII and SGMII PHYs on board.

From code review, you can modify those files as below:

u-boot:

u-boot\board\freescale\ls1046ardb\eth.c

u-boot\include\configs\ls1046ardb.h

#ifdef CONFIG_NET

#define CONFIG_PHY_REALTEK

#endif

 

#ifdef CONFIG_SYS_DPAA_FMAN

#define RGMII_PHY1_ADDR 0x1

#define RGMII_PHY2_ADDR 0x2

#define SGMII_PHY1_ADDR 0x3

#define SGMII_PHY2_ADDR 0x4

 

Kernel:

dts

kernel menuconfig to enable driver of realtek phy

0 Kudos
Reply
467 Views
fayeting
Contributor II

thanks june, problem solved.

0 Kudos
Reply