<?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: S32R45 M7 bootloader downloads u-boot image from flash and activates A53 in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472340#M14316</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even in NXP EVB with the default fip.s32 image the ethernet 1 and pcie fail. This is expected if the SGMII phy is not initialized nor connected to&amp;nbsp; GMAC1 and PCIe is expected to fail in case there aren't any PCIe devices connected so the link works succesfully.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this behavior is expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 16:30:42 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2022-06-10T16:30:42Z</dc:date>
    <item>
      <title>S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1462947#M14133</link>
      <description>&lt;P&gt;Following is the scenario we want:&lt;/P&gt;&lt;P&gt;** Flash Layout for boot **&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Exported Blob&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;(IVT + QSPI reconf + DCD + HSE + Application bootloader(M7)) |&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Application for M7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;u-boot for A53&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1. Application bootloader downloads Application for M7 and u-boot for A53&lt;/P&gt;&lt;P&gt;2. Application bootloader activates A53 and M7&lt;/P&gt;&lt;P&gt;3. u-boot in A53 configures hardware and downloads kernel for A53 from DRAM&lt;/P&gt;&lt;P&gt;4. u-boot jumps to kernel for A53&lt;/P&gt;&lt;P&gt;Is this possible scenario for S32R45? If so, can we make u-boot only image without IVT+QSPI reconf+DCD+HSE? What I found in mamual is the way of makeing u-boot image with them. Otherwise, Are there any other guided scenario for M7 bootloader to activate A53 in NXP?&lt;/P&gt;&lt;P&gt;Attached image is the S32DS bootsource configuration for better understanding&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bootsource_m7.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180792i1E290E3E2778A1EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bootsource_m7.jpg" alt="bootsource_m7.jpg" /&gt;&lt;/span&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bootsource_a53.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180793iAF5596F576DF7298/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bootsource_a53.jpg" alt="bootsource_a53.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1462947#M14133</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-05-24T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1463324#M14140</link>
      <description>&lt;P&gt;Hello ssong,&lt;/P&gt;
&lt;P&gt;Yes this is a valid boot scenario for S32R45. The NXP BootROM FW will read and process the [&lt;SPAN&gt;IVT + QSPI reconf + DCD + HSE] then&lt;/SPAN&gt; boot the [Application bootloader (M7)] which can load the [&lt;SPAN&gt;Application for M7] and then [u-boot for A53].&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't understand this question: "can we make u-boot only image without IVT+QSPI reconf+DCD+HSE?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;[IVT + QSPI reconf + DCD + HSE] is needed only for the primary bootloader (or application) which is loaded by the NXP BootROM FW. For the scenario you describe it is not necessary to pre-pend these structures to the u-boot image because it is your [application bootloader (M7)] that will perform the loading of u-boot, not the BootROM FW.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can also configure to have the BootROM FW target the A53 as boot core and boot u-boot directly, it does not need to be the M7 core that starts first. Is this what you mean? The S32R45 Linux BSP boots like this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1463324#M14140</guid>
      <dc:creator>GaryRK</dc:creator>
      <dc:date>2022-05-24T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1464665#M14170</link>
      <description>&lt;P&gt;After we build u-boot image, we got the binary image which contains not only u-boot but also IVT+QSPI reconf + DCD +HSE.&lt;/P&gt;&lt;P&gt;u-boot should be the secondary bootloader that operate in A53 so that it doesn't need to contain IVT + QSPI reconf, etc&lt;/P&gt;&lt;P&gt;What we got in Linux BSP which is provided from NXP, it contains a file [fip.s32-qspi] It also contains u-boot plus IVT+QSPI reconf + DCD + HSE&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 09:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1464665#M14170</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-05-26T09:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1464941#M14176</link>
      <description>&lt;P&gt;Okay I understand now. It's correct that u-boot as the secondary bootloader does not need the BootROM FW data structures pre-pended so we can use the u-boot binary directly.&lt;/P&gt;&lt;P&gt;To get the u-boot binary you will need to build u-boot from source using the instructions in the BSP user manual, latest version is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Linux BSP 32.0 User Manual for S32R45 platforms&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.2.2 Setting up and building U-Boot bootloader&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then you will find u-boot.bin in the build output files - use this file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 17:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1464941#M14176</guid>
      <dc:creator>GaryRK</dc:creator>
      <dc:date>2022-05-26T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1465439#M14185</link>
      <description>&lt;P&gt;Thanks, we got u-boot.bin as follows. It seems that it has only u-boot image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_0-1653640738758.png" style="width: 482px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181474iC0E786C76969ECEA/image-dimensions/482x374?v=v2" width="482" height="374" role="button" title="ssong_0-1653640738758.png" alt="ssong_0-1653640738758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We need to locate it in SRAM, especially on 0x34300000. The application bootloader(m7) copies u-boot.bin from external flash to SRAM(0x34300000) and A53 core starts with it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_1-1653641087622.png" style="width: 593px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181475iEDBDFAB76E0A5F2F/image-dimensions/593x360?v=v2" width="593" height="360" role="button" title="ssong_1-1653641087622.png" alt="ssong_1-1653641087622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However u-boot.bin seems to be built to start with 0xffaa0000 based on map file. Could we change the start address of u-boot.bin to 0x34000000? If so, how can we do it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_2-1653641195676.png" style="width: 526px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181476iDC2076E9BE395910/image-dimensions/526x259?v=v2" width="526" height="259" role="button" title="ssong_2-1653641195676.png" alt="ssong_2-1653641195676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 08:49:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1465439#M14185</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-05-27T08:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1466121#M14195</link>
      <description>&lt;P&gt;u-boot.bin's start address changed with the modification of&amp;nbsp;board\freescale\s32-gen1\Kconfig's SYS_DATA_BASE default value from 0xffaa0000 to 0x34300000&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_0-1653897767282.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181635i86998A858CD9C992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssong_0-1653897767282.png" alt="ssong_0-1653897767282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please confirm this way of modification is correct.&lt;/P&gt;&lt;P&gt;Do we have to change SYS_DATA_BASE accordingly?. It seems that we don't need to change it as we analyze the .map file.&lt;/P&gt;&lt;P&gt;Next step is that u-boot, located in SRAM(0x34300000), loads linux kernel and shell prompt should be appeared. We built Linux kernel based on [2.2.3 Setting up and building the Linux kernel]. What could be the next step? Kernel image can't be copied to sram because it is bigger than SRAM total space. It might be copied to SD card and u-boot loads it into DRAM. Please guide us to make this done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 08:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1466121#M14195</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-05-30T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1466382#M14199</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you have to modify both macros to change the starting point of uboot. This can be achieved in the menuconfig as shown below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandrolozan1_0-1653932358676.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/181699iA940041CCDADC368/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandrolozan1_0-1653932358676.png" alt="alejandrolozan1_0-1653932358676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 17:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1466382#M14199</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-05-30T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1468492#M14235</link>
      <description>&lt;P&gt;Even though SYS_TEXT_BASE, SYS_DATA_BASE changed from DRAM to SRAM, u-boot seems to access to DRAM, especially 0xD00000000 on function(write_msg_to_smt) as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_0-1654219515443.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182150i79F6C482E9B2BB77/image-size/large?v=v2&amp;amp;px=999" role="button" title="ssong_0-1654219515443.png" alt="ssong_0-1654219515443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;shm_buf-&amp;gt;buf is the pointer to 0xD0000000 which has not been initialized in M7 bootloader.&lt;/P&gt;&lt;P&gt;There seems to be two ways for this:&lt;/P&gt;&lt;P&gt;1) M7 bootloader initializes external DRAM&lt;/P&gt;&lt;P&gt;2) u-boot initializes external DRAM before access to it.&lt;/P&gt;&lt;P&gt;I tried way 1) with DDR tool in S32Ds, but failed. Could you give us the example project for it?&lt;/P&gt;&lt;P&gt;Could you let me know the way of initializing DRAM in u-boot?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 01:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1468492#M14235</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-06-03T01:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1468721#M14236</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In latest BSP (BSP32) the DDR initialization was moved to the ATF. U-boot does not perform this initialization anymore.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact, if you want to use BSP32 I would suggest you to start taking a look at ATF first.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The default and quite general boot process is this :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;ATF is loaded in SRAM and starts execution&lt;/LI&gt;
&lt;LI&gt;Initializes DDR and moves Uboot to DDR&lt;/LI&gt;
&lt;LI&gt;ATF releases control to U-Boot.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If you want the M7 to act as the first load stage, I would suggest you execute this bootloader in a SRAM section different from the ATF. If your bootloader is not too large, maybe you can fit bootloader and ATF+Uboot (fip.s32) in the SRAM. Of course you have to be also aware of the clock changes as the ATF manages this.&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 12:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1468721#M14236</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-06-03T12:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1469902#M14262</link>
      <description>&lt;P&gt;Thanks for the hint.&lt;/P&gt;&lt;P&gt;fip.bin was generated as follows:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;make CROSS_COMPILE=/home/sanghoon/toolchain/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=aarch64 PLAT=s32r45evb BL33=/home/sanghoon/u-boot/u-boot-s32.bin FIP_MEMORY_OFFSET=0x34300980&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_0-1654593692638.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182424i5FAB6019E168C3D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ssong_0-1654593692638.png" alt="ssong_0-1654593692638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;fip.bin, which has bl2+bl31+bl33, was loaded in SRAM(base=0x34300980) and M7 bootloader jumped to 0x34302000 so that layout is as follows:&lt;/P&gt;&lt;P&gt;------------------------------ 0x34302000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bl2&lt;/P&gt;&lt;P&gt;------------------------------ 0x34323DA0 (0x343023420+980)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bl31&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;bl2 initialize and use the SRAM for their data section from 0x34323DC0 until 0x34340000 and it overlaps bl31's code section. Unfortunately, bl31's code section is corrupted by data of bl2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_3-1654594434821.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182430iBC7FB7AF77D8D308/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssong_3-1654594434821.png" alt="ssong_3-1654594434821.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you let me know how to solve it?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 09:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1469902#M14262</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-06-07T09:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1470840#M14285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few things that do not make sense to me, can you clarify?&lt;/P&gt;&lt;P&gt;1. You say M7 jumps to&amp;nbsp;&lt;SPAN&gt;0x34302000... but the ATF should be executed by the A53.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. How can you tell of this overlap? did you modify the ATF? if so, what did you modify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Are you getting the same behavior without this&amp;nbsp;FIP_MEMORY_OFFSET=0x34300980?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Saludos,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alejandro&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 16:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1470840#M14285</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-06-08T16:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1471101#M14287</link>
      <description>&lt;P&gt;1. You say M7 jumps to&amp;nbsp;&lt;SPAN&gt;0x34302000... but the ATF should be executed by the A53.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt; Sorry for the confusion. M7 activates A53 and A53 starts from 0x34302000. M7 jumps to his application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. How can you tell of this overlap? did you modify the ATF? if so, what did you modify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt; All modification is listed in diff.txt which is the result of [git diff]. Two modifications has been added since the last question. Those are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;bl2.ld.S/bl2_el3.ld.S : Omit the NOLOAD symbol to fill .bss section as zero in binary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;s32_bl2_el3.c : Modify mmu table in order to resolve logical-to-physical address mapping failure which is derived from linker change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With those modification. U-boot shell appeared as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssong_0-1654738411002.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182694iF32E5F1F86661D10/image-size/large?v=v2&amp;amp;px=999" role="button" title="ssong_0-1654738411002.png" alt="ssong_0-1654738411002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Something weird is that PCIe and eth0 setup fails. SDK directly was given from NXP still has same problem.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Are you getting the same behavior without this&amp;nbsp;FIP_MEMORY_OFFSET=0x34300980?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt; FIP_MEMORY_OFFSET has been kept as 0x34300980 on u-boot shell apperance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 01:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1471101#M14287</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-06-09T01:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1471214#M14290</link>
      <description>&lt;P&gt;eth0 functions well.&lt;/P&gt;&lt;P&gt;log on the screen below counfused me.&lt;/P&gt;&lt;P&gt;"eth0: eth_eqosEQOS phy: sgmii fixed link"&lt;/P&gt;&lt;P&gt;phy: sgmii fixed link might be for eth1. It's better to let it go to the next line.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 05:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1471214#M14290</guid>
      <dc:creator>ssong</dc:creator>
      <dc:date>2022-06-09T05:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472019#M14302</link>
      <description>&lt;P&gt;In M7 bootloader which was provided in S32DS, Power_Ip_MC_RGM_ConfigureCore API resets M7_0 Core so that M7 bootloader can't proceed anymore.&lt;/P&gt;&lt;P&gt;Below temporal code has been added in-between not to reset M7_0 core.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddy_bts_0-1654841558140.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182951i3907B2BB5984D67C/image-size/large?v=v2&amp;amp;px=999" role="button" title="eddy_bts_0-1654841558140.png" alt="eddy_bts_0-1654841558140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can we the API make M7_0 core not to be reset by the API with the configuration change? Otherwise, some bugs exist in code?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 06:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472019#M14302</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2022-06-10T06:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472063#M14304</link>
      <description>&lt;P&gt;Another question is that:&lt;/P&gt;&lt;P&gt;When we build ATF, we couldn't find a was to change fip image's load address.&lt;/P&gt;&lt;P&gt;It seems to be fixed as 0x34300980 as below. That's why we add FIP_MEMORY_OFFSET with 0x34300980.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddy_bts_1-1654846101753.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182963i5EE3C19A4FE5F1C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="eddy_bts_1-1654846101753.png" alt="eddy_bts_1-1654846101753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can we change this address? Entry point might change accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 07:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472063#M14304</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2022-06-10T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472340#M14316</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even in NXP EVB with the default fip.s32 image the ethernet 1 and pcie fail. This is expected if the SGMII phy is not initialized nor connected to&amp;nbsp; GMAC1 and PCIe is expected to fail in case there aren't any PCIe devices connected so the link works succesfully.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this behavior is expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472340#M14316</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-06-10T16:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472377#M14317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The load address is calculated depending on the size of dtb and a fip header (dummy_fip file). The image is built in the next way:&lt;/P&gt;
&lt;P&gt;DUMYY_FIP_HEADER: Load address&lt;/P&gt;
&lt;P&gt;DTB: BL2 address - DTB size&lt;/P&gt;
&lt;P&gt;BL2 start and entry point at&amp;nbsp;0x3430_2000&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos,&lt;/P&gt;
&lt;P&gt;Alejandro&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 18:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1472377#M14317</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2022-06-10T18:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1473980#M14353</link>
      <description>&lt;P&gt;Anyone who can answer?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 01:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1473980#M14353</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2022-06-15T01:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1474321#M14360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes it is possible to configure the Mcu driver to avoid this reset of M7_0 core when the bootloader is running. Here are the steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the S32 Config Tools Peripheral tool on the bootloader project.&lt;/LI&gt;
&lt;LI&gt;On the left hand side there is the Components view, select Mcu_1.&lt;/LI&gt;
&lt;LI&gt;Then navigate through tabs McuModuleConfiguration -&amp;gt; McuModeSettingConf -&amp;gt; McuPartitionConfiguration -&amp;gt; McuPartition0Config.&lt;/LI&gt;
&lt;LI&gt;Under McuCore0Configuration un-check the box "CM7_0 Under MCU Control".&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;See below image for reference.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaryRK_0-1655284125901.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183454iD384C1156F46B951/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaryRK_0-1655284125901.png" alt="GaryRK_0-1655284125901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 09:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1474321#M14360</guid>
      <dc:creator>GaryRK</dc:creator>
      <dc:date>2022-06-15T09:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32R45 M7 bootloader downloads u-boot image from flash and activates A53</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1545524#M15664</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Have you successfully customized these two addresses?&lt;/P&gt;&lt;P&gt;About &lt;STRONG&gt;Load address&lt;/STRONG&gt; and &lt;STRONG&gt;Entry point &lt;/STRONG&gt;in&lt;STRONG&gt; ATF&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I have no idea about Load address...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S32R45-M7-bootloader-downloads-u-boot-image-from-flash-and/m-p/1545524#M15664</guid>
      <dc:creator>ZhiguoZhong</dc:creator>
      <dc:date>2022-10-28T07:01:41Z</dc:date>
    </item>
  </channel>
</rss>

