<?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: BL2 Bootloader Hang in S32G</title>
    <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2180958#M15097</link>
    <description>Helllo,&lt;BR /&gt;Thank you for the reply.&lt;BR /&gt;i have tried the following ways for flashing to debug the issue :&lt;BR /&gt;1. I have erased all memories NOR &amp;amp; EMMC so that the boot can be clean as this would help in debugging the issue.&lt;BR /&gt;2. I flashed the fip.bin &amp;amp; flashimage.bin. This results in the attached screenshot from my initial post where BL2 hangs.&lt;BR /&gt;3. I flashed the dtb, fip &amp;amp; flashimage, it aso results in the same issue.&lt;BR /&gt;4. i flashed only the fip, this did not give any prints on the uart console even after reset.&lt;BR /&gt;&lt;BR /&gt;As per my understanding, our yocto output has the BL2 &amp;amp; U-Boot in the fip.&lt;BR /&gt;&lt;BR /&gt;If the DTB file is not flashed, the BL2 code would not execute. This is my understanding.</description>
    <pubDate>Tue, 07 Oct 2025 05:22:55 GMT</pubDate>
    <dc:creator>y2jsh</dc:creator>
    <dc:date>2025-10-07T05:22:55Z</dc:date>
    <item>
      <title>BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176293#M15025</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using a custom configuration of a board based on the S32G3 RDB3 board as reference with the BSP43. The build runs through but while flashing with the fip.bin-qspi &amp;amp; flashimage.bin file, the bootloader hangs after executing BL2. It is not going into the BL31 function. (See screenshot below).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-09-18_15h37_20.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358652i0B9C24536E9FF121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2025-09-18_15h37_20.png" alt="2025-09-18_15h37_20.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have applied a patch to debug. As per the log on the UART console, the entry point address for BL31 is set to 0xFF600000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the BSP43 UM, the base address for the BL31 is mentioned as 0xFF800000.&lt;/P&gt;&lt;P&gt;Could you also share the details of the BL31 &amp;amp; BL33 sizes so that we know if we need to translate addresses.&lt;/P&gt;&lt;P&gt;Require support for debugging this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 05:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176293#M15025</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-09-26T05:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176464#M15030</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;May I know the bootloader version you used? I assume that the board booted from QSPI, may I know where you put the fip.bin? on QSPI or SD?&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;
&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, 26 Sep 2025 08:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176464#M15030</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-09-26T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176477#M15031</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;1. How can i know how to check which version of the bootloader i am using?&lt;/P&gt;&lt;P&gt;2. Yes the fip.bin-qspi is flashed onto a NOR FLASH with QSPI&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 09:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2176477#M15031</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-09-26T09:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2177107#M15041</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;1. The example bootloader is usually from the GoldVIP package or&amp;nbsp;Integration_Reference_Examples package, may I know where you derived the bootloader from? from which version of the&amp;nbsp;GoldVIP(or Integration_Reference_Examples)?&lt;/P&gt;
&lt;P&gt;2. Commonly, when using BSP42 or earlier, the fip.bin would be flashed to the QSPI, but since BSP43, the boot image for A53 side is split into 2 images, then you may need to flash the&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;bl2_w_dtb.bin to the QSPI instead of fip.bin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 02:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2177107#M15041</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-09-29T02:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2178177#M15052</link>
      <description>Hello,&lt;BR /&gt;1. We are using the TF-A &amp;amp; U-Boot from the nxp git repo itself by checking out the bsp43 branch&lt;BR /&gt;2. As for the dtb.bin, we do not seperate both of them, the fip.bin-qspi also has the bl2 data. The linux log you see is coming from the fip and flashimage.bin files</description>
      <pubDate>Tue, 30 Sep 2025 11:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2178177#M15052</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-09-30T11:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2179458#M15066</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;I could understand that you boot the board solely via QSPI using BSP43.&lt;/P&gt;
&lt;P&gt;By default with BSP43, once finished the Yocto building, there would be several images generated.&lt;/P&gt;
&lt;P&gt;1. If you are willing to directly flashing the&amp;nbsp; fsl-image-flash-s32g399ardb3.flashimage&lt;SPAN class="fontstyle0"&gt;, then it includes all images that used to boot from QSPI, you may not need to flash other images that generated.(like fip.bin-qspi mentioned)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;2. If you are willing to only flashing the Bootloader part(TFA and uboot), then you may flash the following two images step by step as follows: Chapter 4.2.5 of BSP43UM for S32G3&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenyin_h_0-1759419796569.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/359329i00FDDC22743EA154/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenyin_h_0-1759419796569.png" alt="chenyin_h_0-1759419796569.png" /&gt;&lt;/span&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 15:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2179458#M15066</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-02T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2180958#M15097</link>
      <description>Helllo,&lt;BR /&gt;Thank you for the reply.&lt;BR /&gt;i have tried the following ways for flashing to debug the issue :&lt;BR /&gt;1. I have erased all memories NOR &amp;amp; EMMC so that the boot can be clean as this would help in debugging the issue.&lt;BR /&gt;2. I flashed the fip.bin &amp;amp; flashimage.bin. This results in the attached screenshot from my initial post where BL2 hangs.&lt;BR /&gt;3. I flashed the dtb, fip &amp;amp; flashimage, it aso results in the same issue.&lt;BR /&gt;4. i flashed only the fip, this did not give any prints on the uart console even after reset.&lt;BR /&gt;&lt;BR /&gt;As per my understanding, our yocto output has the BL2 &amp;amp; U-Boot in the fip.&lt;BR /&gt;&lt;BR /&gt;If the DTB file is not flashed, the BL2 code would not execute. This is my understanding.</description>
      <pubDate>Tue, 07 Oct 2025 05:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2180958#M15097</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-10-07T05:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2182535#M15117</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the delay due PTO.&lt;/P&gt;
&lt;P&gt;1. May I know if you have found the image that generated from Yocto which named&amp;nbsp;&lt;SPAN&gt;fsl-image-flash-s32g399ardb3.flashimage?(or similar name since you used custom board, not sure how you had modified the Yocto source/configuration), it could usually generated via the command bitbake&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;fsl-image-flash.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="fontstyle0"&gt;2. Only flashing the&amp;nbsp;fsl-image-flash-s32g399ardb3.flashimage to your QSPI, and then set your board to boot from QSPI, to check if could boot correctly, kindly share the log if still issues.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="fontstyle0"&gt;BR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="fontstyle0"&gt;Chenyin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 02:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2182535#M15117</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-09T02:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184522#M15162</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;1. Yes i have identified the file &amp;amp; i am flashing the same.&lt;/P&gt;&lt;P&gt;2. Yes, i did this as you requested. i am getting same logs as my initial post mentions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 05:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184522#M15162</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-10-13T05:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184687#M15167</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;I'd like to share with the application I had tested from my side, since it is too big to share in the community,&amp;nbsp;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;let me send it via mail.&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>Mon, 13 Oct 2025 08:58:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184687#M15167</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-13T08:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184692#M15168</link>
      <description>Hello,&lt;BR /&gt;Thank you. Do you need my email or any other information?</description>
      <pubDate>Mon, 13 Oct 2025 09:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184692#M15168</guid>
      <dc:creator>y2jsh</dc:creator>
      <dc:date>2025-10-13T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: BL2 Bootloader Hang</title>
      <link>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184699#M15169</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254881"&gt;@y2jsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are welcome.&lt;/P&gt;
&lt;P&gt;Commonly it is not needed, I will continue supporting your issue via the support system.&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>Mon, 13 Oct 2025 09:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BL2-Bootloader-Hang/m-p/2184699#M15169</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-13T09:07:22Z</dc:date>
    </item>
  </channel>
</rss>

