<?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>i.MX Processors中的主题 Cannot read certificate data, secure boot on IMX8MP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2025818#M232875</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple question about generating keys and hashes for efuses on IMX8MP. I followed the instructions in CST_UG.pdf and run&amp;nbsp;./hab4_pki_tree.sh, which with default settings based on Figure 12. Then, I follow with:&lt;/P&gt;&lt;P&gt;../linux64/bin/srktool -h 4 -t SRK_1_2_3_4_table.bin -e&lt;BR /&gt;SRK_1_2_3_4_fuse.bin -d sha256 -c&lt;BR /&gt;./SRK1_sha256_2048_65537_v3_ca_crt.pem,./SRK2_sha256_2048_65537_v3_ca_crt.pem&lt;BR /&gt;,./SRK3_sha256_2048_65537_v3_ca_crt.pem,./SRK4_sha256_2048_65537_v3_ca_crt.pe&lt;BR /&gt;m -f 1&lt;/P&gt;&lt;P&gt;However, I got this error:&amp;nbsp;[ERROR] SRKTOOL: Error! Failed to read certificate data from ./SRK1_sha256_2048_65537_v3_ca_crt.pem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In crts folder, I got only&amp;nbsp;CA1_sha256_2048_65537_v3_ca_crt.pem and&amp;nbsp;SRK1_sha256_2048_65537_v3_usr_crt.pem, not&amp;nbsp;SRK3_sha256_2048_65537_v3_ca_crt.pem. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matej I.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2025 12:50:43 GMT</pubDate>
    <dc:creator>MatejI</dc:creator>
    <dc:date>2025-01-10T12:50:43Z</dc:date>
    <item>
      <title>Cannot read certificate data, secure boot on IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2025818#M232875</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple question about generating keys and hashes for efuses on IMX8MP. I followed the instructions in CST_UG.pdf and run&amp;nbsp;./hab4_pki_tree.sh, which with default settings based on Figure 12. Then, I follow with:&lt;/P&gt;&lt;P&gt;../linux64/bin/srktool -h 4 -t SRK_1_2_3_4_table.bin -e&lt;BR /&gt;SRK_1_2_3_4_fuse.bin -d sha256 -c&lt;BR /&gt;./SRK1_sha256_2048_65537_v3_ca_crt.pem,./SRK2_sha256_2048_65537_v3_ca_crt.pem&lt;BR /&gt;,./SRK3_sha256_2048_65537_v3_ca_crt.pem,./SRK4_sha256_2048_65537_v3_ca_crt.pe&lt;BR /&gt;m -f 1&lt;/P&gt;&lt;P&gt;However, I got this error:&amp;nbsp;[ERROR] SRKTOOL: Error! Failed to read certificate data from ./SRK1_sha256_2048_65537_v3_ca_crt.pem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In crts folder, I got only&amp;nbsp;CA1_sha256_2048_65537_v3_ca_crt.pem and&amp;nbsp;SRK1_sha256_2048_65537_v3_usr_crt.pem, not&amp;nbsp;SRK3_sha256_2048_65537_v3_ca_crt.pem. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matej I.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 12:50:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2025818#M232875</guid>
      <dc:creator>MatejI</dc:creator>
      <dc:date>2025-01-10T12:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read certificate data, secure boot on IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2026431#M232921</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;Please try the command line below, then should be no such error. The Figure 12 that you refer should be the number of SRK with 1 and CA flag with n.&lt;/P&gt;
&lt;P&gt;And the command line for SRK TABLE and SRK fuse generation that you refer are for SRK with 4 and CA flag with y.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;../linux64/bin/srktool -h 4 -t SRK_1_2_3_4_table.bin -e&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SRK_1_2_3_4_fuse.bin -d sha256 -c&amp;nbsp;SRK1_sha256_2048_65537_v3_usr_crt.pem -f 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'd would suggest to select 4 for the number of SRK and CA flag with y.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2026431#M232921</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2025-01-13T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read certificate data, secure boot on IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2027584#M232986</link>
      <description>&lt;P&gt;So if I understand, first I call:&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;./hab4_pki_tree.sh&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;with rsa, 2048, and 4 keys. Then I switch to ../crts folder and run:&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;../linux64/bin/srktool -h 4 -t SRK_1_2_3_4_table.bin -e SRK_1_2_3_4_fuse.bin -d sha256 -c SRK1_sha256_2048_65537_v3_usr_crt.pem,SRK2_sha256_2048_65537_v3_usr_crt.pem,SRK3_sha256_2048_65537_v3_usr_crt.pem,SRK4_sha256_2048_65537_v3_usr_crt.pem -f 1&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;which generates fuse table. Then I use Yocto build from Toradex (IMX8MP with Mallow board, tdx-reference-multimedia image). I am referring to this:&amp;nbsp;&lt;A href="https://github.com/toradex/meta-toradex-security/blob/kirkstone-6.x.y/docs/README-secure-boot-imx.md#introduction" target="_blank" rel="noopener"&gt;https://github.com/toradex/meta-toradex-security/blob/kirkstone-6.x.y/docs/README-secure-boot-imx.md#introduction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No more keys has to be added or generated, right? Now I build the yocto and in Uboot console, I fuse the keys, e.g., like this:&lt;/P&gt;&lt;PRE&gt;fuse prog -y 6 0 0x8AE322B2
fuse prog -y 6 1 0xDF2939A3
fuse prog -y 6 2 0x9DA80323
fuse prog -y 6 3 0x3B024EF2
fuse prog -y 7 0 0xA53091
fuse prog -y 7 1 0x55304E7A
fuse prog -y 7 2 0xFB8FF259
fuse prog -y 7 3 0x9CE57582&lt;/PRE&gt;&lt;P&gt;Right now, the build fails but it may be due to yocto configuration. Is the process of generating keys for fusing correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Matej I.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 12:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2027584#M232986</guid>
      <dc:creator>MatejI</dc:creator>
      <dc:date>2025-01-14T12:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read certificate data, secure boot on IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2027940#M233004</link>
      <description>&lt;P&gt;Yes, it‘s usually not necessary to add more.&amp;nbsp;&lt;SPAN&gt;The process of generating keys for fusing is correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For build issue, please raise a case to Toradex if you need further assistance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 02:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-read-certificate-data-secure-boot-on-IMX8MP/m-p/2027940#M233004</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2025-01-15T02:56:02Z</dc:date>
    </item>
  </channel>
</rss>

