<?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: iMX6 Solo Encrypted Boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1242740#M170580</link>
    <description>&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The cause for the strange address of 0x718 turned out to be because I used 'BOOT_OFFSET FLASH_OFFSET_STANDARD' in my .cfg file. I've now changed to the deprecated 'BOOT_FROM spi', and the the size of the header is 0xc00. Below is the contents of u-boot.imx.log&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image Type: Freescale IMX Boot Image&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image Ver: 2 (i.MX53/6/7 compatible)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mode: DCD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Size: 421888 Bytes = 412.00 KiB = 0.40 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load Address: 177ff420&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Entry Point: 17800000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;HAB Blocks: 0x177ff400 0x00000000 0x00062c00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DCD Blocks: 0x00910000 0x0000002c 0x00000310&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Sadly, encrypted boot still isn't working. I had seen the link you sent to the txt file. The method outlined there is the same as what's described in AN12056 in section 4.3.1.4. I gave it another go just now and the board still isn't booting. I am getting confused by the conflicting information regarding the location of the DEK blob. In the link you sent and in AN12056, it is recommended that the CSF bin is padded to 0x2000 before the dek_blob.bin is appended. &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-board/ta-p/1120029" target="_self"&gt;This&lt;/A&gt; link and &lt;A href="https://boundarydevices.com/high-assurance-boot-hab-dummies/#" target="_self"&gt;this&lt;/A&gt; say that the dek_blob.bin should be within the 0x2000 boundary, otherwise the ROM code won't load the DEK blob. Which is it?&lt;BR /&gt;&lt;BR /&gt;Another thing that's confusing me is that in the link you sent and AN12056, two CSF are used - one for encrypting the image and another for signing the encrypted image. &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-board/ta-p/1120029" target="_self"&gt;This&lt;/A&gt; link and &lt;A href="https://boundarydevices.com/high-assurance-boot-hab-dummies/#" target="_self"&gt;this&lt;/A&gt; seem to use and single CSF to produce a bootable encrypted image. Which way is correct?&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 20:09:13 GMT</pubDate>
    <dc:creator>danielberhe</dc:creator>
    <dc:date>2021-03-09T20:09:13Z</dc:date>
    <item>
      <title>iMX6 Solo Encrypted Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1241388#M170465</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to implement encrypted boot on my custom iMX6 Solo board. Booting a signed uboot is working fine - the issue I'm having is booting an encrypted and signed image. Since my iMX6 is in closed configuration, I can't check for the status as it is just refusing to boot. The reason why I've already closed it is because I originally intended to use just signed uboot but would now like to extend it to have the encryption.&lt;/P&gt;&lt;P&gt;The build log of my uboot (u-boot.imx.log) shows the following values:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Image Type: Freescale IMX Boot Image&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image Ver: 2 (i.MX53/6/7 compatible)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mode: DCD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Size: 450560 Bytes = 440.00 KiB = 0.43 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load Address: 177ff908&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Entry Point: 17800000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;HAB Blocks: 0x177ff8e8 0x00000000 0x00069c00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DCD Blocks: 0x00910000 0x0000002c 0x00000300&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;And I have written the signature CSF file based on the values above. The CSF I use just for signature (and it works fine) is as follows:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Header]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version = 4.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hash Algorithm = sha256&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine Configuration = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Format = X509&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature Format = CMS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine = CAAM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install SRK]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/SRK_1_2_3_4_table.bin"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source index = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install CSFK]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Authenticate CSF]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install Key]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Authenticate Data]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x177ff8e8 0x0 0x69c00 "output/u-boot.imx"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;For the encryption CSF, I modified the signature CSF to include encryption (following example from &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-board/ta-p/1120029" target="_self"&gt;here&lt;/A&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Header]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version = 4.1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hash Algorithm = sha256&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine Configuration = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Format = X509&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature Format = CMS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine = CAAM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install SRK]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/SRK_1_2_3_4_table.bin"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source index = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install CSFK]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Authenticate CSF]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Unlock]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine = CAAM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Features = RNG&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install Key]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File = "crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Authenticate Data]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # I got the 0x718 by subtracting 0x177ff8e8 from 0x17800000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # I also checked u-boot.imx and verified that u-boot.bin is starting at&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # offset 0x718&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x177ff8e8 0x0 0x718 "output/u-boot.imx"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Install Secret Key]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key = "output/dek.bin"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key Length = 128&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Blob address = 0x177ff8e8 + 0x00069c00 (size of u-boot.imx)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # + 0x1f00 (csf binary + padding)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blob Address = 0x1786B3e8&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[Decrypt Data]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mac Bytes = 16&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # I think the 0x6900 below should be u-boot.imx size (0x69c00) minus&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # 0x718 but I was ending up &lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;with length that &lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;isn't a&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # multiple of 16 (cst was complaining)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x17800000 0x718 0x69000 "output/u-boot.imx"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone spot where I might be going wrong?&lt;BR /&gt;&lt;BR /&gt;I have had a look at (and tried) the methods outlined in &lt;A href="https://www.nxp.com/docs/en/application-note/AN12056.pdf" target="_self"&gt;AN12056&lt;/A&gt;, where the image is encrypted first and then signed; signed and then encrypted. Either method didn't produce a different result to when I used the CSF&amp;nbsp; posted above.&lt;BR /&gt;&lt;BR /&gt;I also tried the method outlined in &lt;A href="https://boundarydevices.com/high-assurance-boot-hab-dummies/#" target="_self"&gt;High Assurance Boot (HAB) for Dummies&lt;/A&gt; without success.&lt;BR /&gt;&lt;BR /&gt;I came across a &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Signed-and-encrypted-boot-in-i-MX6UL/m-p/466438" target="_self"&gt;forum&lt;/A&gt; where one of the comments said that the cache should be turned off (icache off, dcache off) before I run the dek_blob command on the board, but this didn't fix the problem I'm having.&lt;BR /&gt;&lt;BR /&gt;One thing that's nagging me is the 0x69000 address I used in the Blocks section of Decrypt Data. I would like to modify uboot so that u-boot.bin starts at a sensible offset other than 0x718 but I haven't figured out how. Does anyone know how I can do this?&lt;BR /&gt;&lt;BR /&gt;I am using mainline U-Boot version 2019.10 and booting off SPI flash.&lt;BR /&gt;&lt;BR /&gt;Any help would be great!&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 10:58:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1241388#M170465</guid>
      <dc:creator>danielberhe</dc:creator>
      <dc:date>2021-03-08T10:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 Solo Encrypted Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1242277#M170547</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158341"&gt;@danielberhe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; please check Your image preparation sequence regarding U-boot recommendations:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_encrypted_boot.txt?h=imx_v2019.04_5.4.3_2.0.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_encrypted_boot.txt?h=imx_v2019.04_5.4.3_2.0.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1242277#M170547</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-03-09T06:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 Solo Encrypted Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1242740#M170580</link>
      <description>&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The cause for the strange address of 0x718 turned out to be because I used 'BOOT_OFFSET FLASH_OFFSET_STANDARD' in my .cfg file. I've now changed to the deprecated 'BOOT_FROM spi', and the the size of the header is 0xc00. Below is the contents of u-boot.imx.log&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image Type: Freescale IMX Boot Image&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image Ver: 2 (i.MX53/6/7 compatible)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mode: DCD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Size: 421888 Bytes = 412.00 KiB = 0.40 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load Address: 177ff420&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Entry Point: 17800000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;HAB Blocks: 0x177ff400 0x00000000 0x00062c00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DCD Blocks: 0x00910000 0x0000002c 0x00000310&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Sadly, encrypted boot still isn't working. I had seen the link you sent to the txt file. The method outlined there is the same as what's described in AN12056 in section 4.3.1.4. I gave it another go just now and the board still isn't booting. I am getting confused by the conflicting information regarding the location of the DEK blob. In the link you sent and in AN12056, it is recommended that the CSF bin is padded to 0x2000 before the dek_blob.bin is appended. &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-board/ta-p/1120029" target="_self"&gt;This&lt;/A&gt; link and &lt;A href="https://boundarydevices.com/high-assurance-boot-hab-dummies/#" target="_self"&gt;this&lt;/A&gt; say that the dek_blob.bin should be within the 0x2000 boundary, otherwise the ROM code won't load the DEK blob. Which is it?&lt;BR /&gt;&lt;BR /&gt;Another thing that's confusing me is that in the link you sent and AN12056, two CSF are used - one for encrypting the image and another for signing the encrypted image. &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-board/ta-p/1120029" target="_self"&gt;This&lt;/A&gt; link and &lt;A href="https://boundarydevices.com/high-assurance-boot-hab-dummies/#" target="_self"&gt;this&lt;/A&gt; seem to use and single CSF to produce a bootable encrypted image. Which way is correct?&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 20:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1242740#M170580</guid>
      <dc:creator>danielberhe</dc:creator>
      <dc:date>2021-03-09T20:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 Solo Encrypted Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1244122#M170697</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158341"&gt;@danielberhe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;1) As for size 0x2000:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/AN12056-Encrypted-boot-application-note-questions/m-p/1151590" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/AN12056-Encrypted-boot-application-note-questions/m-p/1151590&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2) Use example from U-boot documentation.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 10:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1244122#M170697</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-03-11T10:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 Solo Encrypted Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1245549#M170854</link>
      <description>&lt;P&gt;Encrypted boot is now working on my board. The issue turned out to be a missing &lt;SPAN&gt;CONFIG_RNG_INIT&lt;/SPAN&gt;. I'd patched my uboot with a fix from &lt;A href="https://community.nxp.com/t5/Known-Limitations-and-Guidelines/RNG-self-test-errors-on-select-i-MX-device-revisions/ta-p/1102970" target="_self"&gt;here&lt;/A&gt; so need to include &lt;SPAN&gt;CONFIG_RNG_INIT in my board header file. I also needed to use the BOOT_FROM macro I mentioned above.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 08:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Solo-Encrypted-Boot/m-p/1245549#M170854</guid>
      <dc:creator>danielberhe</dc:creator>
      <dc:date>2021-03-15T08:50:24Z</dc:date>
    </item>
  </channel>
</rss>

