<?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 IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1509324#M194096</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to configuring secure boot on IMX6.&lt;/P&gt;&lt;P&gt;I followed the guide (&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga&lt;/A&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;PRE&gt;=&amp;gt; hab_version &lt;BR /&gt;HAB version: 4.2&lt;/PRE&gt;&lt;P&gt;I write the keys in the shadow (the hab_auth_img should work, correct?)&lt;/P&gt;&lt;PRE&gt;=&amp;gt; fuse override 3 0 0xFBA8C054&lt;BR /&gt;Overriding bank 3 word 0x00000000 with 0xfba8c054...&lt;BR /&gt;=&amp;gt; fuse override 3 1 0x0EBA35D4&lt;BR /&gt;Overriding bank 3 word 0x00000001 with 0x0eba35d4...&lt;BR /&gt;=&amp;gt; fuse override 3 2 0x71EB6B8A&lt;BR /&gt;Overriding bank 3 word 0x00000002 with 0x71eb6b8a...&lt;BR /&gt;=&amp;gt; fuse override 3 3 0xF916FB67&lt;BR /&gt;Overriding bank 3 word 0x00000003 with 0xf916fb67...&lt;BR /&gt;=&amp;gt; fuse override 3 4 0x70AC4FE5&lt;BR /&gt;Overriding bank 3 word 0x00000004 with 0x70ac4fe5...&lt;BR /&gt;=&amp;gt; fuse override 3 5 0x71840DDE&lt;BR /&gt;Overriding bank 3 word 0x00000005 with 0x71840dde...&lt;BR /&gt;=&amp;gt; fuse override 3 6 0x7068C921&lt;BR /&gt;Overriding bank 3 word 0x00000006 with 0x7068c921...&lt;BR /&gt;=&amp;gt; fuse override 3 7 0xAB611F8B&lt;BR /&gt;Overriding bank 3 word 0x00000007 with 0xab611f8b...&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I read the kernel image from sdcard to loaddaddress 0x80800000, then I check that at the end of the image we found the IVT and then that the CSF that is all inside. Everything looks good here-&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;=&amp;gt; read mmc 1 $loadaddr 4000 5808&lt;BR /&gt;=&amp;gt; md 81300000 20&lt;BR /&gt;81300000: 412000d1 80800000 00000000 00000000 .. A............&lt;BR /&gt;81300010: 00000000 81300000 81300020 00000000 ......0. .0.....&lt;BR /&gt;81300020: 423800d4 000c00be 00001703 38000000 ..8B...........8&lt;BR /&gt;81300030: 000c00ca 001dc501 cc070000 001400ca ................&lt;BR /&gt;81300040: 001dc500 cc090000 00008080 2000b000 ............... &lt;BR /&gt;81300050: 1d0800b2 02000000 404004d7 210f01e1 ..........@@...!&lt;BR /&gt;81300060: 00000000 03000001 9d199b9f 10844e79 ............yN..&lt;BR /&gt;81300070: c8ba9df7 b5b4ae3a 4376c6c8 6aed44c7 ....:.....vC.D.j&lt;BR /&gt;=&amp;gt; md 81300bc0 16&lt;BR /&gt;81300bc0: b17dd47f 62ca77cc ed2d753b df955029 ..}..w.b;u-.)P..&lt;BR /&gt;81300bd0: 54d59846 8dd7c131 cd94da1d edda1953 F..T1.......S...&lt;BR /&gt;81300be0: 2b6384be f91d7c4c bc1bb014 00000000 ..c+L|..........&lt;BR /&gt;81300bf0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;81300c00: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;81300c10: 00000000 00000000 ........&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I check the current status, there are already two events, probably because the u-boot raise same issue, but at startup the fuse was not set.&lt;/DIV&gt;&lt;PRE&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;0xdb 0x00 0x14 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x0c 0x00 0x01 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x07 0xcc&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&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;0xdb 0x00 0x1c 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x14 0x00 0x00 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x09 0xcc 0x87 0x7f 0xf4 0x00&lt;BR /&gt;0x00 0x08 0x2c 0x00&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I start the hab_auth_img and I get two events&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;=&amp;gt; hab_auth_img 80800000 00B00BF0 00B00000&lt;BR /&gt;hab fuse not enabled&lt;BR /&gt;&lt;BR /&gt;Authenticate image from DDR location 0x80800000...&lt;BR /&gt;Secure boot disabled&lt;BR /&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;BR /&gt;&lt;BR /&gt;[ ... omissis ... ]&lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x0c 0x00 0x01 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x07 0xcc&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x1c 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x14 0x00 0x00 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x09 0xcc 0x80 0x80 0x00 0x00&lt;BR /&gt;0x00 0xb0 0x00 0x20&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;I'm getting this Hab Unsupported Engine error, I don't know if I get this because I'm using the fuse override , or if I produced a bad certificate.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Someone can help me with this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The cfs file is:&lt;/P&gt;&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "/secure-boot/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install NOCAK]&lt;BR /&gt;File = "/secure-boot/crts/SRK1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Authenticate Start Address, Offset, Length and file&lt;BR /&gt;Blocks = 0x80800000 0x00000000 0x00B00020 "zImage-signed"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CFS with full key was this&lt;/P&gt;&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "/board/emotiq/secure-boot/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;# Key used to authenticate the CSF data&lt;BR /&gt;File = "/secure-boot/crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Install Key]&lt;BR /&gt;# Key slot index used to authenticate the key to be installed&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Target key slot in HAB key store where key will be installed&lt;BR /&gt;Target Index = 2&lt;BR /&gt;# Key to install&lt;BR /&gt;File= "/secure-boot/crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 2&lt;BR /&gt;# Authenticate Start Address, Offset, Length and file&lt;BR /&gt;Blocks = 0x80800000 0x00000000 0x00B00020 "zImage-signed"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 06:33:41 GMT</pubDate>
    <dc:creator>cristiansicilia</dc:creator>
    <dc:date>2022-08-23T06:33:41Z</dc:date>
    <item>
      <title>IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1509324#M194096</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to configuring secure boot on IMX6.&lt;/P&gt;&lt;P&gt;I followed the guide (&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.78_1.0.0_ga&lt;/A&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;PRE&gt;=&amp;gt; hab_version &lt;BR /&gt;HAB version: 4.2&lt;/PRE&gt;&lt;P&gt;I write the keys in the shadow (the hab_auth_img should work, correct?)&lt;/P&gt;&lt;PRE&gt;=&amp;gt; fuse override 3 0 0xFBA8C054&lt;BR /&gt;Overriding bank 3 word 0x00000000 with 0xfba8c054...&lt;BR /&gt;=&amp;gt; fuse override 3 1 0x0EBA35D4&lt;BR /&gt;Overriding bank 3 word 0x00000001 with 0x0eba35d4...&lt;BR /&gt;=&amp;gt; fuse override 3 2 0x71EB6B8A&lt;BR /&gt;Overriding bank 3 word 0x00000002 with 0x71eb6b8a...&lt;BR /&gt;=&amp;gt; fuse override 3 3 0xF916FB67&lt;BR /&gt;Overriding bank 3 word 0x00000003 with 0xf916fb67...&lt;BR /&gt;=&amp;gt; fuse override 3 4 0x70AC4FE5&lt;BR /&gt;Overriding bank 3 word 0x00000004 with 0x70ac4fe5...&lt;BR /&gt;=&amp;gt; fuse override 3 5 0x71840DDE&lt;BR /&gt;Overriding bank 3 word 0x00000005 with 0x71840dde...&lt;BR /&gt;=&amp;gt; fuse override 3 6 0x7068C921&lt;BR /&gt;Overriding bank 3 word 0x00000006 with 0x7068c921...&lt;BR /&gt;=&amp;gt; fuse override 3 7 0xAB611F8B&lt;BR /&gt;Overriding bank 3 word 0x00000007 with 0xab611f8b...&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I read the kernel image from sdcard to loaddaddress 0x80800000, then I check that at the end of the image we found the IVT and then that the CSF that is all inside. Everything looks good here-&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;=&amp;gt; read mmc 1 $loadaddr 4000 5808&lt;BR /&gt;=&amp;gt; md 81300000 20&lt;BR /&gt;81300000: 412000d1 80800000 00000000 00000000 .. A............&lt;BR /&gt;81300010: 00000000 81300000 81300020 00000000 ......0. .0.....&lt;BR /&gt;81300020: 423800d4 000c00be 00001703 38000000 ..8B...........8&lt;BR /&gt;81300030: 000c00ca 001dc501 cc070000 001400ca ................&lt;BR /&gt;81300040: 001dc500 cc090000 00008080 2000b000 ............... &lt;BR /&gt;81300050: 1d0800b2 02000000 404004d7 210f01e1 ..........@@...!&lt;BR /&gt;81300060: 00000000 03000001 9d199b9f 10844e79 ............yN..&lt;BR /&gt;81300070: c8ba9df7 b5b4ae3a 4376c6c8 6aed44c7 ....:.....vC.D.j&lt;BR /&gt;=&amp;gt; md 81300bc0 16&lt;BR /&gt;81300bc0: b17dd47f 62ca77cc ed2d753b df955029 ..}..w.b;u-.)P..&lt;BR /&gt;81300bd0: 54d59846 8dd7c131 cd94da1d edda1953 F..T1.......S...&lt;BR /&gt;81300be0: 2b6384be f91d7c4c bc1bb014 00000000 ..c+L|..........&lt;BR /&gt;81300bf0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;81300c00: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;81300c10: 00000000 00000000 ........&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I check the current status, there are already two events, probably because the u-boot raise same issue, but at startup the fuse was not set.&lt;/DIV&gt;&lt;PRE&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;0xdb 0x00 0x14 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x0c 0x00 0x01 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x07 0xcc&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&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;0xdb 0x00 0x1c 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x14 0x00 0x00 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x09 0xcc 0x87 0x7f 0xf4 0x00&lt;BR /&gt;0x00 0x08 0x2c 0x00&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I start the hab_auth_img and I get two events&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;=&amp;gt; hab_auth_img 80800000 00B00BF0 00B00000&lt;BR /&gt;hab fuse not enabled&lt;BR /&gt;&lt;BR /&gt;Authenticate image from DDR location 0x80800000...&lt;BR /&gt;Secure boot disabled&lt;BR /&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;BR /&gt;&lt;BR /&gt;[ ... omissis ... ]&lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x14 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x0c 0x00 0x01 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x07 0xcc&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;BR /&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt;0xdb 0x00 0x1c 0x42 0x69 0x0a 0xc0 0x00&lt;BR /&gt;0xca 0x00 0x14 0x00 0x00 0xc5 0x1d 0x00&lt;BR /&gt;0x00 0x00 0x09 0xcc 0x80 0x80 0x00 0x00&lt;BR /&gt;0x00 0xb0 0x00 0x20&lt;BR /&gt;&lt;BR /&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_UNS_ENGINE (0x0A)&lt;BR /&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;I'm getting this Hab Unsupported Engine error, I don't know if I get this because I'm using the fuse override , or if I produced a bad certificate.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Someone can help me with this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The cfs file is:&lt;/P&gt;&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "/secure-boot/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install NOCAK]&lt;BR /&gt;File = "/secure-boot/crts/SRK1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Authenticate Start Address, Offset, Length and file&lt;BR /&gt;Blocks = 0x80800000 0x00000000 0x00B00020 "zImage-signed"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CFS with full key was this&lt;/P&gt;&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "/board/emotiq/secure-boot/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;# Key used to authenticate the CSF data&lt;BR /&gt;File = "/secure-boot/crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Install Key]&lt;BR /&gt;# Key slot index used to authenticate the key to be installed&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Target key slot in HAB key store where key will be installed&lt;BR /&gt;Target Index = 2&lt;BR /&gt;# Key to install&lt;BR /&gt;File= "/secure-boot/crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 2&lt;BR /&gt;# Authenticate Start Address, Offset, Length and file&lt;BR /&gt;Blocks = 0x80800000 0x00000000 0x00B00020 "zImage-signed"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1509324#M194096</guid>
      <dc:creator>cristiansicilia</dc:creator>
      <dc:date>2022-08-23T06:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1511671#M194270</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/42048"&gt;@cristiansicilia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; I write the keys in the shadow (the hab_auth_img should work, correct?)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In general, We do blow fuse and comparing SRK Hash. As you see the example in the guide.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp;HAB_UNS_ENGINE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What chip of i.MX6 you're performing? It'll be SW if that is i.MX6ULL.&lt;/SPAN&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 10:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1511671#M194270</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-08-25T10:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1512545#M194346</link>
      <description>&lt;P&gt;The CPU is IMX6ULL (MCIMX6Y2DVM09AB), what mean "is the SW", that it do not support the secure-boot?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 18:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1512545#M194346</guid>
      <dc:creator>cristiansicilia</dc:creator>
      <dc:date>2022-08-26T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1512802#M194369</link>
      <description>&lt;PRE&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;&lt;STRONG&gt;Engine = CAAM&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;It still supports secure boot, just change the "Engine" to SW instead of CAAM.&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>Mon, 29 Aug 2022 02:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1512802#M194369</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-08-29T02:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1513139#M194398</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192970"&gt;@Harvey021&lt;/a&gt; for reply,&lt;/P&gt;&lt;P&gt;I changed it to `Engine SW`, but there are something strange.&lt;/P&gt;&lt;P&gt;I tried at startup to load an image, and check it (without setup any fuse), and I obtain this:&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;Hit any key to stop autoboot: 0
=&amp;gt; hab_status

Secure boot disabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!

=&amp;gt; read mmc 1 $loadaddr 4000 5808
=&amp;gt; md 81300000 20
81300000: 412000d1 80800000 00000000 00000000 .. A............
81300010: 00000000 81300000 81300020 00000000 ......0. .0.....
81300020: 423000d4 000c00be 00001703 30000000 ..0B...........0
81300030: 000c00ca 00ffc501 c4070000 001400ca ................
81300040: 00ffc500 c4090000 00008080 2000b000 ...............
81300050: 404004d7 210f01e1 00000000 03000001 ..@@...!........
81300060: 9d199b9f 10844e79 c8ba9df7 b5b4ae3a ....yN......:...
81300070: 4376c6c8 6aed44c7 8ea56094 8d0d6981 ..vC.D.j.`...i..
=&amp;gt; md 81300bc0 16
81300bc0: df650e07 ea875d19 bca01b57 d61a73e4 ..e..]..W....s..
81300bd0: 63f848ec eb1405b0 2734f114 3dd2e483 .H.c......4'...=
81300be0: a74f0db9 00000000 00000000 00000000 ..O.............
81300bf0: 00000000 00000000 00000000 00000000 ................
81300c00: 00000000 00000000 00000000 00000000 ................
81300c10: 00000000 00000000 ........
hab_auth_img 80800000 00B00BF0 00B00000

hab fuse not enabled

Authenticate image from DDR location 0x80800000...

Secure boot disabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But overriding the fuse, I get the same result&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=&amp;gt; fuse override 3 0 0xFBA8C054
Overriding bank 3 word 0x00000000 with 0xfba8c054...
=&amp;gt; fuse override 3 1 0x0EBA35D4
Overriding bank 3 word 0x00000001 with 0x0eba35d4...
=&amp;gt; fuse override 3 2 0x71EB6B8A
Overriding bank 3 word 0x00000002 with 0x71eb6b8a...
=&amp;gt; fuse override 3 3 0xF916FB67
Overriding bank 3 word 0x00000003 with 0xf916fb67...
=&amp;gt; fuse override 3 4 0x70AC4FE5
Overriding bank 3 word 0x00000004 with 0x70ac4fe5...
=&amp;gt; fuse override 3 5 0x71840DDE
Overriding bank 3 word 0x00000005 with 0x71840dde...
=&amp;gt; fuse override 3 6 0x7068C921
Overriding bank 3 word 0x00000006 with 0x7068c921...
=&amp;gt; fuse override 3 7 0xAB611F8B
Overriding bank 3 word 0x00000007 with 0xab611f8b...
=&amp;gt; read mmc 1 $loadaddr 4000 5808
=&amp;gt; hab_auth_img 80800000 00B00BF0 00B00000
hab fuse not enabled

Authenticate image from DDR location 0x80800000...

Secure boot disabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And also overriding the secure-boot enabled flag&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=&amp;gt; fuse override 3 0 0
Overriding bank 3 word 0x00000000 with 0x00000000...
=&amp;gt; hab_auth_img_or_fail 80800000 00B00BF0 00B00000

Authenticate image from DDR location 0x80800000...

Secure boot enabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reset every key, but looks the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=&amp;gt; fuse override 3 1 0                            
Overriding bank 3 word 0x00000001 with 0x00000000...
=&amp;gt; fuse override 3 2 0
Overriding bank 3 word 0x00000002 with 0x00000000...
=&amp;gt; fuse override 3 3 0
Overriding bank 3 word 0x00000003 with 0x00000000...
=&amp;gt; fuse override 3 4 0
Overriding bank 3 word 0x00000004 with 0x00000000...
=&amp;gt; fuse override 3 5 0
Overriding bank 3 word 0x00000005 with 0x00000000...
=&amp;gt; fuse override 3 6 0
Overriding bank 3 word 0x00000006 with 0x00000000...
=&amp;gt; fuse override 3 7 0
Overriding bank 3 word 0x00000007 with 0x00000000...
=&amp;gt; hab_auth_img_or_fail 80800000 00B00BF0 00B00000

Authenticate image from DDR location 0x80800000...

Secure boot enabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!

=&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was expected to se an event if I do not set any keys, but looks accept everything&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 11:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1513139#M194398</guid>
      <dc:creator>cristiansicilia</dc:creator>
      <dc:date>2022-08-29T11:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1515460#M194604</link>
      <description>&lt;P&gt;Anyone know why I don't see any events when I do not specify any key?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 09:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1515460#M194604</guid>
      <dc:creator>cristiansicilia</dc:creator>
      <dc:date>2022-09-01T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1517956#M194820</link>
      <description>&lt;P&gt;I try also ANY engine, but it doesn't work.&lt;/P&gt;&lt;P&gt;The Engine = SW looks like a never fail, anyone can help me with this?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 20:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1517956#M194820</guid>
      <dc:creator>cristiansicilia</dc:creator>
      <dc:date>2022-09-06T20:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 HAB test kernel with fuse override HAB_UNS_ENGINE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1840895#M222134</link>
      <description>&lt;P&gt;Any update on this topic?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 15:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-HAB-test-kernel-with-fuse-override-HAB-UNS-ENGINE/m-p/1840895#M222134</guid>
      <dc:creator>jelenas</dc:creator>
      <dc:date>2024-04-04T15:42:57Z</dc:date>
    </item>
  </channel>
</rss>

