<?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: Cannot read Manufacturing Protection public key with closed i.MX8MM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847535#M222544</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Did you follow section&amp;nbsp;3.2 Private key persistence&lt;BR /&gt;This step is to ensure that the private key is available to software after the device boots. The Manufacturing Protection private key is cleared during the boot unless the signature (CSF) contains the Unlock command, informing the HAB/AHAB to leave the key. The 'Unlock' command is added to the CSF description file.&lt;BR /&gt;&lt;BR /&gt;Since unless the private key is preserved during the boot, none of the Manufacturing Protection features are functional.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 01:00:29 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2024-04-16T01:00:29Z</dc:date>
    <item>
      <title>Cannot read Manufacturing Protection public key with closed i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847143#M222518</link>
      <description>&lt;P&gt;Hello, I have tried using manufacturing protection with i.MX8MM. I have followed the instructions in&amp;nbsp;AN13222. I have enabled the following features in U-Boot:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CONFIG_SECURE_BOOT=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CONFIG_IMX_HAB=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CONFIG_FSL_MFGPROT=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CONFIG_IMX_CAAM_MFG_PROT = y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CONFIG_IMX_SECO_MFG_PROT = n&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have also added the following to the CSF file, between [Authenticate CSF] and [Install Key]:&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;Engine = CAAM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Features = MFG&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;After this, the commands "mfgprot pubk" and "mfgprot sign" work, but since the device is not closed, the result is not valid.&lt;/P&gt;&lt;P&gt;Then I close the device. Secure boot works. But when I try to get the manufacturing protection public key, I get the following error (with some debugs enabled):&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;u-boot=&amp;gt; mfgprot pubk&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Generating Manufacturing Protection Public Key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SEC Dequeue timed out&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error in public key generation -2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;exit not allowed from main input shell.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The command&amp;nbsp;"mfgprot sign" still works.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 12:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847143#M222518</guid>
      <dc:creator>Sampo</dc:creator>
      <dc:date>2024-04-15T12:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read Manufacturing Protection public key with closed i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847535#M222544</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Did you follow section&amp;nbsp;3.2 Private key persistence&lt;BR /&gt;This step is to ensure that the private key is available to software after the device boots. The Manufacturing Protection private key is cleared during the boot unless the signature (CSF) contains the Unlock command, informing the HAB/AHAB to leave the key. The 'Unlock' command is added to the CSF description file.&lt;BR /&gt;&lt;BR /&gt;Since unless the private key is preserved during the boot, none of the Manufacturing Protection features are functional.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 01:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847535#M222544</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-04-16T01:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read Manufacturing Protection public key with closed i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847680#M222563</link>
      <description>&lt;P&gt;Yes, I have followed those instructions. Just to be sure, here is the template of our CSF file:&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;Version = 4.3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Hash Algorithm = sha256&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Engine = CAAM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Engine Configuration = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Certificate Format = X509&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Signature Format = CMS&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;# Index of the key location in the SRK table to be installed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;File = "CST_SRK"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;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;# Key used to authenticate the CSF data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;File = "CST_CSF_CERT"&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;# Leave Job Ring and DECO master ID registers Unlocked&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Engine = CAAM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Features = MID&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;# Leave manufacturing protection key&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Engine = CAAM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Features = MFG&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;# Key slot index used to authenticate the key to be installed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Verification index = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Target key slot in HAB key store where key will be installed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Target index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Key to install&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;File = "CST_IMG_CERT"&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;# Key slot index used to authenticate the image data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Verification index = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Authenticate Start Address, Offset, Length and file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Blocks = 0x7e0fc0 0x1a000 0x2a600 "flash.bin"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 05:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1847680#M222563</guid>
      <dc:creator>Sampo</dc:creator>
      <dc:date>2024-04-16T05:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read Manufacturing Protection public key with closed i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1905385#M226049</link>
      <description>Hi Sampo, I have a similar problem after closing the device. Have you ever found a solution?</description>
      <pubDate>Wed, 10 Jul 2024 16:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1905385#M226049</guid>
      <dc:creator>fourtrax1</dc:creator>
      <dc:date>2024-07-10T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read Manufacturing Protection public key with closed i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1905857#M226065</link>
      <description>&lt;P&gt;Actually yes, it was just human error. The CSF file that I included in the previous message wasn't actually included in the image, it was using the default one. Once I made sure that the MFG was really unlocked, everything worked fine.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 05:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-Manufacturing-Protection-public-key-with-closed-i/m-p/1905857#M226065</guid>
      <dc:creator>Sampo</dc:creator>
      <dc:date>2024-07-11T05:15:47Z</dc:date>
    </item>
  </channel>
</rss>

