<?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: HAB event with latest uboot-imx 2021.04 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1539176#M196483</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Firstly, recommend hanging in uboot's start.s&amp;nbsp; and then use debugger to read HAB memory.&amp;nbsp;It might need to be analyzed in stages, to find where the issue is triggered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 09:55:26 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2022-10-18T09:55:26Z</dc:date>
    <item>
      <title>HAB event with latest uboot-imx 2021.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1532633#M196003</link>
      <description>&lt;P&gt;I have a weird issue that I don't understand. I could successfully sign my images and activate HAB authentication last year. I signed the bootloader and additional images.&lt;/P&gt;&lt;P&gt;Recently, I have updated uboot-imx to the latest version and since then I am getting a HAB event. There are a few differences. The old bootloader was built with the Android toolchain and the new one with the Yocto toolchain. There are also differences in the defconfigs, but CONFIG_SECURE_BOOT=y is enabled in both, so it should be fine.&lt;/P&gt;&lt;P&gt;I just manually verified this behavior with the hab_auth_img command. There also is a HAB event when authenticating the bootloader, but the system still boots. Seems like this is a faulty HAB event, that doesnt have any consequences. Since I am checking the additional images in my bootscripts, I can now no longer process the&amp;nbsp; hab_auth_img return value.&lt;/P&gt;&lt;P&gt;Old version: 2018.03&lt;BR /&gt;New version: 2021.04&lt;/P&gt;&lt;P&gt;HAB event from additional image&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AB Configuration: 0xcc, HAB State: 0x99

--------- HAB Event 1 -----------------
event data:
        0xdb 0x00 0x24 0x43 0x33 0x30 0xee 0x1d
        0x00 0x08 0x00 0x02 0x00 0x00 0x00 0x00
        0x55 0x55 0x00 0x02 0x00 0x00 0x00 0x00
        0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        0x00 0x00 0x02 0x06

STS = HAB_FAILURE (0x33)
RSN = HAB_ENG_FAIL (0x30)
CTX = HAB_CTX_EXIT (0xEE)
ENG = HAB_ENG_CAAM (0x1D)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 13:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1532633#M196003</guid>
      <dc:creator>jclsn</dc:creator>
      <dc:date>2022-10-05T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: HAB event with latest uboot-imx 2021.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1534414#M196132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192380"&gt;@jclsn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable secure boot support in U-boot with HAB feature in&amp;nbsp;&lt;SPAN&gt;New version: 2021.04, the configuration in Defconfig is CONFIG_IMX_HAB=y, instead of&amp;nbsp;CONFIG_SECURE_BOOT=y.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 07:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1534414#M196132</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-10-09T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: HAB event with latest uboot-imx 2021.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1536099#M196260</link>
      <description>&lt;P&gt;Yes, CONFIG_IMX_HAB=y is used for the new bootloader. My initial post was incorrect. The HAB event occurs nonetheless.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 08:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1536099#M196260</guid>
      <dc:creator>jclsn</dc:creator>
      <dc:date>2022-10-12T08:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: HAB event with latest uboot-imx 2021.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1539176#M196483</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Firstly, recommend hanging in uboot's start.s&amp;nbsp; and then use debugger to read HAB memory.&amp;nbsp;It might need to be analyzed in stages, to find where the issue is triggered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 09:55:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-event-with-latest-uboot-imx-2021-04/m-p/1539176#M196483</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-10-18T09:55:26Z</dc:date>
    </item>
  </channel>
</rss>

