<?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中的主题 Syntax error while signing barebox</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Syntax-error-while-signing-barebox/m-p/1741402#M214206</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am activating the secure boot on imx6 to sign barebox boatloder.&lt;/P&gt;&lt;P&gt;I used cst tool to generate keys.&lt;/P&gt;&lt;P&gt;I created the csf file and when i run the command : ../linux64/bin/cst -o out.img -i csf_file.csf&lt;/P&gt;&lt;P&gt;I get :&lt;/P&gt;&lt;P&gt;error: line 15: syntax error&lt;BR /&gt;Undefined error&lt;/P&gt;&lt;P&gt;the csf script is :&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;/P&gt;&lt;P&gt;[Install CSFK] # HAB4 example&lt;BR /&gt;File = "CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate CSF] # HAB4 example&lt;/P&gt;&lt;P&gt;[Unlock]&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Features = RNG&lt;/P&gt;&lt;P&gt;[Install Key] # HAB4 example&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target index = 2&lt;BR /&gt;File = "IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x27800400 0x400 0x10000 "image.img"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what is the syntax error since i followed the CST documentation to write the csf file.&lt;/P&gt;&lt;P&gt;Another question about the images i want to sign : I only have .img images and I don't if it's possible to sign them with the csf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 14:56:06 GMT</pubDate>
    <dc:creator>haGkiu</dc:creator>
    <dc:date>2023-10-17T14:56:06Z</dc:date>
    <item>
      <title>Syntax error while signing barebox</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Syntax-error-while-signing-barebox/m-p/1741402#M214206</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am activating the secure boot on imx6 to sign barebox boatloder.&lt;/P&gt;&lt;P&gt;I used cst tool to generate keys.&lt;/P&gt;&lt;P&gt;I created the csf file and when i run the command : ../linux64/bin/cst -o out.img -i csf_file.csf&lt;/P&gt;&lt;P&gt;I get :&lt;/P&gt;&lt;P&gt;error: line 15: syntax error&lt;BR /&gt;Undefined error&lt;/P&gt;&lt;P&gt;the csf script is :&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;[Install SRK]&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;File = "SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;/P&gt;&lt;P&gt;[Install CSFK] # HAB4 example&lt;BR /&gt;File = "CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate CSF] # HAB4 example&lt;/P&gt;&lt;P&gt;[Unlock]&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Features = RNG&lt;/P&gt;&lt;P&gt;[Install Key] # HAB4 example&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target index = 2&lt;BR /&gt;File = "IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x27800400 0x400 0x10000 "image.img"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what is the syntax error since i followed the CST documentation to write the csf file.&lt;/P&gt;&lt;P&gt;Another question about the images i want to sign : I only have .img images and I don't if it's possible to sign them with the csf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 14:56:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Syntax-error-while-signing-barebox/m-p/1741402#M214206</guid>
      <dc:creator>haGkiu</dc:creator>
      <dc:date>2023-10-17T14:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error while signing barebox</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Syntax-error-while-signing-barebox/m-p/1741522#M214218</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Unfortunately we do not support other bootloaders, we do support uboot so we cannot provide much help on this.&lt;BR /&gt;&lt;BR /&gt;Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 19:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Syntax-error-while-signing-barebox/m-p/1741522#M214218</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2023-10-17T19:01:17Z</dc:date>
    </item>
  </channel>
</rss>

