<?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>topic Re: secure boot  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942153#M37541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="342499" data-username="vannius@163.com" href="https://community.nxp.com/people/vannius@163.com"&gt;宁 解&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Please provide the certificate configuration file (.ext) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2019 09:59:54 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-06-05T09:59:54Z</dc:date>
    <item>
      <title>secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942152#M37540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use secure boot as follows：&lt;/P&gt;&lt;P&gt;1、Generate four sets of certificates；serial number field of image &lt;SPAN&gt;certificates&lt;/SPAN&gt;&amp;nbsp;:3C:C3:00:00:AB:AB:AB:AB&lt;/P&gt;&lt;P&gt;2、with elftosb_gui, config load address to be 0x10000000; elftosb_gui show “Verifysignature ” is "success".&lt;/P&gt;&lt;P&gt;3、load &amp;nbsp;this &amp;nbsp;signed image;&lt;/P&gt;&lt;P&gt;4、config &amp;nbsp;"Version" of CFPA to 0x01 and config "ROTKH_REVOKE"为0x55; CFPA is attached；&lt;/P&gt;&lt;P&gt;5、config ROTKH of CMPA with&amp;nbsp;RKTH generated by elftosb_gui；config SECURE_BOOT_CFG of CMPA to 0x40000000(signed image); DIGEST of CMPA is not configed。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after reset， the image is not&amp;nbsp;right running。 why？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide an available certificate？ &amp;nbsp;&amp;nbsp;I suspect there is something wrong with my certificate。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 08:59:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942152#M37540</guid>
      <dc:creator>vannius</dc:creator>
      <dc:date>2019-06-04T08:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942153#M37541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="342499" data-username="vannius@163.com" href="https://community.nxp.com/people/vannius@163.com"&gt;宁 解&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Please provide the certificate configuration file (.ext) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 09:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942153#M37541</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-06-05T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942154#M37542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Alice:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;OpenSSL I haven't yet configured successfully，so certificates are generated by a tool found online; I'm trying to configure OpenSSL. Certificate in SDK expired and elftosb reported an error，Is it possible to provide a certificate?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;other question，&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;DIGEST of CMPA is not configed，secure boot is configed；&amp;nbsp;Is there any other way to modify CMPA except bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I find that IMAGE_KEY_REVOKE of CFPA &amp;nbsp;has 4 bytes from address &amp;nbsp;0x9DE10, &amp;nbsp;but it only need two bytes； so i shall write 3C C3 00 00 from &amp;nbsp;address&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f;"&gt;0x9DE10 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; Can you provide an example of a complete set of operational processes?&amp;nbsp; What is the first step?What is the second step? ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 01:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942154#M37542</guid>
      <dc:creator>vannius</dc:creator>
      <dc:date>2019-06-06T01:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942155#M37543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ning xie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the steps, please refer to this Application Note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12283.pdf" title="https://www.nxp.com/docs/en/application-note/AN12283.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12283.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 09:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942155#M37543</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-06-11T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942156#M37544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hello,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Alice:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you very much for your reply；The following three questions can be answered：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;1、OpenSSL I haven't yet configured successfully，so certificates are generated by a tool found online; I'm trying to configure OpenSSL. Certificate in SDK expired and elftosb reported an error，Is it possible to provide a certificate?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;2、&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;DIGEST of CMPA is not configed，secure boot is configed；&amp;nbsp;Is there any other way to modify CMPA except bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp; 3、&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I find that IMAGE_KEY_REVOKE of CFPA &amp;nbsp;has 4 bytes from address &amp;nbsp;0x9DE10, &amp;nbsp;but it only need two bytes； so i shall write 3C C3 00 00 from &amp;nbsp;address&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;0x9DE10 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 01:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942156#M37544</guid>
      <dc:creator>vannius</dc:creator>
      <dc:date>2019-06-12T01:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942157#M37545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;ning xie&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;1. Sorry I can't give you a &lt;SPAN style="border: 0px; font-weight: inherit;"&gt;certificate&lt;/SPAN&gt;, as I also need give you the Key. What's the problem when you using OpenSSL?&lt;/P&gt;&lt;P&gt;2. About this question, I will help you ask development team whether this is method.&lt;/P&gt;&lt;P&gt;3. From&amp;nbsp; AN12283 we can see, in IMAGE_KEY_REVOKE, the 31:16 reserved, only two bytes (15:0) are used as&lt;/P&gt;&lt;P&gt;IMG revocation counter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87206i9373E929F8272214/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 02:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942157#M37545</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-06-17T02:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: secure boot</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942158#M37546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Hello,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Alice:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Thank you very much for your reply；When I use boot, I do the following：&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Data preparation process：&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;1、I generated a secure image with a starting address of 0x10000000, &amp;nbsp;the size of this image is&amp;nbsp;0x10424; &amp;nbsp;config of this image :load address(0x10000000) 、imageTZ-M Enable but no preset data、add four ROOT keys, key is generated by referring to AN12283_LPC55Sxx_Secure_boot;&amp;nbsp;As an annex“elftosb_gui”&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The starting address of the &amp;nbsp;non&amp;nbsp;&lt;SPAN&gt;secure &lt;/SPAN&gt;code is 0x20000, no crc 、no signed;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;2、CFPA：&lt;SPAN&gt;config &amp;nbsp;"Version" of CFPA to 0x01 and config "ROTKH_REVOKE"为0x55；&lt;SPAN style="background-color: #ffffff;"&gt;As an annex“cfpa_9DE00_1.bin&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;”&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;3、CMPA is generated using elftosb_gui tool：&amp;nbsp;SECURE_BOOT_CFG（0x9E41C） is&amp;nbsp;Boot signed images、&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;RKTH is generated using elftosb tools（01747922a5d76949d3db0b7eb1cce7cfce9a46516456b19ea78f53375af2b943）、&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;DIGEST also &lt;SPAN&gt; is generated using elftosb tools.As an annex“cmpa_9E400_1.bin&lt;SPAN style="background-color: #ffffff;"&gt;”&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&amp;nbsp;note: puf、prince are not used.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;Operating process：&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;&amp;nbsp; &amp;nbsp;1、&amp;nbsp;Enter boot，erase flash :blhost.exe -p COM45 -- flash-erase-region 0x00000 0x40000;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;2、load image：blhost -p COM45 write-memory 0x20000 hello_world_ns_0614.bin 、blhost -p COM45 write-memory 0 hello_world_s_sig_0614.bin；&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;3、read and write CFPA :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;blhost -p COM45 read-memory 0x9DE00 512 cfpa_9DE00_0.bin&lt;BR /&gt; blhost -p COM45 read-memory 0x9E000 512 cfpa_9E000_0.bin&lt;BR /&gt; blhost -p COM45 read-memory 0x9E200 512 cfpa_9E200_0.bin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;STRONG&gt;blhost -p COM45 write-memory 0x9DE00 cfpa_9DE00_1.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; blhost -p COM45 read-memory 0x9DE00 512 cfpa_9DE00_2.bin&lt;BR /&gt; blhost -p COM45 read-memory 0x9E000 512 cfpa_9E000_2.bin&lt;BR /&gt; blhost -p COM45 read-memory 0x9E200 512 cfpa_9E200_2.bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4、read and write CMPA :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;blhost -p COM45 read-memory 0x9E400 512 cmpa_9E400_0.bin&lt;/P&gt;&lt;P&gt;blhost -V -p COM45,57600 -- write-memory 0x9E400 cmpa_9E400_1.bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5、reset，Running error；&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;these steps are &amp;nbsp;right ?&amp;nbsp;Looking forward to your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 03:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/secure-boot/m-p/942158#M37546</guid>
      <dc:creator>vannius</dc:creator>
      <dc:date>2019-06-17T03:12:06Z</dc:date>
    </item>
  </channel>
</rss>

