<?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: what's the differences between GoldVIP's ATF and bsp32's ATF in S32G</title>
    <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485134#M1013</link>
    <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;I've deployed my build FIP image to QSPI&amp;nbsp; Flash and SD card,&amp;nbsp; the same FIP image. But it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185702i1D9A500510DCD92B/image-size/large?v=v2&amp;amp;px=999" role="button" title="log3.png" alt="log3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to write down how to get my manually build&amp;nbsp; FIP image:&lt;/P&gt;&lt;P&gt;1. Get uboot&amp;nbsp; and ATF source code from git.&lt;/P&gt;&lt;P&gt;2. Update uboot patches as this link said:&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/u-boot/files?h=goldvip-1.1.0" target="_blank" rel="noopener"&gt;files\u-boot\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Update s32g274ardb2_defconfig file with CONFIG_XEN_SUPPORT=y&lt;/P&gt;&lt;P&gt;then manually build, get the u-boot-s32.bin file.&lt;/P&gt;&lt;P&gt;3. Update ATF patch as this link said:&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/arm-trusted-firmware/files?h=goldvip-1.1.0" target="_blank" rel="noopener"&gt;files\arm-trusted-firmware\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then use this command to get fip.s32 file:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;cd &lt;/SPAN&gt;&lt;SPAN class=""&gt;arm-trusted-firmware&lt;BR /&gt;make &lt;/SPAN&gt;&lt;SPAN class=""&gt;CROSS_COMPILE&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;/path/to/your/toolchain/dir/bin/aarch64-none-linux-gnu- &lt;/SPAN&gt;&lt;SPAN class=""&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ARCH&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;aarch64 &lt;/SPAN&gt;&lt;SPAN class=""&gt;PLAT&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;plat&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;BL33&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;path-to-u-boot-s32.bin&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. Deploy manually build fip.s32 to SD card and QSPI Flash.&lt;/P&gt;&lt;P&gt;5. Set the board boot from QSPI Flash,&amp;nbsp; the log is as the picture show.&lt;/P&gt;&lt;P&gt;6. Set the board boot from SD card, no output from the serial port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be something else I have to do to get the same fip.s32-sdcard as the GoldVIP.&lt;/P&gt;&lt;P&gt;When use the GoldVIP's fip.s32-sdcard file, no matter boot from QSPI or SD card, all work well.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 06:55:45 GMT</pubDate>
    <dc:creator>nevc</dc:creator>
    <dc:date>2022-07-06T06:55:45Z</dc:date>
    <item>
      <title>what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1483854#M985</link>
      <description>&lt;P&gt;1.&amp;nbsp; follow the GoldVIP 1.1.0 User Manual,&amp;nbsp; &lt;SPAN class=""&gt;Deploy GoldVIP SD-card image,&amp;nbsp; Deploy images to Flash,&amp;nbsp; configure the DIP switches for NOR Flash Boot mode (set SW4.7 to OFF) and then power on the board, all run well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2. follow the S32G2_LinuxBSP32.0_User_Manual, manually build the uboot get arm-trusted-firmware&lt;BR /&gt;fip.s32.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;cd arm-trusted-firmware&lt;BR /&gt;make CROSS_COMPILE=/path/to/your/toolchain/dir/bin/aarch64-none-linux-gnu- &lt;SPAN class=""&gt;\&lt;BR /&gt;&lt;/SPAN&gt;ARCH=aarch64 PLAT=&amp;lt;plat&amp;gt; BL33=&amp;lt;path-to-u-boot-s32.bin&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3.&amp;nbsp; Deploy &lt;SPAN class=""&gt;manually build fip.s32 &lt;/SPAN&gt;to the sdcard.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;sudo dd &lt;SPAN class=""&gt;if&lt;/SPAN&gt;=&amp;lt;path/to/fip.s32&amp;gt; of=/dev/&amp;lt;sdcard_dev&amp;gt; skip=512 seek=512 &lt;SPAN class=""&gt;\&lt;BR /&gt;&lt;/SPAN&gt;iflag=skip_bytes oflag=seek_bytes conv=fsync,notrunc&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4. Insert SD card on RGB2 board,power on. There is an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Bootloader started&lt;BR /&gt;Load application id 0 fragment id 0 of size 458752 from 0x101240 flash address, time: 2.406 milliseconds&lt;BR /&gt;Load application id 1 fragment id 0 of size 2097152 from 0x300000 flash address, time: 10.877 milliseconds&lt;BR /&gt;NOTICE: Reset status: Power-On Reset&lt;BR /&gt;NOTICE: BL2: v2.5(release):bsp32.0-2.5-dirty&lt;BR /&gt;NOTICE: BL2: Built : 16:14:01, Mar 18 2022&lt;BR /&gt;Error: Instruction at BL33_DTB(0xffa99000) is 0x65762c6d, which is not the expected 0xedfe0dd0!&lt;BR /&gt;ERROR: BL2: Failure in post image load handling (-22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My question is: is there any&amp;nbsp;differences between GoldVIP's ATF and bsp32's ATF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;How can I get the GoldVIP's ATF (uboot).&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 06:36:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1483854#M985</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-04T06:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484051#M987</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There are a few differences: (GoldVIP ATF has a different alignment plus the u-boot variables are added). See this patch:&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/arm-trusted-firmware/files/0001-align-fip-to-64B.patch?h=develop" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/arm-trusted-firmware/files/0001-align-fip-to-64B.patch?h=develop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it doesn't really make sense to re-compile the ATF for GoldVIP, as it's already present in the RAW SD Card partition and in the FAT32 partition of the SD card.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here (fip.s32-sdcard).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf45013_1-1656935852551.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185479iD62796BE2F32AFF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf45013_1-1656935852551.png" alt="nxf45013_1-1656935852551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Vlad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 11:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484051#M987</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-04T11:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484111#M990</link>
      <description>&lt;P&gt;Hello nevc,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need check with your FAE, according to your BSP is the BSP32, but normal BSP don't include the ATF, So you need to check with your FAE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 14:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484111#M990</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-07-04T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484438#M992</link>
      <description>&lt;P&gt;Thank you very much, it really works.&lt;/P&gt;&lt;P&gt;I followed you instruction, updated the arm-trusted-firmware and u-boot as the patches said.&amp;nbsp;&lt;BR /&gt;ATF patch:&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/arm-trusted-firmware/files/0001-align-fip-to-64B.patch?h=goldvip-1.1.0" target="_blank" rel="noopener"&gt;0001-align-fip-to-64B.patch\files\arm-trusted-firmware\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;u-boot patch:&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/u-boot/files?h=develop" target="_blank" rel="noopener"&gt;files\u-boot\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Power on the RDB2 board, booted from Nor flash mode, there is another error:&lt;/P&gt;&lt;P&gt;Bootloader started&lt;BR /&gt;Load application id 0 fragment id 0 of size 458752 from 0x101240 flash address, time: 2.406 milliseconds&lt;BR /&gt;Load application id 1 fragment id 0 of size 2097152 from 0x300000 flash address, time: 10.877 milliseconds&lt;BR /&gt;NOTICE: Reset status: Power-On Reset&lt;BR /&gt;NOTICE: BL2: v2.5(release):bsp32.0-2.5-dirty&lt;BR /&gt;NOTICE: BL2: Built : 16:14:01, Mar 18 2022&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2020.04-dirty (Jul 05 2022 - 13:37:07 +0800)&lt;/P&gt;&lt;P&gt;CPU: NXP S32G274A rev. 2.1.0&lt;BR /&gt;Model: NXP S32G274A-RDB2&lt;BR /&gt;DRAM: 3.5 GiB&lt;BR /&gt;MMC: FSL_SDHC: 0&lt;BR /&gt;Loading Environment from MMC... OK&lt;BR /&gt;Using external clock for PCIe0, CRNS&lt;BR /&gt;Configuring PCIe0 as RootComplex(x2)&lt;BR /&gt;Using external clock for PCIe1, CRNS&lt;BR /&gt;Frequency 125Mhz configured for PCIe1&lt;BR /&gt;Configuring PCIe1 as SGMII(x2) [XPCS0 2.5G, XPCS1 OFF]&lt;BR /&gt;PCIe0: Failed to get link up&lt;BR /&gt;Pcie0: LINK_DBG_1: 0x00000000, LINK_DBG_2: 0x00000800 (expected 0x000000d1)&lt;BR /&gt;DEBUG_R0: 0x00341600, DEBUG_R1: 0x08200000&lt;BR /&gt;PCI: Failed autoconfig bar 20&lt;BR /&gt;PCI: Failed autoconfig bar 24&lt;BR /&gt;PCIe1: Not configuring PCIe, PHY not configured&lt;BR /&gt;In: serial@401C8000&lt;BR /&gt;Out: serial@401C8000&lt;BR /&gt;Err: serial@401C8000&lt;BR /&gt;Board revision: RDB2/GLDBOX Revision D&lt;BR /&gt;Net: EQOS phy: rgmii @ 1&lt;/P&gt;&lt;P&gt;Warning: eth_eqos (eth0) using random MAC address - 3a:41:22:29:2b:87&lt;BR /&gt;eth0: eth_eqos PFE: emac0: sgmii emac1: none emac2: rgmii&lt;BR /&gt;Structure length mismatch: found 0 required 176&lt;/P&gt;&lt;P&gt;Warning: eth_pfeng using MAC address from ROM&lt;BR /&gt;, eth1: eth_pfeng&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;BR /&gt;899 bytes read in 14 ms (62.5 KiB/s)&lt;BR /&gt;## Executing script at 80200000&lt;BR /&gt;1048688 bytes read in 75 ms (13.3 MiB/s)&lt;BR /&gt;14856200 bytes read in 659 ms (21.5 MiB/s)&lt;BR /&gt;43476 bytes read in 16 ms (2.6 MiB/s)&lt;BR /&gt;## Flattened Device Tree blob at 81600000&lt;BR /&gt;Booting using the fdt blob at 0x81600000&lt;BR /&gt;Using Device Tree in place at 0000000081600000, end 000000008160efff&lt;BR /&gt;DT: Enabling PFE&lt;BR /&gt;DT: Enabling PFE_EMAC_0&lt;BR /&gt;DT: pfe0 set to 00:01:be:be:ef:11&lt;BR /&gt;DT: Disabling PFE_EMAC_1&lt;BR /&gt;DT: Enabling PFE_EMAC_2&lt;BR /&gt;DT: pfe2 set to 00:01:be:be:ef:33&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;- UART enabled -&lt;BR /&gt;- Boot CPU booting -&lt;BR /&gt;- Current EL 00000004 -&lt;BR /&gt;- Xen must be entered in NS EL2 mode -&lt;BR /&gt;- Please update the bootloader -&lt;BR /&gt;- Boot failed -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I power on the board, booted from SD card mode, the serial port has no output. Why ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to port GoldVIP on our designed board, there are some changes have to be made in u-boot, So I need to know how to get the original GoldVIP ATF.&lt;/P&gt;&lt;P&gt;Please help me, thanks a million.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484438#M992</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-05T07:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484444#M993</link>
      <description>&lt;P&gt;Hi, nevc,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;U-boot needs to be aware that it's booting XEN. This is missing from your U-boot (contained in ATF) configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's how you can enable it:&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/autobsps32/meta-alb/tree/recipes-bsp/u-boot/u-boot-s32/build/xen_config.cfg?h=release/bsp32.0-3.2" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/meta-alb/tree/recipes-bsp/u-boot/u-boot-s32/build/xen_config.cfg?h=release/bsp32.0-3.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to streamline the process, I would advise you to use the yocto environment from meta-gvip.&lt;BR /&gt;&lt;BR /&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484444#M993</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-05T07:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484543#M996</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&lt;/P&gt;&lt;P&gt;I added the CONFIG_XEN_SUPPORT=y on file s32g274ardb2_defconfig; then rebuild uboot and AFT.&lt;/P&gt;&lt;P&gt;Set the board booted from Nor Flash mode, the log is same:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log.png" style="width: 786px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185572i1387998CF8B1D62E/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.png" alt="log.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set the board booted from SD card mode, the serial port has no output.This is really confusing to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not familiar with yocto, I'll try to use yocto to build the project.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 09:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484543#M996</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-05T09:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484572#M997</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Did you also update the flash region where ATF resides?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 09:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484572#M997</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-05T09:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484606#M998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Update my build fip.s32 on SD card FAT32 partition /boot_s32g27; rename it to fip.s32-sdcard&lt;/P&gt;&lt;P&gt;2. Set the board booted from Nor Flash,&amp;nbsp; &lt;SPAN class=""&gt;stop in u-boot console when prompted, and run the&lt;/SPAN&gt;&amp;nbsp;command: run write_atf&lt;/P&gt;&lt;P&gt;3. Repower on the board:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185587i0E152C93A734657D/image-size/large?v=v2&amp;amp;px=999" role="button" title="log2.png" alt="log2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 10:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484606#M998</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-05T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484610#M999</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Let me explain a bit the boot process for GoldVIP (A53-ATF related process).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The M7 bootloader boots BL2 from ATF (first bootloader) from &lt;STRONG&gt;QSPI&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. BL2 boots BL31, BL32 (if applicable), BL33 (u-boot) from&amp;nbsp;&lt;STRONG&gt;SD.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You need to have the same FIP image both in SD card and in the QSPI flash. I understand this seems redundant, but otherwise, we couldn't accommodate standalone SD and QSPI-based boot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to keep in sync the FIP image on the QSPI with the one on the SD card. It should work.&amp;nbsp;&lt;BR /&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 10:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1484610#M999</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-05T10:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485134#M1013</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;I've deployed my build FIP image to QSPI&amp;nbsp; Flash and SD card,&amp;nbsp; the same FIP image. But it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185702i1D9A500510DCD92B/image-size/large?v=v2&amp;amp;px=999" role="button" title="log3.png" alt="log3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to write down how to get my manually build&amp;nbsp; FIP image:&lt;/P&gt;&lt;P&gt;1. Get uboot&amp;nbsp; and ATF source code from git.&lt;/P&gt;&lt;P&gt;2. Update uboot patches as this link said:&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/u-boot/files?h=goldvip-1.1.0" target="_blank" rel="noopener"&gt;files\u-boot\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Update s32g274ardb2_defconfig file with CONFIG_XEN_SUPPORT=y&lt;/P&gt;&lt;P&gt;then manually build, get the u-boot-s32.bin file.&lt;/P&gt;&lt;P&gt;3. Update ATF patch as this link said:&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/autobsps32/goldvip/meta-gvip/tree/recipes-bsp/arm-trusted-firmware/files?h=goldvip-1.1.0" target="_blank" rel="noopener"&gt;files\arm-trusted-firmware\recipes-bsp - goldvip/meta-gvip - NXP S32G Vehicle Integration Platform (GoldVIP) Yocto Layer (codeaurora.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then use this command to get fip.s32 file:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;cd &lt;/SPAN&gt;&lt;SPAN class=""&gt;arm-trusted-firmware&lt;BR /&gt;make &lt;/SPAN&gt;&lt;SPAN class=""&gt;CROSS_COMPILE&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;/path/to/your/toolchain/dir/bin/aarch64-none-linux-gnu- &lt;/SPAN&gt;&lt;SPAN class=""&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ARCH&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;aarch64 &lt;/SPAN&gt;&lt;SPAN class=""&gt;PLAT&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;plat&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;BL33&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;path-to-u-boot-s32.bin&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. Deploy manually build fip.s32 to SD card and QSPI Flash.&lt;/P&gt;&lt;P&gt;5. Set the board boot from QSPI Flash,&amp;nbsp; the log is as the picture show.&lt;/P&gt;&lt;P&gt;6. Set the board boot from SD card, no output from the serial port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be something else I have to do to get the same fip.s32-sdcard as the GoldVIP.&lt;/P&gt;&lt;P&gt;When use the GoldVIP's fip.s32-sdcard file, no matter boot from QSPI or SD card, all work well.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485134#M1013</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-06T06:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485430#M1017</link>
      <description>&lt;P&gt;Hi, Nevc,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please confirm that you have the same file in the&amp;nbsp;&lt;STRONG&gt;SD RAW partition&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;QSPI?&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;The GoldVIP image does this setting by default, so I'm mostly worried about this setting.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 13:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485430#M1017</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-06T13:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485825#M1022</link>
      <description>&lt;P&gt;Hi, nxf45013,&lt;/P&gt;&lt;P&gt;I'm really appreciate your reply, it means a lot to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pretty much sure that&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SD RAW partition&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;QSPI Flash&amp;nbsp;&lt;/STRONG&gt;have the same file.&lt;/P&gt;&lt;P&gt;Deploy fip.s32 to SD card, use following command:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;sudo dd &lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;path/to/fip.s32&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;of&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;/dev/&amp;lt;sdcard_dev&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;skip&lt;/SPAN&gt;&lt;SPAN class=""&gt;=512 &lt;/SPAN&gt;&lt;SPAN class=""&gt;seek&lt;/SPAN&gt;&lt;SPAN class=""&gt;=512 &lt;/SPAN&gt;&lt;SPAN class=""&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;iflag&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;skip_bytes &lt;/SPAN&gt;&lt;SPAN class=""&gt;oflag&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;seek_bytes &lt;/SPAN&gt;&lt;SPAN class=""&gt;conv&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;fsync,notrunc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deploy&amp;nbsp;fip.s32 to QSPI flash as following:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;boot from QSPI flash, stop in u-boot console when prompted, &lt;STRONG&gt;run write_atf&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;(Of course I've updated my build fip.s32 to SD card boot partition)&lt;/P&gt;&lt;P&gt;I've uploaded my build fip.s32 file as an attachment, may you use it on your board to test if it works.&lt;/P&gt;&lt;P&gt;Thanks a million, i really mean it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 02:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1485825#M1022</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-07T02:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1486055#M1024</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The format of the file looks fine. It seems that BL2 and BL31 run fine. Could you please also share the contents of boot_info.c?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, is u-boot set to boot from SD card?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1486055#M1024</guid>
      <dc:creator>nxf45013</dc:creator>
      <dc:date>2022-07-07T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: what's the differences between GoldVIP's ATF and bsp32's ATF</title>
      <link>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1486499#M1029</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Also, is u-boot set to boot from SD card? "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you mean where does bootloader get the u-boot? from SD card or QSPI Flash ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I didn't change anything about bootloader, so bootloader get ATF(u-boot) form QSPI&amp;nbsp; Flash at address 0x00100000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 02:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/what-s-the-differences-between-GoldVIP-s-ATF-and-bsp32-s-ATF/m-p/1486499#M1029</guid>
      <dc:creator>nevc</dc:creator>
      <dc:date>2022-07-08T02:12:43Z</dc:date>
    </item>
  </channel>
</rss>

