<?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: Cannot Boot A53 Linux from M7 on RDB3 in S32G</title>
    <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1758566#M5338</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Given the steps you are mentioning, we believe you have not used the AN13750SW linker, as per our previous description, since the address you show is the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1700160282955.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250280i2DBB58A3430C4A8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1700160282955.png" alt="DanielAguirre_0-1700160282955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the one that from using the AN13750SW linker should be the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1700160313333.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250281i435C6E6B420E7F00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1700160313333.png" alt="DanielAguirre_1-1700160313333.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Still, we have changed our linker to, as per our current knowledge, be the same the one you are using (the one available under the&amp;nbsp;IPCF_Example_multi_instance_S32G399_M7_0 example). Our result is the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1700160373789.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250282i7C006C219715CE84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1700160373789.png" alt="DanielAguirre_2-1700160373789.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_3-1700160396824.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250283iA69EF6E5A3230781/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_3-1700160396824.png" alt="DanielAguirre_3-1700160396824.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_4-1700160418490.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250284iB65DF7445BEB9306/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_4-1700160418490.png" alt="DanielAguirre_4-1700160418490.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_5-1700160450719.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250285iC275BC517C12BE09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_5-1700160450719.png" alt="DanielAguirre_5-1700160450719.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this, we compile the Bootloader. Create the following IVT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_6-1700160517214.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250286iEBFD56C7DE3E7A38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_6-1700160517214.png" alt="DanielAguirre_6-1700160517214.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Where the DCD and QSPI parameters can't be seen, but are the ones provided under the following paths:&lt;/P&gt;
&lt;P&gt;C:\nxp\Integration_Reference_Examples_S32G3_2022_06\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_QuadSPI_133MHz_DDR_configuration.bin&lt;/P&gt;
&lt;P&gt;C:\nxp\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_DCD_InitSRAM.bin&lt;/P&gt;
&lt;P&gt;Since we disable HSE under the Bootloader, we do not provide any HSE-FW under the IVT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_8-1700161274443.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250288i418C0FA7AAA8FD13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_8-1700161274443.png" alt="DanielAguirre_8-1700161274443.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Our Bootloader.c file looks as follows (only modifications done to it):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_9-1700161373605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250289i88F31130BDC6F901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_9-1700161373605.png" alt="DanielAguirre_9-1700161373605.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_10-1700161391309.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250290i8A729826A7CC9867/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_10-1700161391309.png" alt="DanielAguirre_10-1700161391309.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then flash as per AN13750 explains:&lt;/P&gt;
&lt;P&gt;Erase from 0x0 to 0x400000. Then flash as follows:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;0x0 -&amp;gt; Blob of the IVT shown previously&lt;/LI&gt;
&lt;LI&gt;0x100000 -&amp;gt; fip.bin&lt;/LI&gt;
&lt;LI&gt;0x200000 -&amp;gt;&amp;nbsp;Siul2_Dio_ToggleLed_S32G399A_M7.bin (where Reset_Handler address is 0x34100010, this can be confirmed under the *.map file)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With this, we are able to see the LED (under PA_06) being toggled under uboot and see the full Linux boot (when the Linux boot starts, the LED stops toggling, since we did not reconfigure anything under the Linux DTB):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_7-1700161065567.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250287i5CB9E7C84A4ED780/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_7-1700161065567.png" alt="DanielAguirre_7-1700161065567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The full log will be attached to this post.&lt;/P&gt;
&lt;P&gt;At the end, we understand we are following your setup, as per our current understanding, and can see both cores running no problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 19:03:40 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2023-11-16T19:03:40Z</dc:date>
    <item>
      <title>Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1752775#M5231</link>
      <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;I am trying to let RDB3 board boot from M7/nor, launch linux from A53/SD_card and run multicore IPCF demos.&lt;/P&gt;&lt;P&gt;The details of the images I built are as below:&lt;BR /&gt;1) M7_0 bootloader: secure boot, Crypto and Rm are all disabled;&lt;BR /&gt;2) IVT and bt_m7_blob.bin: boot target is M7, boot device is QSPI serial flash, DCD configured, HSE not configured.&lt;BR /&gt;3) u-boot: version = bsp35.0-2020.04, board = s32g399ardb3;&lt;BR /&gt;4) kernel: version = bsp35.0-5.10.145-rt, defconfig = s32cc_defconfig;&lt;BR /&gt;5) ATF: version = bsp35.0-2.5, plat = s32g399ardb3, BL33 = /home/lhj/fsl-auto-yocto-bsp/u-boot/u-boot-nodtb.bin&lt;BR /&gt;For dtc,&amp;nbsp; current version is 1.6.0, meanwhile version 1.5.0 or 1.7.0 has been tried too.&lt;/P&gt;&lt;P&gt;The issues are:&lt;BR /&gt;&lt;STRONG&gt;1) When set board boot from NOR Flash:&lt;/STRONG&gt;&lt;BR /&gt;It cannot boot and shows below messages:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTICE: Reset status: Power-On Reset&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ERROR: Failed to check FDT integrity&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PANIC at PC : 0x0000000034306878&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) When set board boot from SD card, use the pre-built image:&lt;/STRONG&gt;&lt;BR /&gt;It can boot and launch kernel successfully.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) When set board boot from SD card, use the pre-built image and only replace the manually-built fip.s32 file in SD card:&lt;/STRONG&gt;&lt;BR /&gt;It can boot and launch kernel successfully.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) When set board boot from SD card, use the pre-built image and replace the manually-built Image or s32g399a-rdb3.dtb file in SD card:&lt;/STRONG&gt;&lt;BR /&gt;It can boot, but u-boot cannot launch the kernel, shows below messages:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;NOTICE: Reset status: Power-On Reset&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTICE: BL2: v2.5(release):bsp35.0-2.5-dirty&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTICE: BL2: Built : 15:44:39, Nov 6 2023&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTICE: BL2: Booting BL31&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;U-Boot 2020.04 (Nov 06 2023 - 14:46:46 +0800)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;CPU: NXP S32G399A rev. 1.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Model: NXP S32G399A-RDB3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;DRAM: 3.5 GiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Ignore unsupported SCMI protocol 19&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;MMC: FSL_SDHC: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Loading Environment from MMC... OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Configuring PCIe0 as RootComplex&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PCIe0: Failed to get link up&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PCI: Failed autoconfig bar 1c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;In: serial@401c8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Out: serial@401c8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Err: serial@401c8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Board revision: RDB3 Revision F&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Net: EQOS phy: rgmii @ 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Warning: eth_eqos (eth0) using random MAC address - da:09:e1:22:aa:ae&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;eth0: eth_eqosFailed to get speed of XPCS for emac1_xpcs PFE: emac0: sgmii emac1: sgmii emac2: rgmii&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Hit any key to stop autoboot: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Failed to get speed of XPCS for emac1_xpcsPFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PFE: emac0: sgmii emac1: sgmii emac2: rgmii&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;pfeng_cfg_mode_enable: Invalid PFE device&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;switch to partitions #0, OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;mmc0 is current device&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Booting from net ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Failed to get speed of XPCS for emac1_xpcs PFE: emac0: sgmii emac1: sgmii emac2: rgmii&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;eth_eqos Waiting for PHY auto negotiation to complete......... TIMEOUT !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;phy_startup() failed: -110FAILED: -110Failed to get speed of XPCS for emac1_xpcsPFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;eth_eqos Waiting for PHY auto negotiation to complete......... TIMEOUT !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;phy_startup() failed: -110FAILED: -110Failed to get speed of XPCS for emac1_xpcsPFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Bad Linux ARM64 Image magic!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;=&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It seems that the M7 bootloader works, but the kernel and device-tree I built are not correct, isn't it? If so, please tell me why and how to build them correctly.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 11:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1752775#M5231</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-06T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1752954#M5232</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the option in which your image is failing, it seems that you are possibly adding steps, due to the BSP version difference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help us confirm if not copying both image and dtb to your SD card provide a correct outcome? We are not copying both image and dtb, since we are not modifying any of these.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 17:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1752954#M5232</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-06T17:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1753103#M5236</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;If just write prebuilt image to SD card and set board boot from SD card, it will bootup successfully, and login prompt will be shown at last.&lt;/P&gt;&lt;P&gt;But it will show "failed to check FDT&amp;nbsp;integrity" if the board is set to boot from nor-flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 01:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1753103#M5236</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-07T01:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1753600#M5239</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;To verify if the fip.bin was built correctly, you could try to create an IVT with the fip.bin as the Application Bootloader and A53_0 as boot core. If there is no problem with the binary, then you should be able to boot from NOR Flash and see an output in the console.&lt;/P&gt;
&lt;P&gt;Also, we may have not explained adequately, we were referring as if in the following step:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4) When set board boot from SD card, use the pre-built image and replace the manually-built Image or s32g399a-rdb3.dtb file in SD card:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Have you tried without "&lt;STRONG&gt;replace the manually-built Image or s32g399a-rdb3.dtb&lt;/STRONG&gt;". Just modify the fip.s32 under the pre-built image, don't change any other file.&lt;/P&gt;
&lt;P&gt;Please, let us now.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1753600#M5239</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-07T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1754205#M5244</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;I made the IVT with fip.bin I built and A53_0 as boot core, and the board can boot from NOR flash and run linux kernel successfully.&lt;/P&gt;&lt;P&gt;If I only replace the fip.s32 file in SD card and keep all other images unchanged, it can boot directly from SD card, and the kernel can be launched too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 11:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1754205#M5244</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-08T11:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1754908#M5254</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;I reconfigured my M7 bootloader in EB, and a ram address overlapping mistake, pointed out by NXP Chinese FAE, was corrected. Now the u-boot is running, but error messages still come out when loading kernel:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;...&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;U-Boot 2020.04 (Nov 09 2023 - 14:33:40 +0800)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;CPU: NXP S32G399A rev. 1.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Model: NXP S32G399A-RDB3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;DRAM: 3.5 GiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Ignore unsupported SCMI protocol 19&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;MMC: FSL_SDHC: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Loading Environment from MMC... OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Configuring PCIe0 as RootComplex&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;pcie@40400000: RC/EP configuration not set correctly&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This issue exists either use prebuilt kernel/dtb image file or the images built by myself.&lt;/P&gt;&lt;P&gt;So I still need your help.&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 10:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1754908#M5254</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-09T10:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755063#M5257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;We may not have understood the log you shared, since we are not seeing any error, can you help us elaborate more on this last error?&lt;/P&gt;
&lt;P&gt;Can you help us share the whole console log?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755063#M5257</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-09T16:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755226#M5262</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;When boot from Nor flash, It hangs up after show "&lt;FONT color="#0000FF"&gt;pcie@40400000: RC/EP configuration not set correctly&lt;/FONT&gt;". I think a serious issue occurs when initializing PCIe interface. Is it possible that the issue is caused by confliction between data area used by PCIe driver and the one used by application running on M7 cores?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a contrast, when boot from SD card directly, although it shows error messages about PCIe, as shown below, the boot process can continue and the kernel can be loaded completely with login prompt.&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Configuring PCIe0 as RootComplex&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PCIe0: Failed to get link up&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PCI: Failed autoconfig bar 1c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;In: serial@401c8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Out: serial@401c8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Err: &lt;U&gt;&lt;A href="mailto:serial@401c8000" target="_blank"&gt;serial@401c8000&lt;/A&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 00:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755226#M5262</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-10T00:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755689#M5271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which application are you using under your M7 core? Are you using/configuring anything on regards of PCIe?&lt;/P&gt;
&lt;P&gt;How are you configuring your Bootloader? Your application load addresses, to better understand your setup.&lt;/P&gt;
&lt;P&gt;Since we are not able to reproduce your outcome, we would like to know how you are doing your setup.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755689#M5271</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-10T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755871#M5274</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;The applications I used under M7 core are&amp;nbsp;IPCF_Example_multi_instance_S32G399_M7_0/1 included in S32G3 software bundle.&lt;/P&gt;&lt;P&gt;The M7 BootLoader creation and configuration steps are:&lt;/P&gt;&lt;P&gt;1. Import the &lt;EM&gt;Bootloader_S32G3XX_ASR_4.4_M7&lt;/EM&gt; project from&amp;nbsp;&lt;EM&gt;Integration_Reference_Examples_S32G3_2023_02&lt;/EM&gt; folder into EB;&lt;/P&gt;&lt;P&gt;2. Load configuration, disable &lt;EM&gt;Rm&lt;/EM&gt; item and &lt;EM&gt;Rm_Init&lt;/EM&gt; item in &lt;EM&gt;SysDa&lt;/EM&gt;l plugin;&lt;/P&gt;&lt;P&gt;3. Edit &lt;EM&gt;boot sources&lt;/EM&gt; as below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_0-1699760075766.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249463i08D7FA922060911A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_0-1699760075766.png" alt="lihongjun_0-1699760075766.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The &lt;EM&gt;reset handler&lt;/EM&gt; of those boot sources are gotten respectively from the ATF building output, the&amp;nbsp;&lt;EM&gt;Reset_Handler&lt;/EM&gt; keyword of&amp;nbsp;&lt;EM&gt;IPCF_Example_multi_instance_S32G399_M7_0.map&lt;/EM&gt; file and the&amp;nbsp;&lt;EM&gt;intc_vector&lt;/EM&gt; keyword of&amp;nbsp;&lt;EM&gt;IPCF_Example_multi_instance_S32G399_M7_1.map&lt;/EM&gt; file.&lt;/P&gt;&lt;P&gt;4. Configure&amp;nbsp;Boot image fragments of &lt;EM&gt;linux_bsp_atf&lt;/EM&gt; as below:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_1-1699760376634.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249464iC0EEAB59CCCA7616/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_1-1699760376634.png" alt="lihongjun_1-1699760376634.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The load address is gotten from ATF building output.&lt;/P&gt;&lt;P&gt;5. Configure&amp;nbsp;&lt;EM&gt;Boot image fragments&lt;/EM&gt; of &lt;EM&gt;ipc_app_m7_0&lt;/EM&gt; as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_2-1699760517699.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249465i04A2CD9E34F260E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_2-1699760517699.png" alt="lihongjun_2-1699760517699.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The address is gotten from&amp;nbsp;&lt;EM&gt;int_sram_c0&lt;/EM&gt; keyword in &lt;EM&gt;IPCF_Example_multi_instance_S32G399_M7_0.map&lt;/EM&gt;.&amp;nbsp; The size of&amp;nbsp;IPCF_Example_multi_instance_S32G399_M7_0.bin file is 768KB.&lt;/P&gt;&lt;P&gt;6. Configure&amp;nbsp;&lt;EM&gt;Boot image fragments&lt;/EM&gt; of &lt;EM&gt;ipc_app_m7_1&lt;/EM&gt; as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_3-1699760588205.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249466i858E7DCFFE777FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_3-1699760588205.png" alt="lihongjun_3-1699760588205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The address is gotten from&amp;nbsp;&lt;EM&gt;int_sram_c1&lt;/EM&gt; keyword in &lt;EM&gt;IPCF_Example_multi_instance_S32G399_M7_1.map&lt;/EM&gt;.&amp;nbsp;The size of&amp;nbsp;IPCF_Example_multi_instance_S32G399_M7_1.bin file is 768KB too.&lt;/P&gt;&lt;P&gt;7. Configure the boot core as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_4-1699761418221.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249467iD330BD2F78E634FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_4-1699761418221.png" alt="lihongjun_4-1699761418221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;8. Delete project output, generate project, then build the BootLoader by calling launch.bat in Cygwin.&lt;/P&gt;&lt;P&gt;BTW, I have tried to disable secure boot, but it has no affect on board bootup result.&lt;/P&gt;&lt;P&gt;Then I burned all the images mentioned above to Nor flash, wrote prebuilt image to SD card and replaced the fip.s32 file in card.&amp;nbsp; The board can bootup OK in SD card boot mode but failed in Nor flash boot mode.&lt;/P&gt;&lt;P&gt;FYI.&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 04:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1755871#M5274</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-12T04:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756396#M5278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. For what we can see, we understand with the following configuration:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1699892602280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249604iC9314C700CF13171/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1699892602280.png" alt="DanielAguirre_0-1699892602280.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;That you are using the default linker provided under the IPCF demo for S32G399. If so, we understand that the example is not prepared for using it as per the AN13750, since the "description.txt" file describes the expected steps to be followed, which are to load the binaries directly from u-boot, not through the usage of the NXP bootloader.&lt;/P&gt;
&lt;P&gt;Since we understand you are trying the first steps to use the NXP bootloader, we recommend using the linker provided under the AN13750SW (the ones available under the IPCF examples) and modify a blink example with this linker. If done correctly, you should see a led being toggled under your RDB3 and Linux booting.&lt;/P&gt;
&lt;P&gt;Again, IPCF examples were not prepared to be used as mentioned under the AN13750, that is why AN13750SW provides the examples to be used.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 16:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756396#M5278</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-13T16:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756560#M5283</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;I will try as you told, but might this is not the root cause of the issue. Because I have tried to configure the BL only boot ATF on A53_0 core, not boot the two M7_0/1 demos, and the issue is still there.&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 01:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756560#M5283</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-14T01:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756852#M5287</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;I do not understand the meaning of "&lt;EM&gt;using the linker provided under the AN13750SW (the ones available under the IPCF examples) and modify a blink example with this linker&lt;/EM&gt;", could you please tell me the operation steps?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 10:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1756852#M5287</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-14T10:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757015#M5291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;With this we are referring to using the provided linker under the AN13750SW IPCF example, and modify the "Siul2_Dio_ToggleLed_S32G399A_M7" example's linker with it, something as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1699975820267.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249773i387CCA54E1DF7D05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1699975820267.png" alt="DanielAguirre_1-1699975820267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If done correctly, your M7_0 source should look as follows under the Bootloader:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1699975946868.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249776iB272D4E9F6A109EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1699975946868.png" alt="DanielAguirre_2-1699975946868.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will only be a first step, so that we know it is working.&lt;/P&gt;
&lt;P&gt;As for why when only the A53_0 core was enabled it didn't work, we assume that M7_0 core was left unattended (since there was no app linked to it) hence it may have cause the behavior.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 15:34:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757015#M5291</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-14T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757435#M5302</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;I have tried as what you told, and the LED toggle demo is running (I modified source code to let the blue LED flicker for 1000 times, and it works).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_0-1700034330208.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249869i9B4A53BC01D587C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_0-1700034330208.png" alt="lihongjun_0-1700034330208.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But for A53, u-boot cannot load kernel and always halt after showing "&lt;FONT color="#0000FF"&gt;pcie@40400000: RC/EP configuration not set correctly&lt;/FONT&gt;", just the same as before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there must be something wrong during ATF building. Please help me to find the reason.&lt;/P&gt;&lt;P&gt;And I have 2 more questions here:&lt;/P&gt;&lt;P&gt;1) Could you please tell me the u-boot source version, the ATF source version, the dtc version and the version of any other components/tools needed by ATF building which are used by your teams for IPCF application on RDB3 board?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) In AN13750, it says I must&amp;nbsp;apply the patch to modify the alignment of ATF. In fact I just modified the s32_common.mk file and didn't execute the patch command, because I don't know if I must do this for RDB3, and where and how to get the patch. Is it possible that this situation cause the ATF issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 09:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757435#M5302</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-15T09:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757766#M5311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. Can you help us share the Boot Sources tab of your bootloader? Since there we can see where the Reset Handler is being addresses. We do apologize.&lt;/P&gt;
&lt;P&gt;As for your output, we are unable to replicate it from our side. Can you help us understand the steps you are following on how you are generating your Linux image? With this, we can try to look into any difference with your current steps.&lt;/P&gt;
&lt;P&gt;As for your questions, the first one should be able to be answered better once we have the feedback of your current build steps. As from our side as a summary, we are using the pre-built NXP BSP provided inside a *.tgz file. We apply the path for the ATF for 64-bit alignment and then modify the fip.s32 under the pre-built image (again, the one provided inside a *.tgz file). We confirm that we can boot the image from SD card, to confirm there is no problem with our build, we verify the generated fip.bin with the creation of an IVT with A53_0 core as the boot core and if everything went right, we proceed to the bootloader. If the first 2 steps went well, we assume that any situation after that is related to our Bootloader/IVT configurations.&lt;/P&gt;
&lt;P&gt;For the second, we apply the patch only for the 64-bit alignment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757766#M5311</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-15T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757978#M5321</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;The boot source configure of my BL (ATF and LED toggle demo) is as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_0-1700097953767.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250061i940D61F38A29D270/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_0-1700097953767.png" alt="lihongjun_0-1700097953767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Boot image fragments of Linux ATF:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lihongjun_1-1700098042958.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250062i43489398CE04992C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lihongjun_1-1700098042958.png" alt="lihongjun_1-1700098042958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For Linux image building, the steps I followed are:&lt;/P&gt;&lt;P&gt;1) Download toolchain;&lt;/P&gt;&lt;P&gt;2) Build u-boot:&lt;BR /&gt;A) Clone u-boot source code, checkout to bsp35.0-2020.04;&lt;BR /&gt;B) Build u-boot:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;make CROSS_COMPILE=/home/lhj/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- s32g399ardb3_defconfig&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;make CROSS_COMPILE=/home/lhj/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;3) Build ATF&lt;BR /&gt;A) Install&amp;nbsp;libssl-dev and openssl;&lt;BR /&gt;B) Install dtc&lt;BR /&gt;C) Clone ATF source code and checkout to&amp;nbsp;bsp35.0-2.5;&lt;BR /&gt;D) Edit&amp;nbsp;s32_common.mk file set&amp;nbsp;FIP_ALIGN := 64;&lt;BR /&gt;E) Build ATF&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;make CROSS_COMPILE=/home/lhj/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=aarch64 PLAT=s32g399ardb3 BL33=/home/lhj/fsl-auto-yocto-bsp/u-boot/u-boot-nodtb.bin&lt;/FONT&gt;&lt;BR /&gt;The result of ATF building is:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Image Layout&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;IVT: Offset: 0x1000 Size: 0x100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;AppBootCode Header: Offset: 0x1200 Size: 0x40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Application: Offset: 0x1240 Size: 0x30800&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Boot Core: A53_0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;IVT Location: SD/eMMC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Load address: 0x342faf00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Entry point: 0x34302000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;4) Build Linux&lt;BR /&gt;A) Clone Kernel source code and checkout to&amp;nbsp;bsp35.0-5.10.145-rt;&lt;BR /&gt;B) Build:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;make ARCH=arm64 CROSS_COMPILE=/home/lhj/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- s32cc_defconfig&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;make ARCH=arm64 CROSS_COMPILE=/home/lhj/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;/FONT&gt;&lt;BR /&gt;Note: Although the kernel image and dtb files are generated successfully, I did not use them so far.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;5) For usage of image files:&lt;BR /&gt;A) The fip.bin file built by myself was burned to nor flash at beginning address 0x100000;&lt;BR /&gt;B) For SD card, the prebuilt image&amp;nbsp;fsl-image-auto-s32g399ardb3.sdcard (unzipped from binaries_auto_linux_bsp35.0_s32g3_pfe.tgz file included in S32G3 software bundle)&amp;nbsp; was written first, then the fip.s32 file built by myself was replaced. The Image and&amp;nbsp;s32g399a-rdb3.dtb file built by myself were not used yet.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;FYI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 02:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1757978#M5321</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-16T02:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1758566#M5338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Given the steps you are mentioning, we believe you have not used the AN13750SW linker, as per our previous description, since the address you show is the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1700160282955.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250280i2DBB58A3430C4A8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1700160282955.png" alt="DanielAguirre_0-1700160282955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the one that from using the AN13750SW linker should be the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1700160313333.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250281i435C6E6B420E7F00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1700160313333.png" alt="DanielAguirre_1-1700160313333.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Still, we have changed our linker to, as per our current knowledge, be the same the one you are using (the one available under the&amp;nbsp;IPCF_Example_multi_instance_S32G399_M7_0 example). Our result is the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1700160373789.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250282i7C006C219715CE84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1700160373789.png" alt="DanielAguirre_2-1700160373789.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_3-1700160396824.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250283iA69EF6E5A3230781/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_3-1700160396824.png" alt="DanielAguirre_3-1700160396824.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_4-1700160418490.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250284iB65DF7445BEB9306/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_4-1700160418490.png" alt="DanielAguirre_4-1700160418490.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_5-1700160450719.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250285iC275BC517C12BE09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_5-1700160450719.png" alt="DanielAguirre_5-1700160450719.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this, we compile the Bootloader. Create the following IVT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_6-1700160517214.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250286iEBFD56C7DE3E7A38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_6-1700160517214.png" alt="DanielAguirre_6-1700160517214.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Where the DCD and QSPI parameters can't be seen, but are the ones provided under the following paths:&lt;/P&gt;
&lt;P&gt;C:\nxp\Integration_Reference_Examples_S32G3_2022_06\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_QuadSPI_133MHz_DDR_configuration.bin&lt;/P&gt;
&lt;P&gt;C:\nxp\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_DCD_InitSRAM.bin&lt;/P&gt;
&lt;P&gt;Since we disable HSE under the Bootloader, we do not provide any HSE-FW under the IVT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_8-1700161274443.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250288i418C0FA7AAA8FD13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_8-1700161274443.png" alt="DanielAguirre_8-1700161274443.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Our Bootloader.c file looks as follows (only modifications done to it):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_9-1700161373605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250289i88F31130BDC6F901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_9-1700161373605.png" alt="DanielAguirre_9-1700161373605.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_10-1700161391309.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250290i8A729826A7CC9867/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_10-1700161391309.png" alt="DanielAguirre_10-1700161391309.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then flash as per AN13750 explains:&lt;/P&gt;
&lt;P&gt;Erase from 0x0 to 0x400000. Then flash as follows:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;0x0 -&amp;gt; Blob of the IVT shown previously&lt;/LI&gt;
&lt;LI&gt;0x100000 -&amp;gt; fip.bin&lt;/LI&gt;
&lt;LI&gt;0x200000 -&amp;gt;&amp;nbsp;Siul2_Dio_ToggleLed_S32G399A_M7.bin (where Reset_Handler address is 0x34100010, this can be confirmed under the *.map file)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With this, we are able to see the LED (under PA_06) being toggled under uboot and see the full Linux boot (when the Linux boot starts, the LED stops toggling, since we did not reconfigure anything under the Linux DTB):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_7-1700161065567.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250287i5CB9E7C84A4ED780/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_7-1700161065567.png" alt="DanielAguirre_7-1700161065567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The full log will be attached to this post.&lt;/P&gt;
&lt;P&gt;At the end, we understand we are following your setup, as per our current understanding, and can see both cores running no problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 19:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1758566#M5338</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-16T19:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1758743#M5342</link>
      <description>&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I checked my BL project in EB and demo project in S32DS carefully, all of them are just the same as yours. This situation confused me very much.&lt;/P&gt;&lt;P&gt;So I still think that this issue is caused by steps-missing during ATF building. Is there any modification or patch you have applied after checked out the ATF source code from git server?&amp;nbsp; Should I apply the&amp;nbsp;&lt;EM&gt;0001-fip-align-and-mmc-init.patch&lt;/EM&gt; as document AN13750 said? Or, should I apply the modification to remove the clock conflictions between M7 core and A53 core, as introduced in community topic&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/S32G-Bootloader-Customzition/ta-p/1519838" target="_blank"&gt;S32G Bootloader Customzition - NXP Community&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 03:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1758743#M5342</guid>
      <dc:creator>lihongjun</dc:creator>
      <dc:date>2023-11-17T03:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Boot A53 Linux from M7 on RDB3</title>
      <link>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1759126#M5347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As for the test I provided before, I only applied the FIP_ALIGN patch to be equal to 64. After that, I build the uboot and ATF as per AN13750 (with the branch set to BSP35.0, without the mmc patch, the platform to be RDB3 and the links to the github repository instead of CodeAurora).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1700236778895.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250444iF8CF177DEF813C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1700236778895.png" alt="DanielAguirre_0-1700236778895.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1700236805741.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/250445iC360DD7B7EF0D9ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1700236805741.png" alt="DanielAguirre_1-1700236805741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With that, we are seeing the correct outcome from our side.&lt;/P&gt;
&lt;P&gt;If you are only doing a toggle, toggle example does not configure any clocks, hence there should not be a problem. If you are configuring clocks, then all clock inits should be done under the Bootloader.&lt;/P&gt;
&lt;P&gt;Still, we can recommend also opening an NXP online ticket, if you require any code/file sharing.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 16:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Cannot-Boot-A53-Linux-from-M7-on-RDB3/m-p/1759126#M5347</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-17T16:01:08Z</dc:date>
    </item>
  </channel>
</rss>

