<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LS1046ARDB - SFP+ in SGMII protocol in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-SFP-in-SGMII-protocol/m-p/1274565#M7982</link>
    <description>&lt;P&gt;Currently I'm using a LS1046ARDB board and trying to use the SFP+ Port in SGMII protocol instead of XFI.&lt;/P&gt;&lt;P&gt;The default RCW configuration is 0x1133 which means the Lane C is configured as XFI10.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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 --&amp;gt; FM1@DTSEC9 and FM1@TGEC2 --&amp;gt; FM1@DTSEC10.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;I see the following error message from the booting log. (I have also attached the complete log.)&lt;/P&gt;&lt;PRE&gt;[ 2.844825] fsl_mac 1af0000.ethernet: of_get_mac_address(ethernet@f0000) failed&lt;BR /&gt;[ 2.852144] fsl_mac: probe of 1af0000.ethernet failed with error -22&lt;BR /&gt;[ 2.858558] fsl_mac 1af2000.ethernet: of_get_mac_address(ethernet@f2000) failed&lt;BR /&gt;[ 2.865874] fsl_mac: probe of 1af2000.ethernet failed with error -22&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;The main question now is that whether the LS1046ARDB (i.e Reference Design Board) supports change in RCW from default value 0x1133?&lt;/P&gt;&lt;P&gt;The second question is, if RCW changes are supported, whether the LS1046ARDB supports 0x2233 or are there any hardware dependencies which prevents it?&lt;/P&gt;&lt;P&gt;If RCW value 0x2233 is supported, what should be done (like modification to device tree or FMan1 Microcode, etc) to establish the ethernet links?&lt;/P&gt;&lt;P&gt;Any directions will be helpful. Thanks in advance for the support.&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 15:20:55 GMT</pubDate>
    <dc:creator>sureshh90</dc:creator>
    <dc:date>2021-05-10T15:20:55Z</dc:date>
    <item>
      <title>LS1046ARDB - SFP+ in SGMII protocol</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-SFP-in-SGMII-protocol/m-p/1274565#M7982</link>
      <description>&lt;P&gt;Currently I'm using a LS1046ARDB board and trying to use the SFP+ Port in SGMII protocol instead of XFI.&lt;/P&gt;&lt;P&gt;The default RCW configuration is 0x1133 which means the Lane C is configured as XFI10.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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 --&amp;gt; FM1@DTSEC9 and FM1@TGEC2 --&amp;gt; FM1@DTSEC10.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;I see the following error message from the booting log. (I have also attached the complete log.)&lt;/P&gt;&lt;PRE&gt;[ 2.844825] fsl_mac 1af0000.ethernet: of_get_mac_address(ethernet@f0000) failed&lt;BR /&gt;[ 2.852144] fsl_mac: probe of 1af0000.ethernet failed with error -22&lt;BR /&gt;[ 2.858558] fsl_mac 1af2000.ethernet: of_get_mac_address(ethernet@f2000) failed&lt;BR /&gt;[ 2.865874] fsl_mac: probe of 1af2000.ethernet failed with error -22&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;The main question now is that whether the LS1046ARDB (i.e Reference Design Board) supports change in RCW from default value 0x1133?&lt;/P&gt;&lt;P&gt;The second question is, if RCW changes are supported, whether the LS1046ARDB supports 0x2233 or are there any hardware dependencies which prevents it?&lt;/P&gt;&lt;P&gt;If RCW value 0x2233 is supported, what should be done (like modification to device tree or FMan1 Microcode, etc) to establish the ethernet links?&lt;/P&gt;&lt;P&gt;Any directions will be helpful. Thanks in advance for the support.&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 15:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-SFP-in-SGMII-protocol/m-p/1274565#M7982</guid>
      <dc:creator>sureshh90</dc:creator>
      <dc:date>2021-05-10T15:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB - SFP+ in SGMII protocol</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-SFP-in-SGMII-protocol/m-p/1274740#M7984</link>
      <description>&lt;P&gt;&amp;nbsp;If configuring SERDES 1 lane C as SGMII mode, a SGMII PHY is required on the target board, so&amp;nbsp;&lt;SPAN&gt;LS1046ARDB doesn't support 0x2233.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition, it's needed to modify dts to support SGMII 2.5G.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; ethernet@f2000 { /* 10GEC2 */&lt;BR /&gt;fixed-link = &amp;lt;0 1 1000 0 0&amp;gt;;&lt;BR /&gt;phy-connection-type = "xgmii";&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Modify to:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ethernet@f2000 {&amp;nbsp;&lt;BR /&gt;phy-handle = &amp;lt;&amp;amp;sgmii_phy_s1_p2&amp;gt;;&lt;BR /&gt;phy-connection-type = "sgmii-2500";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 03:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-SFP-in-SGMII-protocol/m-p/1274740#M7984</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-05-11T03:30:14Z</dc:date>
    </item>
  </channel>
</rss>

