<?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: HAB enable for RTOS kernel inplcace of uImage</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559437#M86858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how to add IVT table for RTOS application? Based on IVT table, Bootloader need to verfy the CSF file am i correct?&lt;/P&gt;&lt;P&gt;Is it possible to create signed image for&lt;STRONG&gt; .elf&lt;/STRONG&gt; file using CST tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 09:25:36 GMT</pubDate>
    <dc:creator>dhanunjay</dc:creator>
    <dc:date>2016-07-01T09:25:36Z</dc:date>
    <item>
      <title>HAB enable for RTOS kernel inplcace of uImage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559435#M86856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Nxp Team,&lt;/P&gt;&lt;P&gt;Greetings!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are enabling secure boot feature on imx6 DL device. I have few queries in implementation level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to authenticate RTOS kernel image in-place of uImage? like in Linux, can we use authenticate_binary() API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; any example implementation available for RTOS kind of kernel authentication?&lt;/P&gt;&lt;P&gt;2. How to enable CAAM clocks.&lt;/P&gt;&lt;P&gt;3. The RTOS kernel was mapped to virtual DDR address range, do i need to add ivt.bin and csf.bin file as per vitual maaping?&lt;/P&gt;&lt;P&gt;4. How to improve boot performance using hardware engines, can you brief about it? what are available hardware&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; engines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559435#M86856</guid>
      <dc:creator>dhanunjay</dc:creator>
      <dc:date>2016-06-22T10:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: HAB enable for RTOS kernel inplcace of uImage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559436#M86857</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;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Please look at my comments below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;1.&lt;BR /&gt;&amp;nbsp; You may use HAB API, described in “HAB4_API.pdf” in CST documentation.&lt;BR /&gt;It is recommended “using the hab_rvt.authenticate_image() whenever possible. This is instead of calling the other APIs separately ensuring all the proper authentication steps are performed.”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL&amp;amp;appType=file1&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX_CST_TOOL&amp;amp;appType=file1&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null"&gt;NXP Code Signing Tool for the High Assurance Boot library. Provides software code signing support designed for use with …&lt;/A&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;2.&lt;BR /&gt;&amp;nbsp; Please refer to the following &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;A href="https://community.nxp.com/thread/360388"&gt;CAAM features&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; IVT and CSF should be provided for the image for checking. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;When using MMU, virtual and physical addresses should be the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Please refer to the i.MX6 Security RM and the CST documentation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm6 tm5 a______"&gt;&lt;SPAN class="tm7"&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals…&lt;/A&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 23 Jun 2016 08:54:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559436#M86857</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-06-23T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: HAB enable for RTOS kernel inplcace of uImage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559437#M86858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how to add IVT table for RTOS application? Based on IVT table, Bootloader need to verfy the CSF file am i correct?&lt;/P&gt;&lt;P&gt;Is it possible to create signed image for&lt;STRONG&gt; .elf&lt;/STRONG&gt; file using CST tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 09:25:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559437#M86858</guid>
      <dc:creator>dhanunjay</dc:creator>
      <dc:date>2016-07-01T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: HAB enable for RTOS kernel inplcace of uImage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559438#M86859</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;1.&lt;/P&gt;&lt;P&gt;as for IVT table, You may use approach, described in "i.MX 6 Linux High &lt;BR /&gt;Assurance Boot (HAB) User's Guide"&amp;nbsp; (enclosed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File genIVT&lt;/P&gt;&lt;P&gt;------------- file content begin -------------&lt;/P&gt;&lt;P&gt;#! /usr/bin/perl -w&lt;/P&gt;&lt;P&gt;use strict;&lt;/P&gt;&lt;P&gt;open(my $out, '&amp;gt;:raw', 'ivt.bin') or die "Unable to open: $!";&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x402000D1); # Signature&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x10801000); # Jump Location&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x0); # Reserved&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x0); # DCD pointer&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x0); # Boot Data&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x10BFDFE0); # Self Pointer&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x10BFE000); # CSF Pointer&lt;/P&gt;&lt;P&gt;print $out pack("V", 0x0); # Reserved&lt;/P&gt;&lt;P&gt;close($out);&lt;/P&gt;&lt;P&gt;------------- file content end -------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;BR /&gt;&amp;gt; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Bootloader need to verfy the CSF file am i correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is it possible to create signed image for&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt; .elf&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; file using CST tool?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boot ROM, during HAB process, works with "plain" image in RAM.&lt;/P&gt;&lt;P&gt;.elf files are intended to be loaded by a loader, which can understand&lt;/P&gt;&lt;P&gt;ELF file / image structure in order to provide "plain" memory image. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-enable-for-RTOS-kernel-inplcace-of-uImage/m-p/559438#M86859</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-07-21T04:30:19Z</dc:date>
    </item>
  </channel>
</rss>

