<?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: Immediate runtime exception in BL31</title>
    <link>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952520#M10755</link>
    <description>&lt;P&gt;I am using the bsp40.0-2.5 release of the arm-trusted firmware. Additionally the BL2 loads BL31 at 0xff600000 but cannot find in the AT-F code base where this is called out. Simply a single define for a board that I am not using anywhere.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 19:34:37 GMT</pubDate>
    <dc:creator>minersrevolt</dc:creator>
    <dc:date>2024-09-11T19:34:37Z</dc:date>
    <item>
      <title>Immediate runtime exception in BL31</title>
      <link>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1951427#M10693</link>
      <description>&lt;P&gt;I have a custom board built around the S32G3. I am attempting to get into U-Boot. I can successfully load into BL2 and complete execution of that entire codebase. As soon as it goes into &lt;A href="https://github.com/nxp-auto-linux/arm-trusted-firmware/blob/release/bsp40.0-2.5/bl31/bl31_main.c#L105" target="_self"&gt;BL31&lt;/A&gt; I get a runtime exception&amp;nbsp;@ 0xff6000424.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Adding a breakpoint at the start of bl31_main.c the application will immediately crash and go &lt;A href="https://github.com/nxp-auto-linux/arm-trusted-firmware/blob/release/bsp40.0-2.5/bl31/aarch64/runtime_exceptions.S#L308" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Any idea why this might be the case?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 20:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1951427#M10693</guid>
      <dc:creator>minersrevolt</dc:creator>
      <dc:date>2024-09-10T20:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Immediate runtime exception in BL31</title>
      <link>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952418#M10754</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234092"&gt;@minersrevolt&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We are unable to provide full support for custom designs&amp;nbsp;through this channel. With that said, to be able to help you I need to know if you are using an specific BSP version as base to setup your system or are you using the latest components available in the&amp;nbsp;nxp-auto-linux GitHub?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can also recommend to post your problem in the&amp;nbsp;&lt;A href="https://community.arm.com/" target="_blank"&gt;arm community&lt;/A&gt;&amp;nbsp;since it is related to the arm trusted firmware.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 18:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952418#M10754</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-09-11T18:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Immediate runtime exception in BL31</title>
      <link>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952520#M10755</link>
      <description>&lt;P&gt;I am using the bsp40.0-2.5 release of the arm-trusted firmware. Additionally the BL2 loads BL31 at 0xff600000 but cannot find in the AT-F code base where this is called out. Simply a single define for a board that I am not using anywhere.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 19:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952520#M10755</guid>
      <dc:creator>minersrevolt</dc:creator>
      <dc:date>2024-09-11T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Immediate runtime exception in BL31</title>
      <link>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952570#M10756</link>
      <description>&lt;P&gt;For what I can see, the address to load the BL31 is defined in&amp;nbsp;&lt;EM&gt;bl31/bl31.ld.S&lt;/EM&gt;, as&amp;nbsp;&lt;STRONG&gt;BL31_BASE&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1726086946883.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298626i2551D81A33670EDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1726086946883.png" alt="alejandro_e_0-1726086946883.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;this comes from the following nested definitions:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;plat/nxp/s32/s32cc/include/s32cc_platform_def.h:134&lt;/EM&gt;:&lt;STRONG&gt;#define BL31_BASE (S32_PMEM_START)&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;plat/nxp/s32/s32cc/include/s32cc_platform_def.h:129:&lt;/EM&gt;&lt;STRONG&gt;#define S32_PMEM_START (S32_PMEM_END - S32_PMEM_LEN + 1)&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;plat/nxp/s32/s32cc/include/s32cc_platform_def.h:127:&lt;/EM&gt;&lt;STRONG&gt;#define S32_PMEM_END (BL33_BASE - 1)&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;plat/nxp/s32/s32cc/include/s32cc_platform_def.h:112:&lt;/EM&gt;&lt;STRONG&gt;#define BL33_BASE (S32_DDR0_END - S32_BL33_IMAGE_SIZE - \&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;plat/nxp/s32/s32cc/include/s32cc_platform_def.h:94:&lt;/EM&gt;&lt;STRONG&gt;#define S32_DDR0_END 0xffffffff&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;note that this last definition depends on &lt;STRONG&gt;S32_PLATFORM_DDR0_END&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_1-1726087186168.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298627iA651B6FDA33E72BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_1-1726087186168.png" alt="alejandro_e_1-1726087186168.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be that the top of your ram does not match address&amp;nbsp;&lt;STRONG&gt;0xffffffff&amp;nbsp;&lt;/STRONG&gt;and this is generating the problem. You could define your own&amp;nbsp;&lt;STRONG&gt;S32_PLATFORM_DDR0_END&amp;nbsp;&lt;/STRONG&gt;to match your RAM addresses, this in turn, would change&amp;nbsp;&lt;STRONG&gt;S32_DDR0_END&amp;nbsp;&lt;/STRONG&gt;as you can see in the image above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this information was useful&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 20:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Immediate-runtime-exception-in-BL31/m-p/1952570#M10756</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-09-11T20:44:51Z</dc:date>
    </item>
  </channel>
</rss>

