<?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: imx8mm HAB Questions</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-HAB-Questions/m-p/1970853#M229484</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The main features supported by the HABv4 are:&lt;BR /&gt;• Authentication of software loaded from any boot device supported, including the Serial Download Protocol (SDP).&lt;BR /&gt;• Authenticated USB download fail-over on any security failure.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 03:20:23 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2024-10-10T03:20:23Z</dc:date>
    <item>
      <title>imx8mm HAB Questions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-HAB-Questions/m-p/1967732#M229328</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I have a few questions about how to use the meta-secure-boot layer from the i.MX8M security reference design.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do I prove that the U-Boot SPL is correctly checked by the HAB at boot when loading via uuu?&lt;/LI&gt;&lt;LI&gt;Is it enough that it starts and that I see the "U-Boot SPL 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000)" banner?&lt;BR /&gt;There doesn't seem to be an early printing of the HAB status at that stage, so I have concerns about it having the correct signing information and I would not want to set the device to closed state before knowing for sure that the SPL is correctly signed. The board is currently open, so it starts the SPL regardless of whether the HAB signing data is correct.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is it possible to load the &lt;/SPAN&gt;&lt;SPAN&gt;`signed-imx-boot-imx8mm-ebp001-sd.bin-flash_evk`&lt;/SPAN&gt;&lt;SPAN&gt; via uuu while developing or does uuu somehow alter the transmitted data, which then breaks HAB?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Is it possible to load the `signed-Image-imx8mm-ebp001.bin` U-Boot via uuu while developing?&lt;/LI&gt;&lt;LI&gt;Or, do I need to flash the full `core-image-minimal-secure-boot-imx8mm-ebp001.rootfs.wic.zst` file to eMMC and make sure that my development board is booting directly from eMMC when it powers on?&lt;/LI&gt;&lt;LI&gt;In other words, is the security reference design targeting a flash boot rather than a USB SDP boot?&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;I'm using the meta-secure-boot layer with no changes, and the CST and its keys seem to all be recognized and used correctly after I set up the `csf_hab4.cfg` to point to them. The bitbake command completes without error.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I seem to be getting HAB Events with our images when loading these signed objects with a uuu script containing roughly the following instructions and the default loading addresses:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Use signed image even on open dev boards&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;SDP: boot -f "signed-imx-boot-imx8mm-ebp001-sd.bin-flash_evk"&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;SDPV: delay 1000&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;SDPV: write -f "signed-imx-boot-imx8mm-ebp001-sd.bin-flash_evk" -skipspl&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;SDPV: jump&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# -----------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Boot to eMMC&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# -----------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Kernel location, plain kernel, no initramfs&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# loadaddr=0x40400000&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: delay 1000&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: download -f signed-Image-imx8mm-ebp001.bin&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Device Tree location&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# fdt_addr=0x43000000&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: ucmd setenv fastboot_buffer ${fdt_addr}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: download -f imx8mm-ebp001.dtb&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Booting from eMMC:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;# Set root= to correct mmcblk0 partition&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: ucmd setenv bootargs console=ttymxc1,115200 root=/dev/mmcblk2p2 debug ignore_loglevel&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;FB: acmd booti ${loadaddr} - ${fdt_addr}&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I see the following HAB Event:&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;--------- HAB Event 1 -----------------&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;event data:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0xdb 0x00 0x08 0x43 0x33 0x05 0x0a 0x00&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;RSN = HAB_INV_IVT (0x05)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;CTX = HAB_CTX_AUTHENTICATE (0x0A)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Oct 2024 08:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-HAB-Questions/m-p/1967732#M229328</guid>
      <dc:creator>maxvde</dc:creator>
      <dc:date>2024-10-07T08:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm HAB Questions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-HAB-Questions/m-p/1970853#M229484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The main features supported by the HABv4 are:&lt;BR /&gt;• Authentication of software loaded from any boot device supported, including the Serial Download Protocol (SDP).&lt;BR /&gt;• Authenticated USB download fail-over on any security failure.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 03:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-HAB-Questions/m-p/1970853#M229484</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-10-10T03:20:23Z</dc:date>
    </item>
  </channel>
</rss>

