<?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: i.MX6UL Secureboot SPL Verification in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1762608#M216262</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226011"&gt;@pirors&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide your image with signed and non-signed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 10:08:06 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2023-11-23T10:08:06Z</dc:date>
    <item>
      <title>i.MX6UL Secureboot SPL Verification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1760513#M216071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are trying to add secureboot to our i.MX6UL-Board. The verification of the linux-image and u-boot seems to work just fine, but loading the SPL from SPI-Flash still generates 2 HAB-Events:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;=&amp;gt; hab_status &lt;BR /&gt;&lt;BR /&gt;Secure boot disabled &lt;BR /&gt;&lt;BR /&gt;HAB Configuration: 0xf0, HAB State: 0x66 &lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 1 ----------------- &lt;BR /&gt;event data: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00 0x00 0x00 0x0f 0x00 0x90 0x68 0xe8 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x10 0x00 0x00 0x00 &lt;BR /&gt;&lt;BR /&gt;STS = HAB_FAILURE (0x33) &lt;BR /&gt;RSN = HAB_INV_ADDRESS (0x22) &lt;BR /&gt;CTX = HAB_CTX_TARGET (0x33) &lt;BR /&gt;ENG = HAB_ENG_ANY (0x00) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 2 ----------------- &lt;BR /&gt;event data: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00 0x00 0x00 0x0f 0x00 0x90 0x68 0xe8 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00 0x01 0x10 0x60 &lt;BR /&gt;&lt;BR /&gt;STS = HAB_FAILURE (0x33) &lt;BR /&gt;RSN = HAB_INV_ADDRESS (0x22) &lt;BR /&gt;CTX = HAB_CTX_TARGET (0x33) &lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;However, loading SPL + u-boot to RAM using SDP works fine (Secureboot-Fuse still disabled):&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;=&amp;gt; hab_status &lt;BR /&gt;&lt;BR /&gt;Secure boot disabled &lt;BR /&gt;&lt;BR /&gt;HAB Configuration: 0xf0, HAB State: 0x66 &lt;BR /&gt;No HAB Events Found!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The address in the HAB-Events (0x00, 0x90, 0x68, 0xe8) looks like the first data of SPL:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;hexdump -C SPL.signed | head -n 4&lt;BR /&gt;&lt;BR /&gt;00000000 &amp;nbsp;d1 00 20 40 00 80 90 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|.. @............| &lt;BR /&gt;00000010 &amp;nbsp;08 79 90 00 e8 78 90 00 &amp;nbsp;e8 58 91 00 00 00 00 00 &amp;nbsp;|.y...x...X......| &lt;BR /&gt;00000020 &amp;nbsp;e8 68 90 00 60 10 01 00 &amp;nbsp;00 00 00 00 d2 00 04 40 &amp;nbsp;|.h..`..........@| &lt;BR /&gt;00000030 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;BR /&gt;&lt;/SPAN&gt;...&lt;/PRE&gt;&lt;P&gt;The corresponding CSF:&lt;/P&gt;&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.1&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;File = "SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;File = "CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Install Key]&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target Index = 2&lt;BR /&gt;File= "IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x009078e8 0x00000000 0x0000e000 "SPL"&lt;BR /&gt;&lt;BR /&gt;[Unlock]&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Features = RNG&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea, why the HAB-Events occur?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 09:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1760513#M216071</guid>
      <dc:creator>pirors</dc:creator>
      <dc:date>2023-11-21T09:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL Secureboot SPL Verification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1762608#M216262</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226011"&gt;@pirors&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide your image with signed and non-signed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 10:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1762608#M216262</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-11-23T10:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL Secureboot SPL Verification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1762622#M216265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192970"&gt;@Harvey021&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've sent you the SPL as message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 10:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1762622#M216265</guid>
      <dc:creator>pirors</dc:creator>
      <dc:date>2023-11-23T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL Secureboot SPL Verification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1763284#M216340</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this address and range, and then align the entry address to make sure it is in a valid ocram area.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harvey021_0-1700820503618.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251422iE0F98953A5721C52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harvey021_0-1700820503618.png" alt="Harvey021_0-1700820503618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Which boot media you use, SPI? -&amp;nbsp;&lt;SPAN&gt;the signed SDP SPL-image (created the same way, only other configuration) does not generate any HAB-Events when booting over serial.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1763284#M216340</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-11-24T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL Secureboot SPL Verification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1763295#M216343</link>
      <description>&lt;P&gt;The boot media is QSPI-Flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After changing the location and size:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;hab fuse not enabled &lt;BR /&gt;&lt;BR /&gt;Authenticate image from DDR location 0x90000000... &lt;BR /&gt;&lt;BR /&gt;Secure boot disabled &lt;BR /&gt;&lt;BR /&gt;HAB Configuration: 0xf0, HAB State: 0x66 &lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 1 ----------------- &lt;BR /&gt;event data: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00 0x00 0x00 0x0f 0x00 0x90 0x70 0x00 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x10 0x00 0x00 0x00 &lt;BR /&gt;&lt;BR /&gt;STS = HAB_FAILURE (0x33) &lt;BR /&gt;RSN = HAB_INV_ADDRESS (0x22) &lt;BR /&gt;CTX = HAB_CTX_TARGET (0x33) &lt;BR /&gt;ENG = HAB_ENG_ANY (0x00) &lt;BR /&gt;&lt;BR /&gt;## Loading kernel from FIT Image at 90000000 ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Still one message, which says (if I'm right): Invalid size of 256Mb at location 0x907000? Why 256Mb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 12:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-Secureboot-SPL-Verification/m-p/1763295#M216343</guid>
      <dc:creator>pirors1</dc:creator>
      <dc:date>2023-11-24T12:43:36Z</dc:date>
    </item>
  </channel>
</rss>

