<?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 How To Create Secure Boot SD Card for LS1043ARDB in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934292#M4513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am working on LS1043ARDB development board and I am facing issues with secure boot.&lt;/P&gt;&lt;P&gt;I have performed following procedure for building secure boot sd card image,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before performing all steps, I have made one change in configs/build_lsdk_config file I have set CONFIG_FUSE_PROVISIONING=y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;STRONG&gt;1) Using Prebuilt Images&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/app_components_LS_arm64.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/app_components_LS_arm64.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/bootpartition_LS_arm64_lts_4.14.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/bootpartition_LS_arm64_lts_4.14.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/lib_modules_LS_arm64_4.14.122.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/lib_modules_LS_arm64_4.14.122.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/firmware_ls1043ardb_uboot_sdboot_secure.img"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/firmware_ls1043ardb_uboot_sdboot_secure.img&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i merge-component -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i packrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-installer -b bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_lsdk1906_LS_arm64_main_201910171231.tgz -f build/images/firmware_ls1043ardb_uboot_sdboot_secure.img -d /dev/mmcblk0&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;STRONG&gt;2) Using Custom Build&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -c atf -m ls1043ardb -b sd -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -c linux -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkbootpartition -a arm64 -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i merge-component -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i packrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-installer -b build/images/bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_lsdk1906_LS_arm64_main_201910171231.tgz -f build/images/firmware_ls1043ardb_uboot_sdboot_secure.img -d /dev/mmcblk0&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After performing above steps, I have inserted sd card into LS1043ardb but board is not booting up for both the procedures. If I have used non-secure boot image(firmware_ls1043ardb_uboot_sdboot.img) in above method then board is booting-up fine.&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt;"&gt;As per documentation, I need to blow OTPMK fuses. But I don’t know if I blow fuses what will happen? would I be able to boot board again in normal mode (non-secure mode)?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;What is the difference between OTPMK and SRKH?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;If SRKH and OTPMK are different then how to program SRKH? I know the procedure for OTPMK using UBoot&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;What will happen if I have copied wrong values in OTPMK and SRKH registers?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;When does SRKH come into picture?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;Shall I need JTAG for secure boot process? if yes, then why?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know the detail step wise procedure for secure boot with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2019 13:01:02 GMT</pubDate>
    <dc:creator>shashikant_waka</dc:creator>
    <dc:date>2019-10-17T13:01:02Z</dc:date>
    <item>
      <title>How To Create Secure Boot SD Card for LS1043ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934292#M4513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am working on LS1043ARDB development board and I am facing issues with secure boot.&lt;/P&gt;&lt;P&gt;I have performed following procedure for building secure boot sd card image,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before performing all steps, I have made one change in configs/build_lsdk_config file I have set CONFIG_FUSE_PROVISIONING=y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;STRONG&gt;1) Using Prebuilt Images&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/app_components_LS_arm64.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/app_components_LS_arm64.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/bootpartition_LS_arm64_lts_4.14.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/bootpartition_LS_arm64_lts_4.14.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/lib_modules_LS_arm64_4.14.122.tgz"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/lib_modules_LS_arm64_4.14.122.tgz&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk1906/firmware_ls1043ardb_uboot_sdboot_secure.img"&gt;https://www.nxp.com/lgfiles/sdk/lsdk1906/firmware_ls1043ardb_uboot_sdboot_secure.img&lt;/A&gt;&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i merge-component -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i packrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-installer -b bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_lsdk1906_LS_arm64_main_201910171231.tgz -f build/images/firmware_ls1043ardb_uboot_sdboot_secure.img -d /dev/mmcblk0&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;STRONG&gt;2) Using Custom Build&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -c atf -m ls1043ardb -b sd -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -c linux -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i mkbootpartition -a arm64 -s&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i merge-component -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-builder -i packrfs -a arm64&lt;/LI&gt;&lt;LI style="margin-left: 36.0pt;"&gt;flex-installer -b build/images/bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_lsdk1906_LS_arm64_main_201910171231.tgz -f build/images/firmware_ls1043ardb_uboot_sdboot_secure.img -d /dev/mmcblk0&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After performing above steps, I have inserted sd card into LS1043ardb but board is not booting up for both the procedures. If I have used non-secure boot image(firmware_ls1043ardb_uboot_sdboot.img) in above method then board is booting-up fine.&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin-left: 18.0pt;"&gt;As per documentation, I need to blow OTPMK fuses. But I don’t know if I blow fuses what will happen? would I be able to boot board again in normal mode (non-secure mode)?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;What is the difference between OTPMK and SRKH?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;If SRKH and OTPMK are different then how to program SRKH? I know the procedure for OTPMK using UBoot&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;What will happen if I have copied wrong values in OTPMK and SRKH registers?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;When does SRKH come into picture?&lt;/LI&gt;&lt;LI style="margin-left: 18.0pt;"&gt;Shall I need JTAG for secure boot process? if yes, then why?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know the detail step wise procedure for secure boot with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934292#M4513</guid>
      <dc:creator>shashikant_waka</dc:creator>
      <dc:date>2019-10-17T13:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create Secure Boot SD Card for LS1043ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934293#M4514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the following document about secure boot, OTPMK and SRKH:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="http://cache.freescale.com/files/training/doc/ftf/2014/FTF-NET-F0070.pdf"&gt;http://cache.freescale.com/files/training/doc/ftf/2014/FTF-NET-F0070.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See also the Chapter 6 of LSDK 1909 User Guide:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev19.09.pdf" target="test_blank"&gt;https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev19.09.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Draw attention on the Section &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;6.1.1.7.2.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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, 18 Oct 2019 06:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934293#M4514</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-10-18T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create Secure Boot SD Card for LS1043ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934294#M4515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/PavelChubakov"&gt;PavelChubakov&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 12:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-To-Create-Secure-Boot-SD-Card-for-LS1043ARDB/m-p/934294#M4515</guid>
      <dc:creator>shashikant_waka</dc:creator>
      <dc:date>2019-10-23T12:20:24Z</dc:date>
    </item>
  </channel>
</rss>

