T1024RDB 10G MAC Link configuration

cancel
Showing results for 
Search instead for 
Did you mean: 

T1024RDB 10G MAC Link configuration

687 Views
abineshselvaraj
Contributor III

Hi,

We are using T1024 SoC for our custom board development. The Lane A (SD1_RX0_P, SD1_RX0_N,SD1_TX0_P,SD1_TX0_N) of SerDes is configured in 10G XFI mode with RCW configuration [RCW[128:136] = 0x95]. This SerDes LANE has been connected with a 10G SerDes port of an Ethernet switch. 

Our requirement is to establish a fixed link (Link Up) between the SerDes interface of T1024 and Ethernet-Switch.

User-added image

1. In the switch side, the SerDes 10 is configured in 10G XFI mode and the link is forced up. Similarly, how to force the 10G MAC Link (fm1-mac1) for the T1024 SerDes. Kindly provide your suggestions.

There is no PHY between SerDes of T1024 and switch.

Thanks,

S.Abinesh.

0 Kudos
5 Replies

217 Views
alexander_yakov
NXP TechSupport
NXP TechSupport

As far as I can understand, this problem is related to PHY. Please verify PHY configuration.


Have a great day,
Alexander

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

217 Views
gouravjain
Contributor IV

Hi Alexander,

How the problem can be related to PHY?? Since there is no PHY device in between  MAC (T1040) and switch. (As Abinesh mentioned in his comment ).

pls provide our valuable suggestion.

regards,

Gourav 

0 Kudos

217 Views
abineshselvaraj
Contributor III

Hi,

Please provide your suggestions.

Thanks,

S.Abinesh.

0 Kudos

217 Views
abineshselvaraj
Contributor III

Hi,

Please find the below attached image showing the interface between T1024 and Ethernet Switch.

poncat3arch_snap.png

Observation:

The interface "fm1-mac1" is linked up using "ifconfig fm1-mac1 <ipaddr>". Then, we try to ping the switch via this interface and the "tcp-dump command" (running in T1024) shows the ARP packet sending out from this interface. But, in the SWITCH side (in SerDes 10), the RX counter is not incremented.

It is observed that, the the Tx packet counter (0xFE4E0200 + 0xC4) in T1024 MAC1 is not increment and it remains 0.

Following DTS change has been added to enable fixed link in 10G MAC,

fm1mac1: ethernet@e0000 {
phy-connection-type = "xgmii";
fixed-link = <1 1 10000 0 0>;
rcpm-wakeup = <&rcpm 0x80000000>;
};

Following DTS entry that has been removed,

xmdio0: mdio@fd000 {
xg_aqr105_phy3: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c45";
interrupts = <0 1 0 0>;
reg = <0x1>;
};
sg_2500_aqr105_phy4: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c45";
interrupts = <0 1 0 0>;
reg = <0x2>;
};
};

The register dump of T1024 SerDes Lane A in U-boot shows that, it is configured in XFI mode and connected with MAC1 interface. Please let us know, what could be issue with the MAC in sending this packets? Link is down?.

0 Kudos

217 Views
gouravjain
Contributor IV

Hi Abinesh,

R u able to ping outside network from T1024 uboot ??

I'm also facing same issue but my board has P2040 processor and connection is MAC(P2040)<--->MAC (etherenet switch VSC-7421).

pls let me know if have any lead on your issue.

regards,

Gourav

0 Kudos