<?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 How to examine startup-code and bootloader of linux Yocto? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-examine-startup-code-and-bootloader-of-linux-Yocto/m-p/686069#M106158</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 am building a trusted execution environment on IMX6Q with a Linux Yocto version in the untrusted processor mode. When I switch to non-secure for the first time after reset to load the linux kernel, I am flooded with data and prefetch abort exceptions as soon as I jump to the kernels bootloader.It also seems like, that those exceptions occur as soon as the MMU is switched on.&lt;/P&gt;&lt;P&gt;Booting the Kernel without changing to non-secure state works fine.&lt;/P&gt;&lt;P&gt;Is it possible, that the control bits of the non-secure copy of the first-stage page tables are written with the NS-Bit cleared which causes the MMU to refuse any access to those regions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find the startup code that is setting up the page tables in the Yocto-BSP for IMX6Q ?&lt;/P&gt;&lt;P&gt;How can I debug the Linux Bootloader?&lt;/P&gt;&lt;P&gt;Is it possible to simply change source code of the bootloader in the build-directory of the BSP and rebuild the image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 07:53:13 GMT</pubDate>
    <dc:creator>paulhilt</dc:creator>
    <dc:date>2017-05-19T07:53:13Z</dc:date>
    <item>
      <title>How to examine startup-code and bootloader of linux Yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-examine-startup-code-and-bootloader-of-linux-Yocto/m-p/686069#M106158</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 am building a trusted execution environment on IMX6Q with a Linux Yocto version in the untrusted processor mode. When I switch to non-secure for the first time after reset to load the linux kernel, I am flooded with data and prefetch abort exceptions as soon as I jump to the kernels bootloader.It also seems like, that those exceptions occur as soon as the MMU is switched on.&lt;/P&gt;&lt;P&gt;Booting the Kernel without changing to non-secure state works fine.&lt;/P&gt;&lt;P&gt;Is it possible, that the control bits of the non-secure copy of the first-stage page tables are written with the NS-Bit cleared which causes the MMU to refuse any access to those regions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find the startup code that is setting up the page tables in the Yocto-BSP for IMX6Q ?&lt;/P&gt;&lt;P&gt;How can I debug the Linux Bootloader?&lt;/P&gt;&lt;P&gt;Is it possible to simply change source code of the bootloader in the build-directory of the BSP and rebuild the image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 07:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-examine-startup-code-and-bootloader-of-linux-Yocto/m-p/686069#M106158</guid>
      <dc:creator>paulhilt</dc:creator>
      <dc:date>2017-05-19T07:53:13Z</dc:date>
    </item>
  </channel>
</rss>

