<?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のトピックAuthenticating and booting AHAB-signed kernel on i.MX93</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2301313#M243646</link>
    <description>&lt;P&gt;Hello NXP Community,&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I couldn't find in forums the exact info I need, so I created this post.&lt;BR /&gt;&lt;BR /&gt;In a nutshell:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have AHAB-signed &lt;STRONG&gt;imx-boot&lt;/STRONG&gt; and &lt;STRONG&gt;kernel&lt;/STRONG&gt; for i.MX93.&lt;BR /&gt;&lt;BR /&gt;u-boot boots, but kernel won't.&lt;BR /&gt;&lt;BR /&gt;I haven't written anything in SRK fuses yet... so I expect at least to have a bootable signed kernel and AHAB events generated as a result of different key hashes in signed container and in (empty) SRK fuses. I left writing fuses as the penultimate step... the last one is closing the device.&lt;BR /&gt;&lt;BR /&gt;Here are the problems/questions:&lt;BR /&gt;&lt;BR /&gt;1. &lt;STRONG&gt;auth_cntr&lt;/STRONG&gt; for OS (kernel) container times out... (at least I think so)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt;&lt;STRONG&gt; load mmc 0:3 ${kernel_addr_r} kernel_ahab_signed.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20331520 bytes read in 86 ms (225.5 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt;&lt;STRONG&gt; auth_cntr ${kernel_addr_r}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Authenticate OS container at 0x8ff00000&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mu receive msg wait 1s&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;What does this reply/message mean?&lt;BR /&gt;&lt;BR /&gt;2. There's a warning in offline image verification (see the attached file&amp;nbsp; &lt;STRONG&gt;ahab_kernel_container_verification.txt&lt;/STRONG&gt;), but I don't understand it and I can't tell if it causes error described in (1).&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Is this warning a sign that something is not correct?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;3. &lt;STRONG&gt;What is the proper command for/way of booting AHAB signed kernel?&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;booti&lt;/STRONG&gt; (the one I use right now) gives an error when provided with OS container location in&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;memory:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt; &lt;STRONG&gt;booti ${kernel_addr_r}&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bad Linux ARM64 Image magic!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I tried &lt;STRONG&gt;bootm&lt;/STRONG&gt;, just for check:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Wrong Image Type for bootm command&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ERROR -91: can't get kernel image!&lt;BR /&gt;&lt;BR /&gt;Any suggestion or hint is more than welcome, as are any links to documents explaining proper AHAB boot which I apparently missed &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot to everyone in advance,&lt;BR /&gt;&lt;BR /&gt;Mihajlo&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jan 2026 11:37:15 GMT</pubDate>
    <dc:creator>Mihajlo</dc:creator>
    <dc:date>2026-01-27T11:37:15Z</dc:date>
    <item>
      <title>Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2301313#M243646</link>
      <description>&lt;P&gt;Hello NXP Community,&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I couldn't find in forums the exact info I need, so I created this post.&lt;BR /&gt;&lt;BR /&gt;In a nutshell:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have AHAB-signed &lt;STRONG&gt;imx-boot&lt;/STRONG&gt; and &lt;STRONG&gt;kernel&lt;/STRONG&gt; for i.MX93.&lt;BR /&gt;&lt;BR /&gt;u-boot boots, but kernel won't.&lt;BR /&gt;&lt;BR /&gt;I haven't written anything in SRK fuses yet... so I expect at least to have a bootable signed kernel and AHAB events generated as a result of different key hashes in signed container and in (empty) SRK fuses. I left writing fuses as the penultimate step... the last one is closing the device.&lt;BR /&gt;&lt;BR /&gt;Here are the problems/questions:&lt;BR /&gt;&lt;BR /&gt;1. &lt;STRONG&gt;auth_cntr&lt;/STRONG&gt; for OS (kernel) container times out... (at least I think so)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt;&lt;STRONG&gt; load mmc 0:3 ${kernel_addr_r} kernel_ahab_signed.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20331520 bytes read in 86 ms (225.5 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt;&lt;STRONG&gt; auth_cntr ${kernel_addr_r}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Authenticate OS container at 0x8ff00000&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mu receive msg wait 1s&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;What does this reply/message mean?&lt;BR /&gt;&lt;BR /&gt;2. There's a warning in offline image verification (see the attached file&amp;nbsp; &lt;STRONG&gt;ahab_kernel_container_verification.txt&lt;/STRONG&gt;), but I don't understand it and I can't tell if it causes error described in (1).&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Is this warning a sign that something is not correct?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;3. &lt;STRONG&gt;What is the proper command for/way of booting AHAB signed kernel?&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;booti&lt;/STRONG&gt; (the one I use right now) gives an error when provided with OS container location in&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;memory:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u-boot=&amp;gt; &lt;STRONG&gt;booti ${kernel_addr_r}&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bad Linux ARM64 Image magic!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I tried &lt;STRONG&gt;bootm&lt;/STRONG&gt;, just for check:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Wrong Image Type for bootm command&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ERROR -91: can't get kernel image!&lt;BR /&gt;&lt;BR /&gt;Any suggestion or hint is more than welcome, as are any links to documents explaining proper AHAB boot which I apparently missed &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot to everyone in advance,&lt;BR /&gt;&lt;BR /&gt;Mihajlo&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 11:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2301313#M243646</guid>
      <dc:creator>Mihajlo</dc:creator>
      <dc:date>2026-01-27T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2303254#M243719</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please see below the responses to your questions below:&lt;BR /&gt;1&amp;gt; This message means that the MU received the message, you'll need to wait untill it finish the authentication.&lt;BR /&gt;&lt;BR /&gt;2&amp;gt; The warning seems to be because there is no secondary image, which should be fine.&lt;BR /&gt;&lt;BR /&gt;3&amp;gt; I noticed that you have input only the kernel image address, please try using the following:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;booti ${kernel_addr_r} - ${fdt_addr}&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 21:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2303254#M243719</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-01-29T21:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2303886#M243740</link>
      <description>&lt;P&gt;Hello Aldo,&lt;BR /&gt;&lt;BR /&gt;Thanks for the prompt reply.&lt;BR /&gt;&lt;BR /&gt;I'm glad that the warning 2 is not something to worry about.&lt;BR /&gt;&lt;BR /&gt;However, regarding the point 1, I was not clear enough... u-boot does not wait for container authentification, I just get the u-boot prompt immediately, but I've seen that there should be an answer before new prompt.&lt;BR /&gt;&lt;BR /&gt;So, here's how it looks exactly:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; load mmc 0:3 ${kernel_addr_r} Delem/Boot/os_cntr_signed_yubikey.bin&lt;BR /&gt;20331520 bytes read in 88 ms (220.3 MiB/s)&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; auth_cntr ${kernel_addr_r}&lt;BR /&gt;Authenticate OS container at 0x8ff00000&lt;BR /&gt;mu receive msg wait 1s&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Does this look ok to you? To me, it looks as if the answer, i.e. the result of the authentication, is missing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, regarding the poi&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 15:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2303886#M243740</guid>
      <dc:creator>Mihajlo</dc:creator>
      <dc:date>2026-01-30T15:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2304680#M243764</link>
      <description>&lt;P&gt;Hi Aldo,&lt;BR /&gt;&lt;BR /&gt;I double-checked the boot command/script and performed everything manually (empty lines added for readability). Please note:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;os_cntr_signed_yubikey.bin&lt;/STRONG&gt;&amp;nbsp;is the AHAB-signed kernel container... which also has .dtb in it... so I'm not sure if providing another .dtb in RAM is necessary at all:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; ls mmc 0:3 /Delem/Boot&lt;BR /&gt;&amp;lt;DIR&amp;gt; 4096 .&lt;BR /&gt;&amp;lt;DIR&amp;gt; 4096 ..&lt;BR /&gt;20331520 os_cntr_signed_yubikey.bin&lt;BR /&gt;20331520 os_cntr_signed_cst.bin&lt;BR /&gt;134863824 rootfs.7.img&lt;BR /&gt;40629 imx93-delem.7.dtb&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; load mmc 0:3 ${fdt_addr_r} Delem/Boot/imx93-delem.7.dtb&lt;BR /&gt;40629 bytes read in 1 ms (38.7 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; load mmc 0:3 ${kernel_addr_r} Delem/Boot/os_cntr_signed_yubikey.bin&lt;BR /&gt;20331520 bytes read in 88 ms (220.3 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; load ${bootdev_config} ${loadaddr} Delem/Boot/rootfs.7.img&lt;BR /&gt;134863824 bytes read in 565 ms (227.6 MiB/s)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;u-boot=&amp;gt;&lt;/STRONG&gt; booti ${kernel_addr_r} ${loadaddr} ${fdt_addr_r}&lt;BR /&gt;Bad Linux ARM64 Image magic!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have any idea what might be wrong in this case?&lt;BR /&gt;&lt;BR /&gt;I'm not sure if the container address in RAM should be given to booti, or the container address has to have kernel offset within the container added to it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 13:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2304680#M243764</guid>
      <dc:creator>Mihajlo</dc:creator>
      <dc:date>2026-02-02T13:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2305065#M243787</link>
      <description>&lt;P&gt;I think I might have found the root cause for booti not booting kernel...&lt;BR /&gt;&lt;BR /&gt;Our version of u-boot is based on 2024.04... with additional specific commits.&lt;BR /&gt;&lt;BR /&gt;As far as I could see, AHAB support in booti is available since 2025.04 version of u-boot.&lt;BR /&gt;&lt;BR /&gt;At the moment I'm dealing with switching to 2025.04 for our system, as a proof of concept.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 08:22:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2305065#M243787</guid>
      <dc:creator>Mihajlo</dc:creator>
      <dc:date>2026-02-03T08:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating and booting AHAB-signed kernel on i.MX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2313278#M243879</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry I missed your message, nice catch, yes you're correct this was added on uboot 2025.04, please have a look to the following commit:&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/commit/5da4255f28cdb9c59b0d4380a38e0e2a962b4465" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx/commit/5da4255f28cdb9c59b0d4380a38e0e2a962b4465&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 00:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Authenticating-and-booting-AHAB-signed-kernel-on-i-MX93/m-p/2313278#M243879</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-02-06T00:11:53Z</dc:date>
    </item>
  </channel>
</rss>

