<?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: Trouble activating HAB for i.MX8 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1998828#M231078</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using the Vendor fork for&amp;nbsp;&lt;A href="https://github.com/Avnet/uboot-imx/blob/maaxboard_v2020.04_5.4.24_2.1.0/doc/imx/habv4/guides/mx8m_secure_boot.txt" target="_self"&gt;maaxboard_v2020.04_5.4.24_2.1.0&lt;/A&gt;&amp;nbsp;and experience &lt;EM&gt;exactly&lt;/EM&gt; the same as above!&lt;/P&gt;&lt;P&gt;Just "CONFIG_AHAB_BOOT=y" fails to build ("undefined reference to `sec_init'") and adding the extra configs as listed above&amp;nbsp; ("CONFIG_SPL_CRYPTO_SUPPORT=y") achieves a build, but at execution we also see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error binding driver 'caam_jr': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've raised this as a separate query:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX8M-High-Assurance-Boot-HAB-failing-with-CAAM-error/m-p/1996281/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE0zTVdMSk5LRDRQT0lEfDE5OTYyODF8U1VCU0NSSVBUSU9OU3xoSw#M230932" target="_self"&gt;IMX8M-High-Assurance-Boot-HAB-failing-with-CAAM-error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, since you have faced exactly the same, was wondering if you have any clues or guidance on how to fix this?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 10:43:09 GMT</pubDate>
    <dc:creator>Bill-James-Ellis</dc:creator>
    <dc:date>2024-11-21T10:43:09Z</dc:date>
    <item>
      <title>Trouble activating HAB for i.MX8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1514413#M194502</link>
      <description>&lt;P&gt;I have trouble activating the IMX_HAB feature. I get an&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;undefined reference to `sec_init'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but FSL_CAAM is active. I have tried to search for alle dependencies in menuconfig and after activating a SPL_CRYPTO_SUPPORT, I could finally build. But then when running U-Boot I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error binding driver 'caam_jr': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please list the needed features HAB depends on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1514413#M194502</guid>
      <dc:creator>jclsn</dc:creator>
      <dc:date>2022-08-31T07:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble activating HAB for i.MX8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1515488#M194606</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;Please find the link for all references.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/ahab/guides?h=lf_v2022.04" target="_blank"&gt;guides\ahab\imx\doc - uboot-imx - i.MX U-Boot (codeaurora.org)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for example,&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1.2 Preparing U-Boot to support AHAB secure boot features
----------------------------------------------------------

The U-Boot provides an alternative SPL target for i.MX8 and i.MX8x devices. The
SPL is intended to be used by applications that requires a initial bootloader
prior to initialize the ARM Trusted Firmware (ATF) and the U-Boot proper.

The U-Boot support AHAB functions that are essential to completely authenticate
the flash.bin image. On SPL targets only the SCFW, SPL and M4 IMG are
authenticated at SCU ROM level, in order to authenticate the ATF and U-Boot
proper it's necessary to call the SCU API sc_misc_seco_authenticate() function
at SPL level.

The support is enabled by adding CONFIG_AHAB_BOOT to the defconfig file used
by your target:

  - Defconfig:
    CONFIG_AHAB_BOOT=y
  - Kconfig:
    ARM architecture -&amp;gt; Support i.MX 8 AHAB features
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 09:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1515488#M194606</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-09-01T09:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble activating HAB for i.MX8</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1998828#M231078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using the Vendor fork for&amp;nbsp;&lt;A href="https://github.com/Avnet/uboot-imx/blob/maaxboard_v2020.04_5.4.24_2.1.0/doc/imx/habv4/guides/mx8m_secure_boot.txt" target="_self"&gt;maaxboard_v2020.04_5.4.24_2.1.0&lt;/A&gt;&amp;nbsp;and experience &lt;EM&gt;exactly&lt;/EM&gt; the same as above!&lt;/P&gt;&lt;P&gt;Just "CONFIG_AHAB_BOOT=y" fails to build ("undefined reference to `sec_init'") and adding the extra configs as listed above&amp;nbsp; ("CONFIG_SPL_CRYPTO_SUPPORT=y") achieves a build, but at execution we also see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error binding driver 'caam_jr': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind
Error binding driver 'simple_bus': -96
Some drivers failed to bind&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've raised this as a separate query:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX8M-High-Assurance-Boot-HAB-failing-with-CAAM-error/m-p/1996281/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE0zTVdMSk5LRDRQT0lEfDE5OTYyODF8U1VCU0NSSVBUSU9OU3xoSw#M230932" target="_self"&gt;IMX8M-High-Assurance-Boot-HAB-failing-with-CAAM-error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, since you have faced exactly the same, was wondering if you have any clues or guidance on how to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trouble-activating-HAB-for-i-MX8/m-p/1998828#M231078</guid>
      <dc:creator>Bill-James-Ellis</dc:creator>
      <dc:date>2024-11-21T10:43:09Z</dc:date>
    </item>
  </channel>
</rss>

