<?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: imx6q secure boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617964#M202920</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212816"&gt;@rakesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems no DCD block entry in your CSF, then try not use SDP mode.&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>Sat, 18 Mar 2023 12:23:31 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2023-03-18T12:23:31Z</dc:date>
    <item>
      <title>imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1615463#M202747</link>
      <description>&lt;P&gt;Hi team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide the latest document to follow for signing the u-boot (v-2021) and kernel(v- 5.10) image for secure boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rk&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 06:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1615463#M202747</guid>
      <dc:creator>rakesh3</dc:creator>
      <dc:date>2023-03-15T06:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617292#M202879</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212816"&gt;@rakesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the link (&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=lf_v2021.04" target="_blank" rel="noopener"&gt;habv4\imx\doc - uboot-imx - i.MX U-Boot (codeaurora.org)&lt;/A&gt;) for guides.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 03:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617292#M202879</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-03-17T03:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617398#M202889</link>
      <description>&lt;P&gt;Hi Harvey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for doc.&lt;/P&gt;&lt;P&gt;I am having below u-boot-dtb.imx.log file .&lt;/P&gt;&lt;P&gt;Image Type: Freescale IMX Boot Image&lt;BR /&gt;&amp;nbsp;Image Ver: 2 (i.MX53/6/7 compatible)&lt;BR /&gt;&amp;nbsp;Mode: DCD&lt;BR /&gt;&amp;nbsp;Data Size: 610400 Bytes = 596.09 KiB = 0.58 MiB&lt;BR /&gt;&amp;nbsp;Load Address: 177ff420&lt;BR /&gt;&amp;nbsp;Entry Point: 17800000&lt;BR /&gt;&amp;nbsp;HAB Blocks: 0x177ff400 0x00000000 0x00092c00&lt;BR /&gt;&amp;nbsp;DCD Blocks: 0x00910000 0x0000002c 0x000002f8&lt;/P&gt;&lt;P&gt;and i am using the below csf-uboot.txt file as CSF&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;[Header]&lt;BR /&gt;&amp;nbsp;Version = 4.2&lt;BR /&gt;&amp;nbsp;Hash Algorithm = sha256&lt;BR /&gt;&amp;nbsp;Engine Configuration = 0&lt;BR /&gt;&amp;nbsp;Certificate Format = X509&lt;BR /&gt;&amp;nbsp;Signature Format = CMS&lt;BR /&gt;&amp;nbsp;Engine = CAAM&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;[Install SRK]&lt;BR /&gt;&amp;nbsp;# Index of the key location in the SRK table to be installed&lt;BR /&gt;&amp;nbsp;File = "../../crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;&amp;nbsp;Source index = 0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;[Install CSFK]&lt;BR /&gt;&amp;nbsp;# Key used to authenticate the CSF data&lt;BR /&gt;&amp;nbsp;File = "../../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;[Install Key]&lt;BR /&gt;&amp;nbsp;# Key slot index used to authenticate the key to be installed&lt;BR /&gt;&amp;nbsp;Verification index = 0&lt;BR /&gt;&amp;nbsp;# Target key slot in HAB key store where key will be installed&lt;BR /&gt;&amp;nbsp;Target Index = 2&lt;BR /&gt;&amp;nbsp;# Key to install&lt;BR /&gt;&amp;nbsp;File= "../../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;[Authenticate Data]&lt;BR /&gt;&amp;nbsp;# Key slot index used to authenticate the image data&lt;BR /&gt;&amp;nbsp;Verification index = 2&lt;BR /&gt;&amp;nbsp;# Authenticate Start Address, Offset, Length and file&lt;BR /&gt;&amp;nbsp;Blocks = 0x177ff400 0x00000000 0x00092c00 "u-boot-dtb.imx"&lt;/P&gt;&lt;P&gt;I think i am correct on Blocks field of Authentication same as HAB block in u-boot-dtb.imx.log file but unfortunately i am still getting the below HAB error.&lt;/P&gt;&lt;P&gt;MX6 HORIZON U-Boot &amp;gt; hab_status&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x24 0x42 0x69 0x30 0xe1 0x1d&lt;BR /&gt;0x00 0x04 0x00 0x02 0x40 0x00 0x36 0x06&lt;BR /&gt;0x55 0x55 0x00 0x03 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_ENG_FAIL (0x30)&lt;BR /&gt;CTX = HAB_CTX_ENTRY (0xE1)&lt;BR /&gt;ENG = HAB_ENG_CAAM (0x1D)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 2 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x00&lt;BR /&gt;0x00 0x00 0x00 0x20&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x2c&lt;BR /&gt;0x00 0x00 0x02 0xf8&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x20&lt;BR /&gt;0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 5 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x80 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x04&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 6 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x21 0xc0 0x00&lt;BR /&gt;0xbe 0x00 0x0c 0x00 0x03 0x17 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x48&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_CERTIFICATE (0x21)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;MX6 HORIZON U-Boot &amp;gt;&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x24 0x42 0x69 0x30 0xe1 0x1d&lt;BR /&gt;0x00 0x04 0x00 0x02 0x40 0x00 0x36 0x06&lt;BR /&gt;0x55 0x55 0x00 0x03 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_ENG_FAIL (0x30)&lt;BR /&gt;CTX = HAB_CTX_ENTRY (0xE1)&lt;BR /&gt;ENG = HAB_ENG_CAAM (0x1D)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 2 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x00&lt;BR /&gt;0x00 0x00 0x00 0x20&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x2c&lt;BR /&gt;0x00 0x00 0x02 0xf8&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x20&lt;BR /&gt;0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 5 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x17 0x80 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x04&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 6 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x33 0x21 0xc0 0x00&lt;BR /&gt;0xbe 0x00 0x0c 0x00 0x03 0x17 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x48&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_CERTIFICATE (0x21)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;I check cert DOC on these errors . Its coming because of invalid signature of IVT, DCD or data block and invalid certificate .. But i pretty sure i am following the same doc (&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=lf_v2021.04)to" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=lf_v2021.04)to&lt;/A&gt; create the u-boot signature.&lt;/P&gt;&lt;P&gt;Could you please help me in this issue, i am using imx6q.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rk&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 07:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617398#M202889</guid>
      <dc:creator>rakesh3</dc:creator>
      <dc:date>2023-03-17T07:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617964#M202920</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212816"&gt;@rakesh3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems no DCD block entry in your CSF, then try not use SDP mode.&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>Sat, 18 Mar 2023 12:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1617964#M202920</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-03-18T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618146#M202934</link>
      <description>&lt;P&gt;Hi Harvey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not using the SDP mode(UUU), i am directly copying the u-boot-signed image to boot partition and then booting it. and getting mentioned events.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it really required to fuse the key using the fuse before running the hab_status cmd or we can check the hab_status events before using the fuse also .?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 05:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618146#M202934</guid>
      <dc:creator>rakesh3</dc:creator>
      <dc:date>2023-03-20T05:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618176#M202937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, it is needed to establish root of trust. You can have a try with openssl tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regardss&lt;/P&gt;&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 06:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618176#M202937</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-03-20T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618181#M202940</link>
      <description>&lt;P&gt;Thanks for reply Harvey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i am getting just one warning in hab_status.&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; hab_status&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x24 0x42 0x69 0x30 0xe1 0x1d&lt;BR /&gt;0x00 0x04 0x00 0x02 0x40 0x00 0x36 0x06&lt;BR /&gt;0x55 0x55 0x00 0x03 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_ENG_FAIL (0x30)&lt;BR /&gt;CTX = HAB_CTX_ENTRY (0xE1)&lt;BR /&gt;ENG = HAB_ENG_CAAM (0x1D)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest how to remove this warning and close the device .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 06:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-secure-boot/m-p/1618181#M202940</guid>
      <dc:creator>rakesh3</dc:creator>
      <dc:date>2023-03-20T06:48:30Z</dc:date>
    </item>
  </channel>
</rss>

