<?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中的主题 Need help with HAB tools</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768022#M119295</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;I am trying to setup the HAB secure boot and am having an issue running the srktool.&lt;/P&gt;&lt;P&gt;I seem to be able to generate the keys using the hab4_pki_tree scripts (both on windows and linux)&lt;/P&gt;&lt;P&gt;But when I try to generate the fuse map using srktool I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"srktool: Error - Error! Failed to read certificate data from ..\..\keys\SRK1_sha256_2048_65537_v3_ca_key.pem"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it both on linux and windows with the same error/issue.&lt;/P&gt;&lt;P&gt;I have tried using the .per instead of the .pem file, but got the same result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide some help here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cyrille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 16:38:50 GMT</pubDate>
    <dc:creator>cyrilledebrebis</dc:creator>
    <dc:date>2018-01-29T16:38:50Z</dc:date>
    <item>
      <title>Need help with HAB tools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768022#M119295</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;I am trying to setup the HAB secure boot and am having an issue running the srktool.&lt;/P&gt;&lt;P&gt;I seem to be able to generate the keys using the hab4_pki_tree scripts (both on windows and linux)&lt;/P&gt;&lt;P&gt;But when I try to generate the fuse map using srktool I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"srktool: Error - Error! Failed to read certificate data from ..\..\keys\SRK1_sha256_2048_65537_v3_ca_key.pem"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it both on linux and windows with the same error/issue.&lt;/P&gt;&lt;P&gt;I have tried using the .per instead of the .pem file, but got the same result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide some help here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cyrille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768022#M119295</guid>
      <dc:creator>cyrilledebrebis</dc:creator>
      <dc:date>2018-01-29T16:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with HAB tools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768023#M119296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cyrille&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please follow AN4581 Secure Boot on i.MX50, i.MX53, and i.MX 6 Series&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 23:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768023#M119296</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-29T23:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with HAB tools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768024#M119297</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;I have solved my initial problem. It was my fault as I was in the keys directory instead of the crts one :-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am now stuck at the next stage. Generating the certification file to add to the image.&lt;/P&gt;&lt;P&gt;I am working on an i.MX6ULL and doing bare metal software (actually FreeRTOS)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running: cst.exe -o csf.bin -i run.csf&lt;/P&gt;&lt;P&gt;I get the following error: &lt;EM&gt;"Invalid Block arguments, Blocks start offset and length together exceed file size in command AuthenticateData"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that my problem stems from not giving the right arguements to the [Authenticate Data] / Blocks command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imgutils.exe returns the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Info for CSF file generation&lt;BR /&gt;--------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ivt_addr&amp;nbsp; = 0x80000400, ivt_offset&amp;nbsp; = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; app_addr&amp;nbsp; = 0x80002000, app_offset&amp;nbsp; = 0x00002000, app_size = 0x00043c60&lt;BR /&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which of these 5 numbers do I need to use for the Blocks command? app_size is prety obvious, but what about load address and offset. Should I use ivt_addr and ivt_offset&amp;nbsp; or app_addr and app_offset&amp;nbsp; ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cyrille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 06:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-help-with-HAB-tools/m-p/768024#M119297</guid>
      <dc:creator>cyrilledebrebis</dc:creator>
      <dc:date>2018-01-30T06:34:23Z</dc:date>
    </item>
  </channel>
</rss>

