SGMII MAC5 & MAC6

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

SGMII MAC5 & MAC6

763 Views
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

Labels (1)
Tags (1)
0 Kudos
3 Replies

732 Views
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 Kudos

729 Views
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 Kudos

721 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please review the hardware design of your custom board.

0 Kudos