<?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>i.MX ProcessorsのトピックRe: iMX280 secure boot with Linux bootlets inconsistent</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX280-secure-boot-with-Linux-bootlets-inconsistent/m-p/490415#M78600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The boot problem may be concerned with memory errors.&lt;/P&gt;&lt;P&gt;Please try to test memory. The following may be helpful for it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/375263"&gt;Re: i.MX28 DDR stress test&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 02:58:05 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2016-01-14T02:58:05Z</dc:date>
    <item>
      <title>iMX280 secure boot with Linux bootlets inconsistent</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX280-secure-boot-with-Linux-bootlets-inconsistent/m-p/490414#M78599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I had all of my HAB issues figured out, but this one cropped up.&amp;nbsp; Currently, I am trying to get secure boot working on the iMX280, and have it working for the most part.&amp;nbsp; I have uboot signed properly, and the board boots properly with a signed kernel, even with the HAB_CONFIG fuses burned for closed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the imx28_ivt_linux bootlets, however, I have the code signed, but it only works some of the time, seemingly randomly.&amp;nbsp; I can build the kernel, then build the bootlets and sign everything, and it will work, but if I rebuild everything, it will fail, and vice versa.&amp;nbsp; Very occassionally, an image that has trouble booting will boot, and vice versa.&amp;nbsp; These random failures only occur on a closed board--a board with the fuses not yet burned boots properly with the signed bootloaders, which indicates to me that it is still a HAB signing issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are some of the symptoms of these failures (each are isolated by ''' blocks):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;LLLLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pref0x80508002&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;LLLLLLLLLFLCLLJUncompressing Linux...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unexpected EOF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -- System halted&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;LLLLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undefined Ins0x80508002&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;LLLLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;''' (hanging after attempting to boot kernel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In testing this with uboot, I found that the linux bootlets would fail even with kernels that booted using uboot.&amp;nbsp; I did have one instance where a uImage of the kernel started giving a HAB error while booting with uboot (detailed below), which appears to be coming from an invalid address when trying to authenticate the image.&amp;nbsp; It did not show the full error, however, and continued to boot like normal.&amp;nbsp; I've only been able to get this error on one uImage, and have been unable to recreate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; bootm&lt;/P&gt;&lt;P&gt;load_addr=0x42000000, size=0x1c8bf0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xcc HAB State: 0xf0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------HAB Event 1 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt; 0xdb 0x00 0x08 0x40 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;## Booting kernel from Legacy Image at 42000000 ...&lt;/P&gt;&lt;P&gt;'''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do these booting problems appear to be more with kernel or with the HAB signing process?&amp;nbsp; If it is a HAB issue, what's a good way to enable hab debug code for imx28_ivt_linux?&amp;nbsp; I have the code from the uboot modifications for the get_hab_status function, but linux_prep seems to lack a lot of the libraries needed for it to compile.&amp;nbsp; If it isn't a HAB issue, would it be something like a linker or memory mapping issue?&amp;nbsp; If so, where would be the best place to start looking to fix that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jeff M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX280-secure-boot-with-Linux-bootlets-inconsistent/m-p/490414#M78599</guid>
      <dc:creator>jeffmorgan</dc:creator>
      <dc:date>2016-01-13T22:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMX280 secure boot with Linux bootlets inconsistent</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX280-secure-boot-with-Linux-bootlets-inconsistent/m-p/490415#M78600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The boot problem may be concerned with memory errors.&lt;/P&gt;&lt;P&gt;Please try to test memory. The following may be helpful for it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/375263"&gt;Re: i.MX28 DDR stress test&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 02:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX280-secure-boot-with-Linux-bootlets-inconsistent/m-p/490415#M78600</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-01-14T02:58:05Z</dc:date>
    </item>
  </channel>
</rss>

