<?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 LinuxBSP33 getting ATF+uboot on S32G RDB2 board in S32G</title>
    <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501234#M1097</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm following the instructions on S32G2_LinuxBSP_33.0_User_Manual.pdf.&lt;/P&gt;&lt;P&gt;I performed the following:&lt;/P&gt;&lt;P&gt;1) Building uboot:&lt;/P&gt;&lt;P&gt;git clone &lt;A href="https://source.codeaurora.org/external/autobsps32/u-boot" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/u-boot&lt;/A&gt;&lt;BR /&gt;cd u-boot&lt;BR /&gt;git checkout bsp33.0-2020.04&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu- s32g274ardb2_defconfig&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Building ATF:&lt;/P&gt;&lt;P&gt;(tools for fiptool already installed on my Ubuntu)&lt;/P&gt;&lt;P&gt;git clone &lt;A href="https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware&lt;/A&gt;&lt;BR /&gt;cd arm-trusted-firmware&lt;BR /&gt;git checkout bsp33.0-2.5&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu- ARCH=aarch64 BL33=&amp;lt;uboot_path&amp;gt;/u-boot-nodtb.bin ARCH=aarch64 PLAT=s32g274ardb2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Write fip.s32 to the SDCard:&lt;/P&gt;&lt;P&gt;sudo dd if=build/s32g274ardb2/release/fip.s32 of=/dev/sda skip=512 seek=512 iflag=skip_bytes oflag=seek_bytes conv=fsync,notrunc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) When I boot the board with the SDCard I get nothing on the screen.&lt;/P&gt;&lt;P&gt;Note: I was only able to get ATF+uboot running with the BSP28, when I had the option:&amp;nbsp;&lt;STRONG&gt;CONFIG_S32_ATF_BOOT_FLOW=y&amp;nbsp;&lt;/STRONG&gt;when building uboot.&lt;/P&gt;&lt;P&gt;From what I understand this option doesn't exist anymore starting on BSP32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;when ATF finish the build, it outputs:&lt;/P&gt;&lt;P&gt;Image Layout&lt;BR /&gt;DCD: Offset: 0x200 Size: 0x1c&lt;BR /&gt;IVT: Offset: 0x1000 Size: 0x100&lt;BR /&gt;AppBootCode Header: Offset: 0x1200 Size: 0x40&lt;BR /&gt;Application: Offset: 0x1240 Size: 0x2ea00&lt;BR /&gt;&lt;BR /&gt;IVT Location: SD/eMMC&lt;BR /&gt;Load address: 0x342fc6a0&lt;BR /&gt;Entry point: 0x34302000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my boot_info.c contains:&lt;/P&gt;&lt;P&gt;const unsigned long fip_mmc_offset = 0x1240;&lt;BR /&gt;const unsigned long fip_qspi_offset = 0;&lt;BR /&gt;const unsigned long fip_mem_offset = 0;&lt;BR /&gt;const unsigned int fip_hdr_size = 0x0;&lt;BR /&gt;const unsigned int dtb_size = 0x5960;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;I appreciate any help on how to proceed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 14:59:51 GMT</pubDate>
    <dc:creator>mmatsunaga</dc:creator>
    <dc:date>2022-08-04T14:59:51Z</dc:date>
    <item>
      <title>LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501234#M1097</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm following the instructions on S32G2_LinuxBSP_33.0_User_Manual.pdf.&lt;/P&gt;&lt;P&gt;I performed the following:&lt;/P&gt;&lt;P&gt;1) Building uboot:&lt;/P&gt;&lt;P&gt;git clone &lt;A href="https://source.codeaurora.org/external/autobsps32/u-boot" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/u-boot&lt;/A&gt;&lt;BR /&gt;cd u-boot&lt;BR /&gt;git checkout bsp33.0-2020.04&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu- s32g274ardb2_defconfig&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Building ATF:&lt;/P&gt;&lt;P&gt;(tools for fiptool already installed on my Ubuntu)&lt;/P&gt;&lt;P&gt;git clone &lt;A href="https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware" target="_blank"&gt;https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware&lt;/A&gt;&lt;BR /&gt;cd arm-trusted-firmware&lt;BR /&gt;git checkout bsp33.0-2.5&lt;/P&gt;&lt;P&gt;make CROSS_COMPILE=&amp;lt;toolchain_path&amp;gt;/bin/aarch64-none-linux-gnu- ARCH=aarch64 BL33=&amp;lt;uboot_path&amp;gt;/u-boot-nodtb.bin ARCH=aarch64 PLAT=s32g274ardb2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Write fip.s32 to the SDCard:&lt;/P&gt;&lt;P&gt;sudo dd if=build/s32g274ardb2/release/fip.s32 of=/dev/sda skip=512 seek=512 iflag=skip_bytes oflag=seek_bytes conv=fsync,notrunc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) When I boot the board with the SDCard I get nothing on the screen.&lt;/P&gt;&lt;P&gt;Note: I was only able to get ATF+uboot running with the BSP28, when I had the option:&amp;nbsp;&lt;STRONG&gt;CONFIG_S32_ATF_BOOT_FLOW=y&amp;nbsp;&lt;/STRONG&gt;when building uboot.&lt;/P&gt;&lt;P&gt;From what I understand this option doesn't exist anymore starting on BSP32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;when ATF finish the build, it outputs:&lt;/P&gt;&lt;P&gt;Image Layout&lt;BR /&gt;DCD: Offset: 0x200 Size: 0x1c&lt;BR /&gt;IVT: Offset: 0x1000 Size: 0x100&lt;BR /&gt;AppBootCode Header: Offset: 0x1200 Size: 0x40&lt;BR /&gt;Application: Offset: 0x1240 Size: 0x2ea00&lt;BR /&gt;&lt;BR /&gt;IVT Location: SD/eMMC&lt;BR /&gt;Load address: 0x342fc6a0&lt;BR /&gt;Entry point: 0x34302000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my boot_info.c contains:&lt;/P&gt;&lt;P&gt;const unsigned long fip_mmc_offset = 0x1240;&lt;BR /&gt;const unsigned long fip_qspi_offset = 0;&lt;BR /&gt;const unsigned long fip_mem_offset = 0;&lt;BR /&gt;const unsigned int fip_hdr_size = 0x0;&lt;BR /&gt;const unsigned int dtb_size = 0x5960;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;I appreciate any help on how to proceed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 14:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501234#M1097</guid>
      <dc:creator>mmatsunaga</dc:creator>
      <dc:date>2022-08-04T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501301#M1098</link>
      <description>&lt;P&gt;Hello mmatsunaga,&lt;/P&gt;
&lt;P&gt;There is no plan to implement the same in U-Boot/ATF. You need to do the implementation per your use-case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 17:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501301#M1098</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-04T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501309#M1099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for the information, but I should still be able to get ATF+uboot running on the board right?&lt;/P&gt;&lt;P&gt;I get no output at all on the screen after following the steps from the User Manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501309#M1099</guid>
      <dc:creator>mmatsunaga</dc:creator>
      <dc:date>2022-08-04T18:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501845#M1100</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About the option&amp;nbsp;&lt;STRONG&gt;CONFIG_S32_ATF_BOOT_FLOW=y&lt;/STRONG&gt;, you mentioned that it won't be implemented for BSP32 and later. Does it mean that ATF+uboot is not supported by NXP anymore?&lt;/P&gt;&lt;P&gt;At least from reading the User Manual I had the impression that ATF+uboot should still work on the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any feedback on this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501845#M1100</guid>
      <dc:creator>mmatsunaga</dc:creator>
      <dc:date>2022-08-05T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501852#M1101</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Sorry that is correct! it won't be implemented.it should be working but we have not tested the ATF in BSP 33.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:38:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501852#M1101</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-05T13:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501858#M1102</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;And just so I understand better. When you said that it should be working, do you mean that&amp;nbsp;ATF+uboot should be working 'out of the box' on BSP32 or do I need to perform some custom modifications in the lines of what the option&amp;nbsp;&lt;STRONG&gt;CONFIG_S32_ATF_BOOT_FLOW=y&amp;nbsp;&lt;/STRONG&gt;was doing for BSP28?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501858#M1102</guid>
      <dc:creator>mmatsunaga</dc:creator>
      <dc:date>2022-08-05T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501866#M1103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you made some modification probably it will be need it again, but the ATF should be working on BSP32.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 14:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501866#M1103</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-05T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501892#M1104</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the answer.&lt;/P&gt;&lt;P&gt;So do you have any suggestion on how to debug or what to look for? considering after following all the steps from the NXP User Manual for ATF+uboot I don't get any output (blank screen) during boot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 15:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1501892#M1104</guid>
      <dc:creator>mmatsunaga</dc:creator>
      <dc:date>2022-08-05T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1551962#M1688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to boot the board with/without ATF? I am facing the same issue as yours..&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 12:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1551962#M1688</guid>
      <dc:creator>hamzahfrq</dc:creator>
      <dc:date>2022-11-10T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: LinuxBSP33 getting ATF+uboot on S32G RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1552003#M1690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When either&amp;nbsp;fsl-image-auto-s32g274ardb2.sdcard (full image) or&amp;nbsp;fip.s32-sdcard (ATF+u-boot) is flashed on the sd card, the board comes up with ATF+u-boot. Could you please explain why you have said that ATF+u-boot is not tested on the board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/LinuxBSP33-getting-ATF-uboot-on-S32G-RDB2-board/m-p/1552003#M1690</guid>
      <dc:creator>hamzahfrq</dc:creator>
      <dc:date>2022-11-10T13:52:31Z</dc:date>
    </item>
  </channel>
</rss>

