ls1046a sgmii RTL8211FSI-VS-CG ping failed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ls1046a sgmii RTL8211FSI-VS-CG ping failed

ソリューションへジャンプ
895件の閲覧回数
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 件の賞賛
返信
1 解決策
871件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
872件の閲覧回数
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 件の賞賛
返信
802件の閲覧回数
fayeting
Contributor II

thanks june, problem solved.

0 件の賞賛
返信