<?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: LS1012A-FRWY doesn't start after programming secure u-boot in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312625#M8527</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;yipingwang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to be sure: I am building code for LS1012A-FRWY with flex-builder. To have the u-boot images (non secure and secure) I user the following command:&lt;/P&gt;&lt;P&gt;$&amp;nbsp;flex-builder -m ls1012afrwy # automatically build all firmware, linux, apps components and LSDK rootfs for ls1012afrwy&lt;/P&gt;&lt;P&gt;is this correct?&lt;/P&gt;&lt;P&gt;I only downloaded the code from &lt;A href="http://www.nxp.com" target="_blank"&gt;www.nxp.com&lt;/A&gt;&amp;nbsp;and built it, no code or other modification, therefore you proposal solution should work, isn't it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 12:28:11 GMT</pubDate>
    <dc:creator>settea</dc:creator>
    <dc:date>2021-07-23T12:28:11Z</dc:date>
    <item>
      <title>LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312006#M8513</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on the FS1012A-FRWY EVB. I am able to build all images. I update u-boot, linux and rootfs, so everything was correct.&lt;/P&gt;&lt;P&gt;I tried the secure u-boot, and I loaded it at u-boot prompt via the following commands:&lt;/P&gt;&lt;P&gt;=&amp;gt;tftp $load_addr firmware_ls1012afrwy_512mb_uboot_qspiboot_secure.img&lt;BR /&gt;=&amp;gt;sf probe 0:0&lt;BR /&gt;=&amp;gt;sf erase 0 +$filesize &amp;amp;&amp;amp; sf write $load_addr 0 $filesize&lt;/P&gt;&lt;P&gt;After the "=&amp;gt;reset" I cannot see nothing on the console, any suggestion?&lt;/P&gt;&lt;P&gt;I'm mainly using the following documentation:&lt;/P&gt;&lt;P&gt;LSDKUG_Rev20.12&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 12:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312006#M8513</guid>
      <dc:creator>settea</dc:creator>
      <dc:date>2021-07-22T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312022#M8514</link>
      <description>&lt;P&gt;I answer to my self:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;in the "Layerscape Software Development Kit User Guide, Rev. 20.12, 30 June 2021" at page 55/1348 is reported (3.5 Fixed, Open and&amp;nbsp; closed issues):&lt;/P&gt;&lt;P&gt;|&amp;nbsp; ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; Desccription&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Disposition | Opened in&amp;nbsp; &amp;nbsp;| Fixed in&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;| QSDK-6529 | On LS1012A RDB and FRWY, RSA verification fails in secure boot. |&amp;nbsp;Fixed&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | LSDK 20.04 | LSDK 20.12 |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't seem so!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312022#M8514</guid>
      <dc:creator>settea</dc:creator>
      <dc:date>2021-07-22T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312373#M8521</link>
      <description>&lt;P&gt;Please refer to the following procedure to execute secure boot.&lt;/P&gt;
&lt;P&gt;First you need to write&amp;nbsp;&lt;STRONG&gt;OTPMK&amp;nbsp;&lt;/STRONG&gt;to fuse array under u-boot.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Write OTPMK fuse values on shadow registers&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80234 a29a0b2c&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80238 2c8cd201&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e8023c 84027ca8&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80240 8e13c7b9&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80244 a0b9d347&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80248 50ef2622&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e8024c 98a92efd&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw.l 1e80250 ed53d1c3&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Check OTPMK_ZERO and OTPMK_SYNDROME as 0 in SecMon_HP Status Register&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;md 1e90014&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 8&lt;STRONG&gt;0&lt;/STRONG&gt;000900&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Check SFP_SVHESR no parity error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;md 1e80024&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 00000000&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Permanently write OTPMK from the mirror registers into the fuse array&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mw 1e80020 0x02000000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After program secure boot image on the custom board, you need to reset the target board, connect CodeWarrior CCS to the target board to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;program SRKH mirror registers in CodeWarrior CCS environment&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ccs::config_server 0 10000&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;ccs::config_chain {ls1043a dap sap2}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;display ccs::get_config_chain&lt;BR /&gt;#Check Initial SNVS State and Value in SCRATCH Registers&lt;BR /&gt;ccs::display_mem &amp;lt;dap position&amp;gt; 0x1e90014 4 0 4&lt;BR /&gt;ccs::display_mem &amp;lt;dap position&amp;gt; 0x1ee0200 4 0 4&lt;BR /&gt;#Wrie the SRK Hash Value in Mirror Registers&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80254 4 0 &amp;lt;SRKH1&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80258 4 0 &amp;lt;SRKH2&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e8025c 4 0 &amp;lt;SRKH3&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80260 4 0 &amp;lt;SRKH4&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80264 4 0 &amp;lt;SRKH5&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80268 4 0 &amp;lt;SRKH6&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e8026c 4 0 &amp;lt;SRKH7&amp;gt;&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1e80270 4 0 &amp;lt;SRKH8&amp;gt;&lt;BR /&gt;#Get the Core Out of Boot Hold-Off&lt;BR /&gt;ccs::write_mem &amp;lt;dap position&amp;gt; 0x1ee00e4 4 0 0x00000001&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to "3. Deploy Secure Boot Images to the Target and Write SRKH Mirror Register" section in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Qonverge-Knowledge-Base/Setting-up-Secure-Boot-on-PBL-Based-Platforms-in-Prototype-Stage/ta-p/1119912?attachment-id=1837" target="_blank"&gt;https://community.nxp.com/t5/Qonverge-Knowledge-Base/Setting-up-Secure-Boot-on-PBL-Based-Platforms-in-Prototype-Stage/ta-p/1119912?attachment-id=1837&lt;/A&gt;&amp;nbsp;for details.&lt;/P&gt;
&lt;P&gt;Please refer to "6.1.1.5 Procedure to run secure boot" in LSDK 20.12 user manual.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312373#M8521</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-23T06:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312390#M8522</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Yipingwang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I stil have some doubts concerning your proposal, you wrote:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Please refer to the following procedure to execute secure boot.&lt;/P&gt;&lt;P&gt;First you need to write&amp;nbsp;&lt;STRONG&gt;OTPMK&amp;nbsp;&lt;/STRONG&gt;to fuse array under u-boot.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Write OTPMK fuse values on shadow registers&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80234 a29a0b2c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80238 2c8cd201&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e8023c 84027ca8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80240 8e13c7b9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80244 a0b9d347&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80248 50ef2622&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e8024c 98a92efd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mw.l 1e80250 ed53d1c3"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But i don't have a u-boot prompt "=&amp;gt;"&lt;/P&gt;&lt;P&gt;I am able to have /dev/ttyACM0 on my Linux PC, but no prompt!&lt;/P&gt;&lt;P&gt;I programmed the secure boot in the following way:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt;tftp $load_addr firmware_ls1012afrwy_512mb_uboot_qspiboot_secure.img&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt;sf probe 0:0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt;sf erase 0 +$filesize &amp;amp;&amp;amp; sf write $load_addr 0 $filesize&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so this is not the right procedure, isn't it?&lt;/P&gt;&lt;P&gt;Anyway, I could recover from this situation?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312390#M8522</guid>
      <dc:creator>settea</dc:creator>
      <dc:date>2021-07-23T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312457#M8523</link>
      <description>&lt;P&gt;The procedure deploying image is correct.&lt;/P&gt;
&lt;P&gt;You could use CodeWarrior CCS to connect to your target board to program&amp;nbsp;&lt;STRONG&gt;OTPMK and&amp;nbsp;SRKH.&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV id="bp-page-9" class="page" data-page-number="9" data-loaded="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="bp-page-10" class="page" data-page-number="10" data-loaded="true"&gt;
&lt;DIV class="textLayer"&gt;&lt;SPAN&gt;Please refer to "a.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Blow OTPMK&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CCS" in&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;"3. Deploy Secure Boot Images to the Target and Write SRKH Mirror Register" section in&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/Qonverge-Knowledge-Base/Setting-up-Secure-Boot-on-PBL-Based-Platforms-in-Prototype-Stage/ta-p/1119912?attachment-id=1837" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Qonverge-Knowledge-Base/Setting-up-Secure-Boot-on-PBL-Based-Platforms-i...&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for details.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 08:27:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312457#M8523</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-23T08:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312625#M8527</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;yipingwang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to be sure: I am building code for LS1012A-FRWY with flex-builder. To have the u-boot images (non secure and secure) I user the following command:&lt;/P&gt;&lt;P&gt;$&amp;nbsp;flex-builder -m ls1012afrwy # automatically build all firmware, linux, apps components and LSDK rootfs for ls1012afrwy&lt;/P&gt;&lt;P&gt;is this correct?&lt;/P&gt;&lt;P&gt;I only downloaded the code from &lt;A href="http://www.nxp.com" target="_blank"&gt;www.nxp.com&lt;/A&gt;&amp;nbsp;and built it, no code or other modification, therefore you proposal solution should work, isn't it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 12:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1312625#M8527</guid>
      <dc:creator>settea</dc:creator>
      <dc:date>2021-07-23T12:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313086#M8536</link>
      <description>&lt;P&gt;Please run the following command&lt;/P&gt;&lt;P&gt;$ flex-builder -i mkfw -b qspi -m ls1012afrwy -s&lt;/P&gt;&lt;P&gt;In the console log, you will get "SRK (Public Key) Hash" used to verify secure boot image in flexbuild_lsdk2012/build/images/firmware_ls1012afrwy_512mb_uboot_qspiboot_secure.img&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 08:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313086#M8536</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-26T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313099#M8538</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I am building the executable as you suggested. I one question:&lt;BR /&gt;I already loaded the board as mentioned before, the values are the same I have now, is it correct?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 08:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313099#M8538</guid>
      <dc:creator>settea</dc:creator>
      <dc:date>2021-07-26T08:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A-FRWY doesn't start after programming secure u-boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313157#M8541</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 09:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-doesn-t-start-after-programming-secure-u-boot/m-p/1313157#M8541</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-26T09:48:06Z</dc:date>
    </item>
  </channel>
</rss>

