<?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: T4240 Secure Boot - SCRATCHRW(n) Registers in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580468#M1276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Can it please&amp;nbsp;be confirmed that the SCRATCHRW(n) registers still are&lt;/P&gt;&lt;P&gt;&amp;gt; defined for the T4240 and that is the correct process for the T4240?&lt;/P&gt;&lt;P&gt;Confirmed.&lt;/P&gt;&lt;P&gt;Please create a Technical Case to obtain additional information concerning the Trust Architecture:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fthread%2F381898" rel="nofollow" target="_blank"&gt;https://community.freescale.com/thread/381898&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 03:44:10 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2016-09-02T03:44:10Z</dc:date>
    <item>
      <title>T4240 Secure Boot - SCRATCHRW(n) Registers</title>
      <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580465#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on getting secure boot enabled and working on the T4240.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The manuals that I am referencing are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp; QorIQ T4240 Family Reference Manual, Rev 1, 02/2015&lt;/LI&gt;&lt;LI&gt;Note that the latest version of that document has the Secure Boot section removed and references to other documents are in its place&lt;/LI&gt;&lt;LI&gt;&amp;nbsp; Freescale Linux SDK v1.7, Rev B, Mar 2015&lt;/LI&gt;&lt;LI&gt;&amp;nbsp; PBL Configuration Tool User Guide, Rev 4.0, 07/2014&lt;/LI&gt;&lt;LI&gt;Setting up Secure Boot on PBL bassed Platforms in Prototype Stage (no revision or date)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the configuration of the PBI Data, I see that I need to write to SCRATCHRW1 for the address of the ESBC so ISBC can pass control to ESBC. &amp;nbsp;However, in the T4240 Reference Manual, section 27.3, there is no longer a definition for the SCRATCHRW(n) registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it please&amp;nbsp;be confirmed that the SCRATCHRW(n) registers still are defined for the T4240 and that is the correct process for the T4240?&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>Wed, 31 Aug 2016 17:09:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580465#M1273</guid>
      <dc:creator>abaker</dc:creator>
      <dc:date>2016-08-31T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: T4240 Secure Boot - SCRATCHRW(n) Registers</title>
      <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580466#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#LAW for ESBC&lt;BR /&gt;09000c10 00000000&lt;BR /&gt;09000c14 c0000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-- 0xc0000000 region used b/c its &amp;lt; 3.5GB address space required by ISBC&lt;BR /&gt;09000c18 81f0001b&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; It will effectively map to uBoot in NOR&lt;BR /&gt;# LAW for CPC/SRAM&lt;BR /&gt;09000d00 00000000&lt;BR /&gt;09000d04 bff00000&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;lt;-- needed for the House Keeping area of ISBC&lt;BR /&gt;09000d08 81000013&lt;BR /&gt;# Scratch Registers&lt;BR /&gt;090e0200 c0b00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;- 0xc0b0000 maps to ESBC UBoot header 0xe8b00000&lt;BR /&gt;090e0208 c0c00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-- 0xc0c0000 maps to ESBC Uboot header 0xecb00000&lt;BR /&gt;# CPC SRAM&lt;BR /&gt;09010100 00000000&lt;BR /&gt;09010104 bff00009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;# CPC Configuration&lt;BR /&gt;09010f00 08000000&lt;BR /&gt;09010000 80000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LAW and Scratch registers are in the 0xCxxxxxxx space because ISBC requires the ESBC to be within the 0-3.5GB address space (&amp;lt; 0xD0000000). The PBI commands are required to map the 0xE0000000 region of NOR (where uBoot resides) into this lower region. So, the scratch registers include this mapping as well. Its also necessary to ensure your header file created by the CSF script points to the reset vector (cffffffc) and the entry point of uBoot in this mapped space (0xcff40000).&lt;/P&gt;&lt;P&gt;&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/2756i35B1BE7C40F8D6E4/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;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2813iF3E359266157AF4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these changes ISBC should validate uBoot and begin executing in the lower 4K of uBoot in secure mode (stage 1 of 4 of secure boot in NOR). Check the DCFG_CCSR_SCRATCHRW2=0 to confirm ISBC validated and SECMON_HPSR =0x8000AD00 showing it entered trust state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update RCW to include SB_EN=1. Secure Boot also requires that the fuses are burned. Take caution before programming the fuses and check the hamming codes are zero. See the Trust Architecture document for Secure Fuse Programming (SFP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see also current discussion on&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/399971#comment"&gt;https://community.nxp.com/message/822000#comment-822000&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 14:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580466#M1274</guid>
      <dc:creator>marcboillot</dc:creator>
      <dc:date>2016-09-01T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: T4240 Secure Boot - SCRATCHRW(n) Registers</title>
      <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580467#M1275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this information, but the question was in regard to the documentation in the T4240 Reference Manual regarding the presence of the SCRATCHRW(n) registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reference manual does not list&amp;nbsp;these registers in the DCFG_CCSR Memory Map in section 27.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if this is an oversight in the Reference Manual or if the SCRATCHRW(n) registers really don't exist in the T4240. &amp;nbsp;If they don't exist, that changes the&amp;nbsp;workflow process for Secure Boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peeking and poking of those locations &amp;lt;imply&amp;gt; that they are present, but I would like confirmation if possible.&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>Thu, 01 Sep 2016 21:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580467#M1275</guid>
      <dc:creator>abaker</dc:creator>
      <dc:date>2016-09-01T21:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: T4240 Secure Boot - SCRATCHRW(n) Registers</title>
      <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580468#M1276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Can it please&amp;nbsp;be confirmed that the SCRATCHRW(n) registers still are&lt;/P&gt;&lt;P&gt;&amp;gt; defined for the T4240 and that is the correct process for the T4240?&lt;/P&gt;&lt;P&gt;Confirmed.&lt;/P&gt;&lt;P&gt;Please create a Technical Case to obtain additional information concerning the Trust Architecture:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fthread%2F381898" rel="nofollow" target="_blank"&gt;https://community.freescale.com/thread/381898&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 03:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580468#M1276</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2016-09-02T03:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: T4240 Secure Boot - SCRATCHRW(n) Registers</title>
      <link>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580469#M1277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do we need to map UBoot heard to two places?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;090e0200 c0b00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;- 0xc0b0000 maps to ESBC UBoot header 0xe8b00000&lt;BR /&gt;090e0208 c0c00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-- 0xc0c0000 maps to ESBC Uboot header 0xecb00000&lt;/P&gt;&lt;P&gt;Is it a typo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to perform secure boot on a P5020 and have so many questions regarding this process.&lt;/P&gt;&lt;P&gt;The addresses are different between these PBI command and what is on my system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting up Secure Boot &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| &amp;nbsp;&amp;nbsp;&amp;nbsp;RCW in QorIQ 1.9 for p5020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#LAW for ESBC&lt;BR /&gt;09000c10 00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;09000cd0&lt;BR /&gt;09000c14 c0000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;09000cd4&lt;BR /&gt;09000c18 81f0001b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 09000cd8 81f0001d (not 'b')... Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------This section doesn't exist in this rcw file&amp;nbsp; ------------------------&lt;BR /&gt;# LAW for CPC/SRAM&lt;BR /&gt;09000d00 00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; no idea what these addresses would be on my system.&lt;BR /&gt;09000d04 bff00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;09000d08 81000013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Scratch Registers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;090e0200 c0b00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;090E0200&lt;BR /&gt;090e0208 c0c00000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp; doesn't exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------These sections doesn't exist in this rcw file&amp;nbsp; ------------------------&lt;BR /&gt;# CPC SRAM&lt;BR /&gt;09010100 00000000&lt;BR /&gt;09010104 bff00009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;# CPC Configuration&lt;BR /&gt;09010f00 08000000&lt;BR /&gt;09010000 80000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T4240-Secure-Boot-SCRATCHRW-n-Registers/m-p/580469#M1277</guid>
      <dc:creator>analim_gt</dc:creator>
      <dc:date>2019-12-06T19:48:15Z</dc:date>
    </item>
  </channel>
</rss>

