<?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 FIELD_RETURN_LOCK enabling in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1629133#M203831</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I read&amp;nbsp;&lt;SPAN&gt;021bc050: 00000018 so seems that&amp;nbsp;FIELD_RETURN_LOCK is not set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same issue as&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/894182#M135143" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/894182#M135143&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I flashed a signed u-boot but no more log is seen on console, could you please share me the solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohamed Ali&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 12:59:28 GMT</pubDate>
    <dc:creator>mohamed-ali_fod</dc:creator>
    <dc:date>2023-04-06T12:59:28Z</dc:date>
    <item>
      <title>FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1629133#M203831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I read&amp;nbsp;&lt;SPAN&gt;021bc050: 00000018 so seems that&amp;nbsp;FIELD_RETURN_LOCK is not set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same issue as&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/894182#M135143" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/894182#M135143&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I flashed a signed u-boot but no more log is seen on console, could you please share me the solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohamed Ali&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 12:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1629133#M203831</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2023-04-06T12:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1629733#M203889</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/123550"&gt;@mohamed-ali_fod&lt;/a&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;The FIELD_RETURN fuse is protected by the FIELD_RETURN_LOCK sticky bit in the OCOTP_CTRL fuse controller.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;OCOTP module clock must be enabled to set the sticky bit.&lt;BR /&gt;&lt;BR /&gt;Please make sure that the below-mentioned changes are applied to u-boot to enable the OCOTP module clock.&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/commit/9a3d4a6b8470980c4d4f938619a9d34a9282a69c" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/uboot-imx/commit/9a3d4a6b8470980c4d4f938619a9d34a9282a69c&amp;amp;source=gmail&amp;amp;ust=1680950032313000&amp;amp;usg=AOvVaw3m5wvsWJCiUYqv0AREsLRJ"&gt;Enable OCOTP CTRL clock in DCD and plugin&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/commit/a847fff11cc4f3745d0087d45d2e5964c47f55d2" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/uboot-imx/commit/a847fff11cc4f3745d0087d45d2e5964c47f55d2&amp;amp;source=gmail&amp;amp;ust=1680950032313000&amp;amp;usg=AOvVaw3W1VSG83TAm-3CMKfp3mcD"&gt;Do not disable the OCOTP clock after every access&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Apr 2023 11:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1629733#M203889</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-07T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1645507#M205326</link>
      <description>&lt;P&gt;Hi Sanket,&lt;/P&gt;&lt;P&gt;I did this modification:&amp;nbsp;&lt;A href="https://github.com/nxp-imx/uboot-imx/commit/9a3d4a6b8470980c4d4f938619a9d34a9282a69c" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/uboot-imx/commit/9a3d4a6b8470980c4d4f938619a9d34a9282a69c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;enable_ocotp_clk(1); in &lt;STRONG&gt;prepare_access&lt;/STRONG&gt; function but in &lt;STRONG&gt;finish_access&lt;/STRONG&gt; I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ifdef CONFIG_MX7ULP&lt;BR /&gt;/* Need to power down the OTP memory */&lt;BR /&gt;writel(1, &amp;amp;regs-&amp;gt;pdn);&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;there is no call to&amp;nbsp;enable_ocotp_clk(0);&lt;/P&gt;&lt;P&gt;In the CSF I have&lt;/P&gt;&lt;P&gt;[Unlock]&lt;BR /&gt;Engine = OCOTP&lt;BR /&gt;Features = FIELD RETURN&lt;BR /&gt;UID = 0x1f,0x09 ,0x64 ,0xd9 ,0xd4 ,0xc1 ,0x0c ,0x04&lt;/P&gt;&lt;P&gt;But it still not work, the problem is that when the board is flashed with u-boot that was built with the above Unlock CSF it cannot boot anymore, could you please help?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Mohamed Ali&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 13:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1645507#M205326</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2023-05-05T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1647706#M205590</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/123550"&gt;@mohamed-ali_fod&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Please mention the processor part number and board directory used in u-boot-imx in your case.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please try using the latest u-boot-imx version.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make sure that the correct UID(read from fuses) is used in CSF.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 07:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1647706#M205590</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-10T07:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1651133#M205951</link>
      <description>&lt;P&gt;Hi Sanket,&lt;/P&gt;&lt;P&gt;My original CSF was:&lt;/P&gt;&lt;P&gt;[Unlock]&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Features = RNG&lt;/P&gt;&lt;P&gt;I replace it by&lt;/P&gt;&lt;P&gt;[Unlock]&lt;BR /&gt;Engine = OCOTP&lt;BR /&gt;Features = FIELD RETURN&lt;BR /&gt;UID = 0x1f,0x09 ,0x64 ,0xd9 ,0xd4 ,0xc1 ,0x0c ,0x04&lt;/P&gt;&lt;P&gt;I think I have to keep both unlock sections, could you please confirm?&lt;/P&gt;&lt;P&gt;I tried also to load (using jlink) signed u-boot to my secure board (I activate only the SEC_CONFIG bit) , the load works but I got no console:&lt;/P&gt;&lt;P&gt;Downloading file [./u-boot-spinor-signed.imx.bin]...&lt;BR /&gt;O.K.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;VerifyBin ./u-boot-spinor-signed.imx.bin 0x177ff400&lt;BR /&gt;Loading binary file ./u-boot-spinor-signed.imx.bin&lt;BR /&gt;Reading 689472 bytes data from target memory @ 0x177FF400.&lt;BR /&gt;Verify successful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Using the same u-boot binary, the console works on non secure board.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Mohamed Ali&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 16:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1651133#M205951</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2023-05-16T16:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1652100#M206041</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/123550"&gt;@mohamed-ali_fod&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Yes, One needs to keep both Unlock sections.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;5.2.13 Unlock (HAB only)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;in&amp;nbsp;Code-Signing Tool User’s Guide for more information related to unlock command.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please cross-check that the correct UID (in the correct endian) is used in CSF.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1652100#M206041</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-17T13:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1652944#M206089</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi&lt;SPAN&gt;&amp;nbsp;Sanket,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;I hope you are doing well. Thank you for the confirmation, the field return works if I kept both Unlock sections.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One last question:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How it is possible to run signed uboot in secured board using jlink?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using the following commands but the u-boot run only in non secured board, in case of secured board the u-boot is loaded in RAM but doesn't run:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;loadbin ./u-boot-spinor-signed.imx.bin 0x177ff400&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SetPC 0x17800000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;g&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;Mohamed Ali&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 May 2023 08:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1652944#M206089</guid>
      <dc:creator>mohamed-ali_fod</dc:creator>
      <dc:date>2023-05-18T08:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: FIELD_RETURN_LOCK enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1653782#M206179</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/123550"&gt;@mohamed-ali_fod&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Glad to know that field return works well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Yes, It is possible to run a signed uboot in a secured board using JTAG&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please raise another case for further queries.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 10:16:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/1653782#M206179</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-19T10:16:47Z</dc:date>
    </item>
  </channel>
</rss>

