<?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 uboot-spl don't load and run kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/uboot-spl-don-t-load-and-run-kernel/m-p/951875#M142280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to reduce boot time in imx8m mini evk, so use spl to load and run kernel (bypass uboot).now I check the kernel an fdt in ddr use accumulative checksum.&amp;nbsp; they(the checksum) are the same with the image that before use uboot load kernel and fdt.In other words, spl has load the kernel and fdt into ddr successfully.then i execute the following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cleanup_before_linux();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;armv8_switch_to_el2&lt;/STRONG&gt;((u64)0x43000000, 0, 0, 0, 0x40480000, ES_TO_AARCH64);&lt;/P&gt;&lt;P&gt;but failure to succeed.why? I have some questions:&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; I find the spl is run in EL3, but the uboot is run in EL2, I don't find where from el3 to el2?&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; I add reset cpu function code(to test&amp;nbsp; whether kernel is running ) in the Kernel startup entry point, but it is not reset cpu successfully.In other words,&amp;nbsp; armv8_switch_to_el2 is not jump to kernel to run code successfully. why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2019 08:43:13 GMT</pubDate>
    <dc:creator>851931531</dc:creator>
    <dc:date>2019-07-22T08:43:13Z</dc:date>
    <item>
      <title>uboot-spl don't load and run kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/uboot-spl-don-t-load-and-run-kernel/m-p/951875#M142280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to reduce boot time in imx8m mini evk, so use spl to load and run kernel (bypass uboot).now I check the kernel an fdt in ddr use accumulative checksum.&amp;nbsp; they(the checksum) are the same with the image that before use uboot load kernel and fdt.In other words, spl has load the kernel and fdt into ddr successfully.then i execute the following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cleanup_before_linux();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;armv8_switch_to_el2&lt;/STRONG&gt;((u64)0x43000000, 0, 0, 0, 0x40480000, ES_TO_AARCH64);&lt;/P&gt;&lt;P&gt;but failure to succeed.why? I have some questions:&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; I find the spl is run in EL3, but the uboot is run in EL2, I don't find where from el3 to el2?&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; I add reset cpu function code(to test&amp;nbsp; whether kernel is running ) in the Kernel startup entry point, but it is not reset cpu successfully.In other words,&amp;nbsp; armv8_switch_to_el2 is not jump to kernel to run code successfully. why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 08:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/uboot-spl-don-t-load-and-run-kernel/m-p/951875#M142280</guid>
      <dc:creator>851931531</dc:creator>
      <dc:date>2019-07-22T08:43:13Z</dc:date>
    </item>
  </channel>
</rss>

