<?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>S32GのトピックRe: Boot logs for debugging S32G399A-RDB3</title>
    <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953995#M10784</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239861"&gt;@GuilhermeS32G3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are welcome and thanks for your post.&lt;/P&gt;
&lt;P&gt;All right, please find the attached log for your reference with BSP41 running on RDB3. Some comments below:&lt;/P&gt;
&lt;P&gt;mii command seems work incorrect on the current BSP, the command will trigger the board to reset.&lt;/P&gt;
&lt;P&gt;Ping test is not included in the log, but it works well from my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 06:32:08 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2024-09-13T06:32:08Z</dc:date>
    <item>
      <title>Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953043#M10766</link>
      <description>&lt;P&gt;Dear NXP fellows,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently debugging our custom design board based on the S32G399A-RDB3 model.&lt;/P&gt;&lt;P&gt;For some reason, the PFE0 interface (connected through SGMII to the SerDes and the SJA1110 switch is not working as expected).&lt;/P&gt;&lt;P&gt;I would like to compare some configurations.&lt;/P&gt;&lt;P&gt;So, if possible, using the BSP41.0 and the default configuration (out-of-the box) for all the components, can you provide me the boot log of the board?&lt;/P&gt;&lt;P&gt;Besides, can you run the following commands and provide me the output?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;During U-Boot:
mii info
pri hwconfig
//After boot and root login:
ifconfig -a
dmesg | grep pfe0
dmesg | grep sja1110
ethtool pfe0
ethtool pfe1
ip link show pfe0 //Without any ethernet cable connected)
ip link show pfe0 //With Ethernet cable connected at port P2 or P3)
ifconfig pfe0 &amp;lt;IPv4 address&amp;gt;
ping &amp;lt;IPv4 address&amp;gt; //With Ethernet cable connected at port P2 or P3)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be a valuable resource for my investigation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guilherme&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 05:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953043#M10766</guid>
      <dc:creator>GuilhermeS32G3</dc:creator>
      <dc:date>2024-09-12T05:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953141#M10774</link>
      <description>&lt;P&gt;If it is not asking too much, could you please also include the output of the command &lt;STRONG&gt;mdio list&lt;/STRONG&gt; from U-boot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 06:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953141#M10774</guid>
      <dc:creator>GuilhermeS32G3</dc:creator>
      <dc:date>2024-09-12T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953995#M10784</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239861"&gt;@GuilhermeS32G3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are welcome and thanks for your post.&lt;/P&gt;
&lt;P&gt;All right, please find the attached log for your reference with BSP41 running on RDB3. Some comments below:&lt;/P&gt;
&lt;P&gt;mii command seems work incorrect on the current BSP, the command will trigger the board to reset.&lt;/P&gt;
&lt;P&gt;Ping test is not included in the log, but it works well from my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 06:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1953995#M10784</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-09-13T06:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1954573#M10785</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the log, it was certainly helpful.&lt;/P&gt;&lt;P&gt;Yes, I also have this issue with &lt;EM&gt;mii info&lt;/EM&gt; resetting the board from my side. Actually it happens when I use the default configuration, but when I modify the device tree files, it doesn't happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From you&lt;EM&gt;r ifconfig&lt;/EM&gt; output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pfe0: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt;  mtu 1500
        inet 10.192.209.48  netmask 255.255.255.0  broadcast 10.192.209.255
        inet6 fe80::204:9fff:febe:ef00  prefixlen 64  scopeid 0x20&amp;lt;link&amp;gt;
        ether 00:04:9f:be:ef:00  txqueuelen 1000  (Ethernet)
        RX packets 7  bytes 1454 (1.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 21  bytes 2248 (2.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x46000000-46ffffff&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;Can you confirm that the proper behavior of pfe0 when configured as SGMII is to have non-zero RX packets and TX packets even when no ethernet cable is connected?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found that this behavior:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[    7.765177] sja1110 spi5.1: Could not get GPIO from device tree
[    7.765196] sja1110 spi5.1: [sja1110_post_probe_upload_worker] Trying to initialize switch
[    7.766772] sja1110 spi5.1: Direct firmware load for sja1110_switch.bin failed with error -2
[    7.766785] sja1110 spi5.1: request_firmware failed with -2
[    7.766790] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
[    7.766822] sja1110 spi5.0: Direct firmware load for sja1110_uc.bin failed with error -2
[    7.766828] sja1110 spi5.0: request_firmware failed with -2&lt;/LI-CODE&gt;&lt;P&gt;Is due to the position of the J189 jumpers. In the default configuration it just loads the default firmware. When both sides are in state short, then it successfully reads the firmware files from lib/firmware/ folder, as described &lt;A title="S32G SJA1110 enable" href="https://community.nxp.com/t5/S32G/S32G-SJA1110-enable/m-p/1459285" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-14 103430.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299135iE0549675A2CA7379/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-09-14 103430.png" alt="Screenshot 2024-09-14 103430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But another question is: How can I get the file sja1110_switch.bin?&lt;/P&gt;&lt;P&gt;Following the Ethernet Enablement Guide, I am able to reconfigure the SJA1110 switch, but it only explains how to generate the flash_image.bin file that corresponds to sja1110_uc.bin. How about the other configuration file? How is it generated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guilherme&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 02:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1954573#M10785</guid>
      <dc:creator>GuilhermeS32G3</dc:creator>
      <dc:date>2024-09-14T02:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1956149#M10810</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239861"&gt;@GuilhermeS32G3&lt;/a&gt; &lt;/P&gt;
&lt;P&gt;1. If by default no cable connected to the PFE0 interface(P2 or P4), the prints are as following:&lt;/P&gt;
&lt;P&gt;pfe0: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;inet6 fe80::204:9fff:febe:ef00 prefixlen 64 scopeid 0x20&amp;lt;link&amp;gt;&lt;BR /&gt;ether 00:04:9f:be:ef:00 txqueuelen 1000 (Ethernet)&lt;BR /&gt;RX packets 0 bytes 0 (0.0 B)&lt;/P&gt;
&lt;P&gt;2. Regarding to the sja1110_switch.bin, yes, it is correct from your assumption.&lt;/P&gt;
&lt;P&gt;For SJA1110 related images, they both are generated from the SJA1110 SDK, from S32G forum perspective, the only document related with this topic is the one you mentioned, for the information that beyond this document is not included in our supporting scope.&lt;/P&gt;
&lt;P&gt;I do apologize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 03:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1956149#M10810</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-09-18T03:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Boot logs for debugging S32G399A-RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1956154#M10812</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, thank you very much for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guilherme&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 03:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Boot-logs-for-debugging-S32G399A-RDB3/m-p/1956154#M10812</guid>
      <dc:creator>GuilhermeS32G3</dc:creator>
      <dc:date>2024-09-18T03:05:22Z</dc:date>
    </item>
  </channel>
</rss>

