10G SFP+ LS1046A

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

10G SFP+ LS1046A

Jump to solution
2,879 Views
smiller2
Contributor III
 
0 Kudos
1 Solution
2,865 Views
ufedor
NXP Employee
NXP Employee

Please try the following  line in the DTS:

fixed-link = <0 1 10000 0 0>;

View solution in original post

5 Replies
2,868 Views
smiller2
Contributor III

Attached is a text file of the boot messages to the console from power on to the start of executing the init.d  scripts.   Also attached is the linux device tree source file. (I had to rename the DTS as the system did not want to allow me to attach it with a DTS extension)   For Ethernet, the device tree is very simple as it is a fixed link with no MDIO.    It is literally a one character change from the SGMII  version that you helped me with several weeks ago.  

&fman0 {
ethernet@f0000 { /* TGEC1 */
fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
};

The previous version for 1G Ethernet using a different SFP+ Module had "sgmii" .

 

Thanks.

 

0 Kudos
2,866 Views
ufedor
NXP Employee
NXP Employee

Please try the following  line in the DTS:

fixed-link = <0 1 10000 0 0>;

2,861 Views
smiller2
Contributor III

Thank you.

After making that change,  ethtool is now reporting

Speed: 10000Mb/s

So,  I guess that third parameter is the link speed ! !    For anyone searching later, below is my full output from ethtool.

******************************************************

[root@IBIRHP ~]# ethtool fm1-mac9
Settings for fm1-mac9:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes

 

 

 

0 Kudos
2,879 Views
smiller2
Contributor III

We have a design with a single Ethernet port using a SFP+ module.   The original target was 10G copper RJ45.   However, when I had problems getting that to work,  it was downgraded to 1G for the prototype.   Now I am back working on the 10G version.     I have it booting over Ethernet using XFI  and it seems to be running normally.  The Ethernet switch it is connected to indicates a 10G connection.   However, in ethtool, it lists on a 100Mb/s connection.    Below is the output from ethtool.     Do I have to load special drivers for 10G?   Or is there additional setup in Linux to actually pass data at 10G?      Booting will fail if I insert a 1G Ethernet switch instead of the 10G,  so 10G on the wire appears to be required.  

Thanks.

[root@IBIRHP ~]# ethtool fm1-mac9
Settings for fm1-mac9:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes

0 Kudos
2,873 Views
ufedor
NXP Employee
NXP Employee

Please provide additional information as attachments:

1) U-Boot and Linux booting logs

2) DTS being used

0 Kudos