<?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: Trusty RPMB Key question</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877368#M133142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know you cannot give us support on I.MX8 series.&lt;/P&gt;&lt;P&gt;However, our company already make a NDA with nxp,&lt;/P&gt;&lt;P&gt;we need check the security architecture in advance, and to design the android security as well in advance.&lt;/P&gt;&lt;P&gt;So could you give me some support for I.MX common concept?&lt;/P&gt;&lt;P&gt;Could you tell me which part will store the RPMB secure key to CAAM Secure RAM KeyBox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2019 07:43:27 GMT</pubDate>
    <dc:creator>zhongyue_li</dc:creator>
    <dc:date>2019-04-04T07:43:27Z</dc:date>
    <item>
      <title>Trusty RPMB Key question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877366#M133140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP engineers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am from China Hirain company, now i am working on security features on IMX8 with android auto P OS.&lt;/P&gt;&lt;P&gt;I am trying to check RPMB key in trusty trustzone OS, however, it is failed in geting kbox via API "caam_get_keybox()".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-weight: 400;"&gt;&lt;STRONG&gt;struct&lt;/STRONG&gt; &lt;A href="http://10.10.2.129:8080/source/s?defs=keyslot_package&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;keyslot_package&lt;/A&gt;* &lt;A href="http://10.10.2.129:8080/source/xref/trusty/hardware/nxp/app/hwcrypto/hwkey_srv_provider.c#kbox" rel="nofollow noopener noreferrer" style="color: #990099; font-weight: bold; text-decoration: none;" target="_blank"&gt;kbox&lt;/A&gt; = &lt;A href="http://10.10.2.129:8080/source/s?defs=caam_get_keybox&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;caam_get_keybox&lt;/A&gt;();&lt;STRONG&gt;    if&lt;/STRONG&gt; (&lt;A href="http://10.10.2.129:8080/source/s?defs=strncmp&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;strncmp&lt;/A&gt;(&lt;A href="http://10.10.2.129:8080/source/xref/trusty/hardware/nxp/app/hwcrypto/hwkey_srv_provider.c#kbox" rel="nofollow noopener noreferrer" style="color: #990099; font-weight: bold; text-decoration: none;" target="_blank"&gt;kbox&lt;/A&gt;-&amp;gt;&lt;A href="http://10.10.2.129:8080/source/s?defs=magic&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;magic&lt;/A&gt;, &lt;A href="http://10.10.2.129:8080/source/s?defs=KEYPACK_MAGIC&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;KEYPACK_MAGIC&lt;/A&gt;, &lt;SPAN class="" style="color: #a52a2a;"&gt;4&lt;/SPAN&gt;)) {
&lt;PRE style="border: 0px; margin: 0px;"&gt;       &lt;A href="http://10.10.2.129:8080/source/s?defs=TLOGE&amp;amp;project=trusty" rel="nofollow noopener noreferrer" style="color: #202062; text-decoration: none;" target="_blank"&gt;TLOGE&lt;/A&gt;(&lt;SPAN class="" style="color: green;"&gt;"Invalid magic\n"&lt;/SPAN&gt;);
 &lt;STRONG&gt;return&lt;/STRONG&gt;;
     }

the kbox-&amp;gt;magic is null, so rpmb_keyblob cannot be get from caam keybox.

could you help check the reason why the kbox-&amp;gt; magic is null?
it seems there is something wrong with caam features on IMX8 android auto chipset.

However, i still want to know the common RPMB key concept on IMX7 or earlier chipset with CAAM featus.
for example, how is the RPMB key stored in the CAAM Keybox?&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 10:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877366#M133140</guid>
      <dc:creator>zhongyue_li</dc:creator>
      <dc:date>2019-04-03T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trusty RPMB Key question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877367#M133141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually i.MX8 series is not launched yet and are not supported by our team (web support).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 05:06:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877367#M133141</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2019-04-04T05:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trusty RPMB Key question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877368#M133142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know you cannot give us support on I.MX8 series.&lt;/P&gt;&lt;P&gt;However, our company already make a NDA with nxp,&lt;/P&gt;&lt;P&gt;we need check the security architecture in advance, and to design the android security as well in advance.&lt;/P&gt;&lt;P&gt;So could you give me some support for I.MX common concept?&lt;/P&gt;&lt;P&gt;Could you tell me which part will store the RPMB secure key to CAAM Secure RAM KeyBox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 07:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877368#M133142</guid>
      <dc:creator>zhongyue_li</dc:creator>
      <dc:date>2019-04-04T07:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trusty RPMB Key question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877369#M133143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to fuse the RPMB key to your emmc with fastboot cmds. You can find the instructions to do that in our release user guide.&amp;nbsp; Once you have fused, you cannot change it. So be careful to do that&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;&amp;nbsp;Two ways are provided to set the RPMB key.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin: 0px; padding: 0px;"&gt;&lt;LI data-aria-level="1" data-aria-posinset="1" data-font="等线, 等线_MSFontService, sans-serif" data-leveltext="%1." data-listid="7" style="margin: 0px 0px 0px 48px; padding: 0px; font-size: 11pt;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;Manually specify a 256-bit key and program it&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0px 0px 0px 24px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;Firstly, a file contains the key need to be generated. In the default key file “&lt;/SPAN&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; border-bottom: 1px solid transparent; "&gt;rpmb_key_test.bin&lt;/SPAN&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;”, all 256 bits are zero. It can be generated with below commands:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 24px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;$ touch&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb_key.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:360}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 24px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;$ echo –n “RPMB” &amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb_key.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:360}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 24px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;$ echo –n&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;-e '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' &amp;gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb_key.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:360}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN data-contrast="none" style="margin: 0px; padding: 0px; color: #3c3c3c; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;The '\&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;xHH&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;' means eight-bit character whose value is the hexadecimal value 'HH'. You can replace above "00" with the key you want to set.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;Then, program the key with the file just generated&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;Make the board enter&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;fastboot&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mode, then execute below commands on host side:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 28px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;$&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;fastboot&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;stage&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb_key.bin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 0px 28px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;$&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;fastboot&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;oem&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;set-&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;-key&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin: 0px; padding: 0px;"&gt;&lt;LI data-aria-level="1" data-aria-posinset="2" data-font="等线, 等线_MSFontService, sans-serif" data-leveltext="%1." data-listid="7" style="margin: 0px 0px 0px 48px; padding: 0px; font-size: 11pt;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;Program a random key&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0px 0px 0px 24px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 28px;"&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;Make the board enter&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;fastboot&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mode, execute below commands on host side:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="margin: 0px; padding: 0px;" /&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="auto" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;$&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;fastboot&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-contrast="none" style="margin: 0px; padding: 0px; color: #3c3c3c; font-size: 10.5pt;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;oem&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;set-&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; border-bottom: 1px solid transparent; background-color: inherit;"&gt;rpmb&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; background-color: inherit;"&gt;-random-key&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6,&amp;quot;335559685&amp;quot;:360,&amp;quot;335559731&amp;quot;:420}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;After RPMB key programed with either of the two ways, reboot the board,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; color: #3c3c3c; font-size: 10.5pt; "&gt;the RPMB service in Trusty OS will be initialized successfully.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; background-color: transparent; color: windowtext; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; padding: 0px; margin: 0px; font-size: 10.5pt; "&gt;The preceding two ways will program the key to eMMC fuse, a key blob will be generated base on the key value and the blob will be saved for TEE to use. In default condition, this key blob is saved in the 16383rd block of BOOT1 partition in eMMC for i.MX8QuadMax and i.MX8QuadXPlus. The BOOT1 partition size of eMMC on i.MX8QuadMax and i.MX8QuadXPlus is 8MB, we can find that the key blob is in the last block in BOOT1 partition. To prevent key blob from been tampered when the system is running, BOO1 partition will be set with power-on write protection when the board boot up.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;335551550&amp;quot;:6,&amp;quot;335551620&amp;quot;:6}" style="margin: 0px; padding: 0px; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 07:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Trusty-RPMB-Key-question/m-p/877369#M133143</guid>
      <dc:creator>chenguoyin</dc:creator>
      <dc:date>2019-04-09T07:58:47Z</dc:date>
    </item>
  </channel>
</rss>

