<?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: OTPMK and secure boot in CodeWarrior for QorIQ</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504960#M5896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw this but don't know how to use it yet&lt;/P&gt;&lt;P&gt;:ccs::set_hwbp&lt;/P&gt;&lt;P&gt;wrong # args: should be "::ccs::set_hwbp chain_pos [reservation_id] {bp_info}"&lt;/P&gt;&lt;P&gt;Also, most of hwbp related commands return "Unimplemented" so it doesn't seem to be the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 08:44:19 GMT</pubDate>
    <dc:creator>vsiles</dc:creator>
    <dc:date>2016-05-09T08:44:19Z</dc:date>
    <item>
      <title>OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504950#M5886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to achieve secure boot on a LS1021a board. Every document I read on the subject says to program the OTPMK and SRKHR fuses at the same time, prior to triggering the secure boot. From what I understand in the documentation, only the SRKHR is used during the secure boot.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I achieve secure boot by only programming the SRKHR fuses, and leave the OTPMK for later ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504950#M5886</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-06T13:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504951#M5887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Programming &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;OTPMK is mandatory. SRKH programming can be avoided, but you have to use the steps from &lt;A href="https://community.nxp.com/docs/DOC-329649"&gt;Secure Boot/Debug Configuration for LS1&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504951#M5887</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-06T13:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504952#M5888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any license for Code Warrior, so I can't follow the trick to use CW Tap to program the SFP registers.&lt;/P&gt;&lt;P&gt;I only found evaluation version of CW for windows but I'm working on Linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain when the OTPMK is needed for secure boot ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504952#M5888</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-06T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504953#M5889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if it is relevant, I'd like to secure boot from SD card, not from flash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504953#M5889</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-06T13:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504954#M5890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OTPMK registers are set by OEMs to configure a 256-bit secret value that becomes available for use by the SEC module to derive the AES blob keys when the security monitor is in the Trusted state or Secure state. The 256-bit secret value is stored in a&lt;/P&gt;&lt;P&gt;series of eight 32-bit registers OTPMKR0-OTPMKR7. The primary purpose of the OTPMK is encryption and decryption of&amp;nbsp; additional secret keys (also usable only by the SEC module) that can be used to protect arbitrary data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do all the fuse programming using ccs or uboot. Also, for avoiding &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SRKH programming, only ccs is used and if you have CMSIS-DAP connection you can use it with no cost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Adrian&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504954#M5890</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-06T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504955#M5891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't know about ccs and CMSIS-DAP, I'll give it a try. Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504955#M5891</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-06T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504956#M5892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/addiyi"&gt;addiyi&lt;/A&gt;​ Could you point me to the right place to download and install ccs, I have trouble finding information about it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 15:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504956#M5892</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-06T15:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504957#M5893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can pick &lt;A href="https://community.nxp.com/www.nxp.com/cw4net" target="test_blank"&gt;www.nxp.com/cw4net&lt;/A&gt;, and install for example CodeWarrior for ARMv7. Then under Freescale\CW4NET_v2016.01\Common\CCS\bin\, you can start ccs.exe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 05:58:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504957#M5893</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T05:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504958#M5894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 06:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504958#M5894</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T06:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504959#M5895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/addiyi"&gt;addiyi&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;Thank you for the support. I have a (hopefully) final question here: Since using the ccs::reset_to_debug seems to stop after the PBL and ISBC execution, I get core0 in debug mode too late to program the SRKHn registers. I tried to change my RCW so that neither core0 nor core1 is running, in order to get be able to program the SRKHn registers "early enough", but both cores are now in reset mode instead of debug mode and the write_mem command fails with a "Core not in debug" message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you program the SRKHn register using ccs in order to test secure boot ? Is is possible to switch core 0 from reset to debug and stop it before the ISBC ? Can I control where core 0 stops after a reset_to_debug using only ccs ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504959#M5895</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504960#M5896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw this but don't know how to use it yet&lt;/P&gt;&lt;P&gt;:ccs::set_hwbp&lt;/P&gt;&lt;P&gt;wrong # args: should be "::ccs::set_hwbp chain_pos [reservation_id] {bp_info}"&lt;/P&gt;&lt;P&gt;Also, most of hwbp related commands return "Unimplemented" so it doesn't seem to be the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504960#M5896</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-09T08:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: OTPMK and secure boot</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504961#M5897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When cores are in debug, you can access memory using cmsisdap chain_pos and space 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(bin) 59 % display ccs::get_config_chain&lt;/P&gt;&lt;P&gt;Chain Position 0: LS1020A&lt;/P&gt;&lt;P&gt;Chain Position 1: CoreSight ATB Funnel&lt;/P&gt;&lt;P&gt;Chain Position 2: CoreSight TMC&lt;/P&gt;&lt;P&gt;Chain Position 3: CoreSight TMC&lt;/P&gt;&lt;P&gt;Chain Position 4: CoreSight TMC&lt;/P&gt;&lt;P&gt;Chain Position 5: CoreSight CTI&lt;/P&gt;&lt;P&gt;Chain Position 6: CoreSight CTI&lt;/P&gt;&lt;P&gt;Chain Position 7: CoreSight CTI&lt;/P&gt;&lt;P&gt;Chain Position 8: CoreSight ATB Funnel&lt;/P&gt;&lt;P&gt;Chain Position 9: Cortex-A7&lt;/P&gt;&lt;P&gt;Chain Position 10: Cortex-A7 PMU&lt;/P&gt;&lt;P&gt;Chain Position 11: Cortex-A7&lt;/P&gt;&lt;P&gt;Chain Position 12: Cortex-A7 PMU&lt;/P&gt;&lt;P&gt;Chain Position 13: CoreSight CTI&lt;/P&gt;&lt;P&gt;Chain Position 14: CoreSight CTI&lt;/P&gt;&lt;P&gt;Chain Position 15: Cortex-A7 ETM&lt;/P&gt;&lt;P&gt;Chain Position 16: Cortex-A7 ETM&lt;/P&gt;&lt;P&gt;Chain Position 17: CMSISDAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(bin) 60 % display ccs::read_mem 17 0x1080000 4 0 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +C&lt;/P&gt;&lt;P&gt;[0x01080000] 00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 09:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/OTPMK-and-secure-boot/m-p/504961#M5897</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2016-05-09T09:14:28Z</dc:date>
    </item>
  </channel>
</rss>

