- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
解決済! 解決策の投稿を見る。

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
thanks june, problem solved.
