<?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 HAB with imx6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1631345#M204018</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to validate several images with the imx6 dual lite hab.&lt;BR /&gt;If an image fails hab_rvt_report_status always returns me false, with X events on buffer.&lt;BR /&gt;Can events and status be erased?&lt;BR /&gt;Where should I rely on the list of events?&lt;BR /&gt;Is it possible to have hab_rvt_report_status fail with no events?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 12:32:24 GMT</pubDate>
    <dc:creator>ciaran_lequeux</dc:creator>
    <dc:date>2023-04-11T12:32:24Z</dc:date>
    <item>
      <title>HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1631345#M204018</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to validate several images with the imx6 dual lite hab.&lt;BR /&gt;If an image fails hab_rvt_report_status always returns me false, with X events on buffer.&lt;BR /&gt;Can events and status be erased?&lt;BR /&gt;Where should I rely on the list of events?&lt;BR /&gt;Is it possible to have hab_rvt_report_status fail with no events?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 12:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1631345#M204018</guid>
      <dc:creator>ciaran_lequeux</dc:creator>
      <dc:date>2023-04-11T12:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1632162#M204086</link>
      <description>&lt;P&gt;anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 13:03:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1632162#M204086</guid>
      <dc:creator>ciaran_lequeux</dc:creator>
      <dc:date>2023-04-12T13:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633041#M204141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/78725"&gt;@ciaran_lequeux&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;HAB Events could be generated due to an incorrectly signed image or an Invalid ivt header.&lt;/P&gt;
&lt;P&gt;Please provide me with the steps followed to sign the image and HAB Event error print for further debugging.&lt;/P&gt;
&lt;P&gt;Please mention the U-boot version.&lt;/P&gt;
&lt;P&gt;If the image is signed correctly, it prints the below message using the hab_status or&amp;nbsp;hab_auth_img command.&lt;/P&gt;
&lt;P&gt;"No HAB Events Found!"&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 09:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633041#M204141</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-13T09:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633143#M204163</link>
      <description>&lt;P&gt;Thanks you for your response.&lt;BR /&gt;I use uboot 2017&lt;BR /&gt;I wan't to verify multiple images.&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;IGM1_OK -&amp;gt; No hab events&lt;BR /&gt;IMG2_OK -&amp;gt; No hab events&lt;BR /&gt;IMG3_OK -&amp;gt; No hab events&lt;BR /&gt;IGM4_OK -&amp;gt; No hab events&lt;BR /&gt;IMG5_OK -&amp;gt; No hab events&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I corrupt data on IMG3 after sign it.&lt;/P&gt;&lt;P&gt;IGM1_OK -&amp;gt; No hab events&lt;BR /&gt;IMG2_OK -&amp;gt; No hab events&lt;BR /&gt;IMG3_KO -&amp;gt; Failure, 1 HAB event&lt;BR /&gt;IGM4_OK -&amp;gt; Failure, 1 HAB event&lt;BR /&gt;IMG5_OK -&amp;gt; Failure, 1 HAB event&lt;/P&gt;&lt;P&gt;I see after a corrupted file is checked, all others next are fail.&lt;BR /&gt;Any solution to "reset" hab events ?&lt;/P&gt;&lt;P&gt;If i restart my board in each image it's ok, but y don't want t restart.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 13:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633143#M204163</guid>
      <dc:creator>ciaran_lequeux</dc:creator>
      <dc:date>2023-04-13T13:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633913#M204232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/78725"&gt;@ciaran_lequeux&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;It seems to be expected behavior.&lt;/P&gt;
&lt;P&gt;Please refer to &lt;STRONG&gt;/arch/arm/mach-imx/hab.c&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;imx_hab_authenticate_image() calls&amp;nbsp;&lt;SPAN&gt;get_hab_status(), which prints all HAB events (including previous),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;which can only be cleared by restarting the board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ROM/HAB allocates certain&amp;nbsp;memory regions in Internal RAM (OCRAM) for HAB logs. This space is marked as reserved in the Internal RAM memory map and must not be edited. This memory region is called HAB persistent memory. It contains events and other HAB process-related information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This space should not be cleared by software.&lt;BR /&gt;It can only be cleared by resetting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please correctly sign the bad/corrupted image.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please share commands used to verify images and HAB event output in each case for further debugging.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 13:18:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1633913#M204232</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-14T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: HAB with imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1634393#M204273</link>
      <description>&lt;P&gt;It is security concern and design to prevent cleaning the event within one power cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is simple logic.&lt;/P&gt;&lt;P&gt;If the&amp;nbsp;&lt;SPAN&gt;IMG3 is an attach program image. and&amp;nbsp;IMG4 can clean the even and still let the process going forward. It is very easy to hack the system.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That is very common design for security not i.MX. Any issue is detected stop it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 06:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-with-imx6/m-p/1634393#M204273</guid>
      <dc:creator>mason2036</dc:creator>
      <dc:date>2023-04-17T06:10:02Z</dc:date>
    </item>
  </channel>
</rss>

