<?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>i.MX ProcessorsのトピックRe: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1168769#M163563</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we have FSL_CAAM = y and therefore SHA_HW_ACCEL = y because it's required by SECURE_BOOT which is mandatory in our product.&lt;/P&gt;&lt;P&gt;What do you suggest to do? Is there any way to force the AUTOBOOT_STO_STR_SHA256 to be performed by sw?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Paolo&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 08:48:33 GMT</pubDate>
    <dc:creator>pgentili</dc:creator>
    <dc:date>2020-10-16T08:48:33Z</dc:date>
    <item>
      <title>Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1164388#M163104</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to activate the U-Boot's "&lt;EM&gt;Stop autobooting via SHA256 encrypted password" &lt;/EM&gt;feature on iMX8M Mini. The problem is that, when U-Boot is autobooting, every time I press I button I get this error:&lt;/P&gt;&lt;P&gt;Error: Address arguments are not aligned&lt;BR /&gt;CAAM was not setup properly or it is faulty&lt;/P&gt;&lt;P&gt;Do you know how to fix it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:41:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1164388#M163104</guid>
      <dc:creator>pgentili</dc:creator>
      <dc:date>2020-10-08T08:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1166367#M163360</link>
      <description>&lt;P&gt;HI pgentili&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked internally and some questions arised below:&lt;/P&gt;
&lt;P&gt;--------------&lt;/P&gt;
&lt;P&gt;Does the customer must use CAAM to do sha256 operation? In our BSP, we don't enable CAAM by default, the CONFIG_AUTOBOOT_STOP_STR_SHA256 feature can be achieved by software.&lt;/P&gt;
&lt;P&gt;So can you tell me the configuration that customer does? Do they have to use CAAM to do sha256?&lt;/P&gt;
&lt;P&gt;--------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 08:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1166367#M163360</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-15T08:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1168769#M163563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we have FSL_CAAM = y and therefore SHA_HW_ACCEL = y because it's required by SECURE_BOOT which is mandatory in our product.&lt;/P&gt;&lt;P&gt;What do you suggest to do? Is there any way to force the AUTOBOOT_STO_STR_SHA256 to be performed by sw?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 08:48:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1168769#M163563</guid>
      <dc:creator>pgentili</dc:creator>
      <dc:date>2020-10-16T08:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1169297#M163643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Paolo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--------------&lt;/P&gt;
&lt;P&gt;Yes,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;there is a way to force the AUTOBOOT_STO_STR_SHA256 to be performed by sw that we must change the uboot code manually. The modification is below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;diff --git a/common/hash.c b/common/hash.c&lt;BR /&gt;index 413a5bf..cc1609c 100644&lt;BR /&gt;--- a/common/hash.c&lt;BR /&gt;+++ b/common/hash.c&lt;BR /&gt;@@ -171,7 +171,7 @@ static struct hash_algo hash_algo[] = {&lt;BR /&gt;.digest_size = SHA256_SUM_LEN,&lt;BR /&gt;.chunk_size = CHUNKSZ_SHA256,&lt;BR /&gt;#ifdef CONFIG_SHA_HW_ACCEL&lt;BR /&gt;- .hash_func_ws = hw_sha256,&lt;BR /&gt;+ .hash_func_ws = sha256_csum_wd,&lt;BR /&gt;#else&lt;BR /&gt;.hash_func_ws = sha256_csum_wd,&lt;BR /&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;--------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 03:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1169297#M163643</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-19T03:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1169527#M163664</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;thanks for your help but your solution is not working.&lt;/P&gt;&lt;P&gt;The error regarding CAAM is gone but I cannot stop the autoboot process typing the password. I tried switching back to CONFIG_AUTOBOOT_STOP_STR (w/o encryption) and it's working fine.&lt;/P&gt;&lt;P&gt;Any idea why it cannot use CAAM at that stage?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1169527#M163664</guid>
      <dc:creator>pgentili</dc:creator>
      <dc:date>2020-10-19T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1170033#M163705</link>
      <description>&lt;P&gt;internal feedback:&lt;/P&gt;
&lt;P&gt;-----------------&lt;/P&gt;
&lt;P&gt;Does the customer set SHA256 result of their keys in the&amp;nbsp;CONFIG_AUTOBOOT_STOP_STR_SHA256?&lt;/P&gt;
&lt;P&gt;Let me give an example. If I want to use char 'a' to stop autoboot, I need to set the&amp;nbsp;CONFIG_AUTOBOOT_STOP_STR_SHA256 to 'ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb'(the sha256 result of char 'a'), like the attached picture.&lt;/P&gt;
&lt;P&gt;Now our BSP hasn't supported CAAM to do sha256 in uboot phase. The method I told you in last reply is to change the sha256 operation to achieve by software method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-----------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 04:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1170033#M163705</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-20T04:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error using CONFIG_AUTOBOOT_STOP_STR_SHA256 in U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1170163#M163723</link>
      <description>&lt;P&gt;There you go, that was the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 07:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-using-CONFIG-AUTOBOOT-STOP-STR-SHA256-in-U-Boot/m-p/1170163#M163723</guid>
      <dc:creator>pgentili</dc:creator>
      <dc:date>2020-10-20T07:56:51Z</dc:date>
    </item>
  </channel>
</rss>

