<?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>LayerscapeのトピックRe: LS1021a full boot sequence</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477924#M804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see. If I understand you correctly, the PBL will:&lt;/P&gt;&lt;P&gt;- read the RCW on the selected medium&lt;/P&gt;&lt;P&gt;- copy the RCW in the DCFG registers&lt;/P&gt;&lt;P&gt;- read the PBI from the selected medium&lt;/P&gt;&lt;P&gt;- execute the PBI commands&lt;/P&gt;&lt;P&gt;- jump at the address written in SCRATCHRW1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of secure boot (e.g. if RCW says so), does the PBL perform the check of the ESBC's CSL itself or do I have to write code (using PBI or code in ocram for example) to do so ? Basically my question is: in case of secure boot, is there already some code that will check the signature of the ESBC or do I have to write this check using the SEC engine ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all these information,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2016 07:56:57 GMT</pubDate>
    <dc:creator>vsiles</dc:creator>
    <dc:date>2016-04-29T07:56:57Z</dc:date>
    <item>
      <title>LS1021a full boot sequence</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477922#M802</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'm trying to understand the full boot sequence of the LS1021a, and I'm a bit confused.&lt;/P&gt;&lt;P&gt;From what I gathered so far from SDK v1.9, the high-level view is:&lt;/P&gt;&lt;P&gt;- PBL code reads the fuses / RCW / PBI commands&lt;/P&gt;&lt;P&gt;- at some point, it copies u-boot from the boot medium to OCRAM and runs it (SD in my case)&lt;/P&gt;&lt;P&gt;- at this point, u-boot can configure DDR, copy Linux into it and boot Linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm unsure about is:&lt;/P&gt;&lt;P&gt;- Is the PBL executed by Cortex-a7 core 0, or is it an external chip ?&lt;/P&gt;&lt;P&gt;- Is the PBL code located in the ROM section (first Mb of the memory map) ?&lt;/P&gt;&lt;P&gt;- If that's not the case, can we access the PBL code to understand it ?&lt;/P&gt;&lt;P&gt;- In the RCW generated by the SDK (sdcard_ifc), there are lots of PBI instructions which copy code to OCRAM (like TZASC, IFC, SATA config ...) but I don't understand when the control branch to this code.&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>Tue, 26 Apr 2016 07:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477922#M802</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-04-26T07:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021a full boot sequence</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477923#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PBL is executed by PBL block, this block is a separate block in the device, not a part of core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBL code is located at attdess, specified in Section 8.5.1 of LS1021A Reference Manual. It depends on the device type you are using for PBL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can access PBL code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBL structure is quite simple - number of bytes, address in memory, and bytes itself. PBL block just executes this as sequence, placing requested number of data to requested addersses. This is "pre-boot loader" - it pre-configure specific addresses in memory before starting the core. If you want to start the core from internal OCRAM than you have to pre-load the code to this OCRAM by your pre-boot loader and than release core.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alexander&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>Fri, 29 Apr 2016 07:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477923#M803</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2016-04-29T07:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021a full boot sequence</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477924#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see. If I understand you correctly, the PBL will:&lt;/P&gt;&lt;P&gt;- read the RCW on the selected medium&lt;/P&gt;&lt;P&gt;- copy the RCW in the DCFG registers&lt;/P&gt;&lt;P&gt;- read the PBI from the selected medium&lt;/P&gt;&lt;P&gt;- execute the PBI commands&lt;/P&gt;&lt;P&gt;- jump at the address written in SCRATCHRW1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of secure boot (e.g. if RCW says so), does the PBL perform the check of the ESBC's CSL itself or do I have to write code (using PBI or code in ocram for example) to do so ? Basically my question is: in case of secure boot, is there already some code that will check the signature of the ESBC or do I have to write this check using the SEC engine ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all these information,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021a-full-boot-sequence/m-p/477924#M804</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-04-29T07:56:57Z</dc:date>
    </item>
  </channel>
</rss>

