LS1046ARDB - SFP+ in SGMII protocol

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

LS1046ARDB - SFP+ in SGMII protocol

Jump to solution
950 Views
sureshh90
Contributor I

Currently I'm using a LS1046ARDB board and trying to use the SFP+ Port in SGMII protocol instead of XFI.

The default RCW configuration is 0x1133 which means the Lane C is configured as XFI10.

I read in the Reference Manual of LS1046A that a RCW value of 0x2233 configures the Lane C of the SerDes as 2.5G SGMII.10.

I tried changing the RCW value to 0x2233 and when the board starts from the SD card with the new RCW value, the ethernet port in U-Boot changes from FM1@TGEC1 --> FM1@DTSEC9 and FM1@TGEC2 --> FM1@DTSEC10.

When I boot into the linux, I dont see the port names (fm1-mac9 and fm1-mac10). I cannot also ping with fm1-mac3 (RGMII port) to my development host (The ping functioned with the default RCW 0x1133).

I see the following error message from the booting log. (I have also attached the complete log.)

[ 2.844825] fsl_mac 1af0000.ethernet: of_get_mac_address(ethernet@f0000) failed
[ 2.852144] fsl_mac: probe of 1af0000.ethernet failed with error -22
[ 2.858558] fsl_mac 1af2000.ethernet: of_get_mac_address(ethernet@f2000) failed
[ 2.865874] fsl_mac: probe of 1af2000.ethernet failed with error -22


The main question now is that whether the LS1046ARDB (i.e Reference Design Board) supports change in RCW from default value 0x1133?

The second question is, if RCW changes are supported, whether the LS1046ARDB supports 0x2233 or are there any hardware dependencies which prevents it?

If RCW value 0x2233 is supported, what should be done (like modification to device tree or FMan1 Microcode, etc) to establish the ethernet links?

Any directions will be helpful. Thanks in advance for the support. 

Tags (2)
0 Kudos
1 Solution
941 Views
yipingwang
NXP TechSupport
NXP TechSupport

 If configuring SERDES 1 lane C as SGMII mode, a SGMII PHY is required on the target board, so LS1046ARDB doesn't support 0x2233.

In addition, it's needed to modify dts to support SGMII 2.5G.

ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
};

Modify to:

ethernet@f2000 { 
phy-handle = <&sgmii_phy_s1_p2>;
phy-connection-type = "sgmii-2500";

};

View solution in original post

0 Kudos
1 Reply
942 Views
yipingwang
NXP TechSupport
NXP TechSupport

 If configuring SERDES 1 lane C as SGMII mode, a SGMII PHY is required on the target board, so LS1046ARDB doesn't support 0x2233.

In addition, it's needed to modify dts to support SGMII 2.5G.

ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
};

Modify to:

ethernet@f2000 { 
phy-handle = <&sgmii_phy_s1_p2>;
phy-connection-type = "sgmii-2500";

};

0 Kudos