<?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 Re: How to  Debug Serdes SGMII in S32G</title>
    <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1683602#M4043</link>
    <description>&lt;P&gt;got it, thanks for your help.&lt;/P&gt;&lt;P&gt;Q3:How to configure static IP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have added &amp;nbsp; &amp;nbsp; 'init ifupdown'&amp;nbsp;&amp;nbsp; to&amp;nbsp; fsl_image_auto.bb“,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but it seems that it has not taken effect. I must manually execute ifconfig pfe0 up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 04:24:09 GMT</pubDate>
    <dc:creator>Coco111</dc:creator>
    <dc:date>2023-07-07T04:24:09Z</dc:date>
    <item>
      <title>How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1670689#M3682</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Platform Description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;soc:S32G399&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;bsp: bsp35&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;pfe:s32g_pfe_class.fw&amp;nbsp; (1.5.0 md5sum 0b46ffc4ee207e4334608e312dc16551)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;uboot configuration:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;=&amp;gt;setenv hwconfig "serdes0:mode=pcie,clock=ext;pcie0:mode=rc;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;serdes1&lt;/SPAN&gt;&lt;SPAN class=""&gt;:mode=xpcs0&amp;amp;xpcs1,&lt;/SPAN&gt;&lt;SPAN class=""&gt;clock=int&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class=""&gt;xpcs1_0:speed=1G&lt;/SPAN&gt;&lt;SPAN class=""&gt;;xpcs1_1:speed=1G"&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;=&amp;gt;setenv pfeng_mode "enable,sgmii,sgmii,none"&lt;/DIV&gt;&lt;DIV class=""&gt;=&amp;gt;setenv ethact eth_pfeng&lt;/DIV&gt;&lt;DIV class=""&gt;=&amp;gt;setenv pfengemac 0&lt;/DIV&gt;&lt;DIV class=""&gt;=&amp;gt;setenv gatewayip "192.168.1.1"&lt;/DIV&gt;&lt;DIV class=""&gt;=&amp;gt;setenv ipaddr "192.168.1.30"&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class=""&gt;=&amp;gt;ping 192.168.1.101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;When I use pfe0 to test ping, it's&amp;nbsp; failed &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;1. please tell me how to debug.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;2. Am I using the correct version of PFE?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-06-15 19-45-11.png" style="width: 811px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228016iB5633F6D80174967/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2023-06-15 19-45-11.png" alt="Screenshot from 2023-06-15 19-45-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-06-15 19-25-53.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228018i3EE14DBB919FA29D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2023-06-15 19-25-53.png" alt="Screenshot from 2023-06-15 19-25-53.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 01:44:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1670689#M3682</guid>
      <dc:creator>Coco111</dc:creator>
      <dc:date>2023-06-16T01:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1671269#M3699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For BSP35.0, PFE FW 1.5.0 seems to be correct.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1686936417864.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228163i398A22638B8AA816/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1686936417864.png" alt="DanielAguirre_0-1686936417864.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Which mode are you trying to configure for SerDes_1?? We understand you are trying to implement Mode 3, but we would like confirmation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, we see that there is a difference between the recommended command and the one you are using. Below will be one option of the available configurations:&lt;/P&gt;
&lt;P&gt;&lt;CODE class="java plain"&gt;=&amp;gt; setenv hwconfig&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="java string"&gt;"serdes0:mode=pcie,clock=ext;pcie0:mode=rc;serdes1:mode=xpcs0&amp;amp;xpcs1,clock=ext,fmhz=125;xpcs1_0:speed=1G;xpcs1_1:speed=1G"&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;The clock is set to "ext", as it is defined for RDB3 platform.&amp;nbsp;Also, we seem to understand that you are working with a custom board, is that correct?&lt;/P&gt;
&lt;P&gt;Also, there is an Ethernet Enablement Guide for RDB3, which could provide useful. It is available under the RDB3 product page (link:&amp;nbsp;&lt;A href="https://www.nxp.com/design/designs/s32g3-vehicle-networking-reference-design:S32G-VNP-RDB3" target="_blank"&gt;S32G3 Vehicle Networking Reference Design | NXP Semiconductors&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 17:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1671269#M3699</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-06-16T17:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1681683#M4017</link>
      <description>&lt;P&gt;Yes, on our customized board, there is no external clock. So I first modified hwconfig to use &lt;FONT color="#FF0000"&gt;int&lt;/FONT&gt; clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. I noticed a strange phenomenon that requires me to use the Uboot command: "xpcs 1 an_auto enable" in order to communicate properly. What is the reason for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I did not find any drivers corresponding to 'nxp, s32g pfe, fsl, s32g274a pfeng' in the Linux code， Please tell me why??&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-07-05 14-22-04.png" style="width: 724px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230814i994850B632A55487/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2023-07-05 14-22-04.png" alt="Screenshot from 2023-07-05 14-22-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1681683#M4017</guid>
      <dc:creator>Coco111</dc:creator>
      <dc:date>2023-07-05T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1682191#M4026</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;Once you set the clock to int, do you set its frequency??&lt;/P&gt;
&lt;P&gt;Also, below will be some comments on regards of the open points:&lt;/P&gt;
&lt;P&gt;Q1 &amp;gt;&amp;gt; &lt;SPAN&gt;1. I noticed a strange phenomenon that requires me to use the Uboot command: "xpcs 1 an_auto enable" in order to communicate properly. What is the reason for this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A1 &amp;gt;&amp;gt; The following is mentioned by the internal team:&lt;/P&gt;
&lt;P&gt;"I&lt;SPAN&gt;n u-boot, there is no way to enable AN by device-tree. So user need to enable it by command manually.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q2 &amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I did not find any drivers corresponding to 'nxp, s32g pfe, fsl, s32g274a pfeng' in the Linux code， Please tell me why??&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A2 &amp;gt;&amp;gt; PFE is provided under a different section. You can look into the following link for PFE drivers:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-auto-linux/pfeng" target="_blank" rel="noopener"&gt;GitHub - nxp-auto-linux/pfeng: PFE Ethernet accelerator&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 18:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1682191#M4026</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-05T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1683602#M4043</link>
      <description>&lt;P&gt;got it, thanks for your help.&lt;/P&gt;&lt;P&gt;Q3:How to configure static IP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have added &amp;nbsp; &amp;nbsp; 'init ifupdown'&amp;nbsp;&amp;nbsp; to&amp;nbsp; fsl_image_auto.bb“,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but it seems that it has not taken effect. I must manually execute ifconfig pfe0 up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 04:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1683602#M4043</guid>
      <dc:creator>Coco111</dc:creator>
      <dc:date>2023-07-07T04:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1684119#M4052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have added the following information under "/etc/network/interfaces" and on reboot we see the static IP being applied, image below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1688764667939.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231348iCB47885F42391B28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1688764667939.png" alt="DanielAguirre_0-1688764667939.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 21:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1684119#M4052</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-07T21:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1684306#M4057</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. I have modified the interface file, but it doesn't take effect.&lt;BR /&gt;Besides, I &lt;FONT color="#FF0000"&gt;can't see /dev/pfe0&lt;/FONT&gt; unless I execute ifup/ifconfig command.&lt;/P&gt;&lt;P&gt;I noticed that the system uses &lt;FONT color="#FF0000"&gt;systemd init&lt;/FONT&gt;, may I be missing the corresponding&lt;FONT color="#FF0000"&gt; .service configuration&lt;/FONT&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-07-10 09-08-08.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231400i855F722477FE6173/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot from 2023-07-10 09-08-08.png" alt="Screenshot from 2023-07-10 09-08-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 01:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1684306#M4057</guid>
      <dc:creator>Coco111</dc:creator>
      <dc:date>2023-07-10T01:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1685131#M4068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For systemd init, the following is told from our internal team:&lt;/P&gt;
&lt;P&gt;"BSP34.0 uses systemd to initialise the interfaces. e.g. to set pfe0 to 192.0.0.123 create the file&lt;BR /&gt;20-wired-pfe0.network in /etc/systemd/network&lt;/P&gt;
&lt;P&gt;[Match]&lt;BR /&gt;Name=pfe0&lt;/P&gt;
&lt;P&gt;[Network]&lt;BR /&gt;DHCP=no&lt;BR /&gt;Address=192.0.0.123/24&lt;BR /&gt;Gateway=192.0.0.1&lt;/P&gt;
&lt;P&gt;Note the number in the file name determines the order that the init files are applied.&lt;/P&gt;
&lt;P&gt;In general add systemd to your search terms on how to initialise something."&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 19:11:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1685131#M4068</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-10T19:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to  Debug Serdes SGMII</title>
      <link>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1685303#M4071</link>
      <description>It works, thanks</description>
      <pubDate>Tue, 11 Jul 2023 02:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-Debug-Serdes-SGMII/m-p/1685303#M4071</guid>
      <dc:creator>Coco111</dc:creator>
      <dc:date>2023-07-11T02:58:09Z</dc:date>
    </item>
  </channel>
</rss>

