<?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のトピックRe: example CSF triggers syntax error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978802#M145589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;Use documentation and examples in U-boot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.3.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.3.0"&gt;habv4\imx\doc - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 03:33:31 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2020-03-05T03:33:31Z</dc:date>
    <item>
      <title>example CSF triggers syntax error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978800#M145587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I copied the csf example file from this document&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4581.pdf" title="https://www.nxp.com/docs/en/application-note/AN4581.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4581.pdf&lt;/A&gt;&amp;nbsp;at page 35, G.3. Signing the image , calling it csf-uboot.&lt;/P&gt;&lt;P&gt;I placed the file in a folder called "cst" , together with the cst binary executable. This folder is a subfolder of "release/" folder, so at same level as /keys subfolder.&lt;/P&gt;&lt;P&gt;I run the cst binary with command "&lt;EM&gt;./cst --o csf-uboot.bin --i csf-uboot&lt;/EM&gt;" ( It is cst 3.3 )&lt;/P&gt;&lt;P&gt;It raises error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;error: line 11: syntax error&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Undefined error&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Line 11 is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;File = “../crts/SRK_1_2_3_4_table.bin”&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I verified and the file SRK_1_2_3_4_table.bin is there, in the folder crts.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why is this error raised ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the first 12 lines of the csf-uboot file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#Illustrative Command Sequence File Description&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Header]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Version = 4.2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Hash Algorithm = sha256&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Engine = ANY&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Engine Configuration = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Certificate Format = X509&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Signature Format = CMS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Install SRK]&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;File = “../crts/SRK_1_2_3_4_table.bin”&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Source index = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Index of the key location in the SRK table to be installed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 14:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978800#M145587</guid>
      <dc:creator>antonio_santagi</dc:creator>
      <dc:date>2020-03-03T14:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: example CSF triggers syntax error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978801#M145588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I moved cst executable and csf-uboot ( the csf file copied from the document said above ) to crts folder; I moved there also the binary file to sign.&lt;/P&gt;&lt;P&gt;I updated all of the paths in the csf-uboot file so that they point to local folder, so I have now everything needed in the crts folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the command to execute t now raises a different error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;./cst --o csf-uboot.bin --i csf-uboot&lt;BR /&gt;&lt;EM&gt;realloc(): invalid pointer&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Aborted (core dumped )&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot see what this invalid pointer refers to.&lt;/P&gt;&lt;P&gt;Do you know what is wrong ? I am using latest cst 3.3.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 15:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978801#M145588</guid>
      <dc:creator>antonio_santagi</dc:creator>
      <dc:date>2020-03-03T15:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: example CSF triggers syntax error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978802#M145589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;Use documentation and examples in U-boot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.3.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.3.0"&gt;habv4\imx\doc - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 03:33:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978802#M145589</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-03-05T03:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: example CSF triggers syntax error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978803#M145590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I'm currently trying to &lt;EM&gt;sign &lt;/EM&gt;the&lt;STRONG&gt;&lt;EM&gt; i.MX 8M Mini&lt;/EM&gt;&lt;/STRONG&gt; and got the same error as you've mentioned &lt;A _jive_internal="true" href="https://community.nxp.com/message/1277587?commentID=1277587#comment-1277587"&gt;here&lt;/A&gt;. I've already posted a query in NXP forum (&lt;A href="https://community.nxp.com/thread/539440"&gt;Signing error in i.MX8M Mini - FIT Image&lt;/A&gt;&amp;nbsp;) yet no success as of now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; I would like to hear from you hoping you've solved the problem&lt;/STRONG&gt;. Any inputs would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 10:56:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/example-CSF-triggers-syntax-error/m-p/978803#M145590</guid>
      <dc:creator>kanimozhi_t</dc:creator>
      <dc:date>2020-08-10T10:56:15Z</dc:date>
    </item>
  </channel>
</rss>

