SGMII MAC5 & MAC6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SGMII MAC5 & MAC6

2,232 次查看
chc_medeiros
Contributor II

Hello!

I am currently working on a board with LS1046, I'm using the SERDES1 MAC5 and MAC6 connected each to an external phy (rtl8211f) and then connected to a RJ45.

The external phy is configured for SGMII and in my device tree I have my two macs configured, in the same way (dts file attached).

My SERDES protocol on RCW is 0x2233.

When in linux with the ethtool I see the two eth interfaces have link up when I connect the cable, but I can only ping MAC6 with success.

Does anyone ever encounter a similar problem?

Thank you for your time,

Carlos

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

2,201 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please check whether ping command can run successfully through MAC5 in u-boot.

In u-boot source code, please modify the following SGMII PHY addresses in include/configs/ls1046ardb.h according to your target board.

#define SGMII_PHY1_ADDR 0x3
#define SGMII_PHY2_ADDR 0x4

After rebuild u-boot and deploy it to the target board, please check whether it is possible to ping your PC through FM1@DTSEC5 in u-boot.

=> setenv ethact FM1@DTSEC5

=> setenv ipaddr <board_ip>

=> ping <server_ip>

0 项奖励
回复

2,198 次查看
chc_medeiros
Contributor II

Hi yipingwang,

Thank you for your reply.

I have tried that approach to get it to ping on u-boot, but I get the same behavior. I can ping   FM1@DTSEC6. But cannot ping  FM1@DTSEC5.

0 项奖励
回复

2,190 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please review the hardware design of your custom board.

0 项奖励
回复