<?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: BL31 to Kernel/OS in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063050#M156239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&amp;nbsp;I don't see any&amp;nbsp;Cortex-A image example&amp;nbsp;in the &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-343178"&gt;DOC-343178 &lt;/A&gt;without u-boot-atf.bin. I'm looking to use bl31.bin as bootloader only and then handoff to a kernel image or any image. Is there a mechanism to support this ? Can someone explain the "&lt;SPAN style="color: #51626f; border: 0px; font-weight: bold; font-size: 11px;"&gt;&lt;STRONG&gt;INFO: Entry point address =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; border: 0px; font-weight: inherit; font-size: 11px;"&gt;0x80020000" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; color: #3d3d3d; font-weight: inherit; font-size: 15px;"&gt;debug print from BL31.bin ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2020 02:10:54 GMT</pubDate>
    <dc:creator>rkohli2000</dc:creator>
    <dc:date>2020-08-26T02:10:54Z</dc:date>
    <item>
      <title>BL31 to Kernel/OS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063048#M156237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can boot my i.MX8QM MEK using bl31.bin (Arm Trusted Firmware-A reference) and would like to&amp;nbsp;pass control to an OS or any Linux kernel image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the following debug from the bl31.bin debug console on booting:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 2 0x34000000 -- 0x37ffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 3 0x38000000 -- 0x3bffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 4 0x60000000 -- 0x6fffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 5 0x70000000 -- 0x7fffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 6 0x80000000 -- 0xffffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 7 0x400000000 -- 0x43fffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Memreg 8 0x880000000 -- 0x97fffffff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: Non-secure Partitioning Succeeded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: BL31: v2.3():&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;NOTICE: BL31: Built : 15:21:46, Aug 24 2020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: GICv3 with legacy support detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: ARM GICv3 driver initialized in EL3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: BL31: Initializing runtime services&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: BL31: cortex_a53: CPU workaround for 855873 was applied&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: BL31: Preparing for EL3 exit to normal world&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 11px;"&gt;INFO: Entry point address = &lt;SPAN style="color: #ff0000;"&gt;0x80020000&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;INFO: SPSR = 0x3c9&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The bl31.bin binary was assigned 0x80000000 on A53 core in the imx-mkimge makefile:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;flash_b0_a53_bl31_1: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin bl31.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11px;"&gt;16 ./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 11px;"&gt;-ap bl31.bin a53 0x80000000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-out flash.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;What is the "&lt;STRONG style="border: 0px; font-weight: bold;"&gt;Entry point address&lt;/STRONG&gt;" 0x80020000 logged here?&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Can we use &lt;EM&gt;imx-mkimage&lt;/EM&gt; to designate 0x80020000 ? example:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="font-size: 11px;"&gt;./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin &lt;STRONG&gt;-ap bl31.bin a53 0x80000000 &lt;SPAN style="color: #ff0000;"&gt;-ap Image-imx8qmmek.bin a53 0x80020000 --data imx8qm-mek-ca53.dtb&amp;nbsp; 0x83000000&lt;/SPAN&gt; -out flash.bin&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 18:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063048#M156237</guid>
      <dc:creator>rkohli2000</dc:creator>
      <dc:date>2020-08-25T18:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: BL31 to Kernel/OS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063049#M156238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer to "i.MX8 Boot process and creating a bootable image" document:&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-343178" target="test_blank"&gt;https://community.nxp.com/docs/DOC-343178&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 01:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063049#M156238</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2020-08-26T01:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: BL31 to Kernel/OS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063050#M156239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&amp;nbsp;I don't see any&amp;nbsp;Cortex-A image example&amp;nbsp;in the &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-343178"&gt;DOC-343178 &lt;/A&gt;without u-boot-atf.bin. I'm looking to use bl31.bin as bootloader only and then handoff to a kernel image or any image. Is there a mechanism to support this ? Can someone explain the "&lt;SPAN style="color: #51626f; border: 0px; font-weight: bold; font-size: 11px;"&gt;&lt;STRONG&gt;INFO: Entry point address =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; border: 0px; font-weight: inherit; font-size: 11px;"&gt;0x80020000" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; color: #3d3d3d; font-weight: inherit; font-size: 15px;"&gt;debug print from BL31.bin ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 02:10:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/BL31-to-Kernel-OS/m-p/1063050#M156239</guid>
      <dc:creator>rkohli2000</dc:creator>
      <dc:date>2020-08-26T02:10:54Z</dc:date>
    </item>
  </channel>
</rss>

