<?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: NXP Supplied Reference Code for ESBC in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948948#M4666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;i. Please refer to "5.1.3 Boot flow with TF-A" in LSDK LSDKUG_Rev19.06.&lt;/P&gt;&lt;P&gt;ii. Please refer to bl2 in atf folder.&lt;/P&gt;&lt;P&gt;2. You could run the following command to get atf in build_ls1046ardb/tmp/work/aarch64-fsl-linux/atf/git-r0/git/.&lt;/P&gt;&lt;P&gt;$ bitbake atf -c patch -f&lt;/P&gt;&lt;P&gt;3. You could modify sources/meta-freescale/conf/machine/ls1046ardb.conf as the following.&lt;/P&gt;&lt;P&gt;BOOT_CONFIG ??= "qspi-secure-boot"&lt;BR /&gt;UBOOT_CONFIG[qspi-secure-boot] = "ls1046ardb_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"&lt;/P&gt;&lt;P&gt;4. No impact for the generated file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2019 07:04:49 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2019-09-24T07:04:49Z</dc:date>
    <item>
      <title>NXP Supplied Reference Code for ESBC</title>
      <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948945#M4663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;I am trying to find the &lt;STRONG&gt;NXP Reference code&lt;/STRONG&gt; which is mentioned in all NXP documents&amp;nbsp;which describes ESBC phase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But none of the SDK documents give &lt;STRONG&gt;exact location or content of this code&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;In LSDKUG_Rev19.06, &lt;STRONG&gt;6.1.1.5 ESBC Phase&lt;/STRONG&gt; says&amp;nbsp;&lt;/P&gt;&lt;P&gt;ESBC is NXP – supplied reference code, and can be changed by OEMs. ESBC is the BL2 image, which is signed using private key.&lt;/P&gt;&lt;P&gt;That image then loads a FIP image that includes,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BL31 ( EL3 runtime software) , &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BL32( optional image for platform storage)&lt;/STRONG&gt; and&lt;/P&gt;&lt;P&gt;BL33 (Uboot) to DDR and their headers to DDR, then validates these images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there sample/reference code for &lt;STRONG&gt;BL31 and BL32&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;Or could you provide a brief description what is the expected image there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp;&lt;/STRONG&gt;In QorIQ&amp;nbsp;Yocto Environment, i edited my U-Boot source code in arch/arm/cpu/&lt;STRONG&gt;armv8&lt;/STRONG&gt; folder as my board is &lt;STRONG&gt;LS1046ARDB&lt;/STRONG&gt;. The output &lt;STRONG&gt;qspi-secure-boot.bin file is 800MB&lt;/STRONG&gt; in size. Even if i remove all other boards and CPU configuration folders and remove them from the Kconfigs, the size remains unchanged and is still 800MB.&lt;/P&gt;&lt;P&gt;What are the&amp;nbsp;folder/files/configurations that should be removed to reduce the file size?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. &lt;/STRONG&gt;In QorIQ&amp;nbsp;Yocto Environment, once I do bitbake U-Boot and it succeeds running all the tasks. If I make a change and do bitbake again, the &lt;STRONG&gt;compiling of changed files doesn't take place&lt;/STRONG&gt; and no new output file is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am doing &lt;STRONG&gt;bitbake -c compile -f u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then &lt;STRONG&gt;bitbake u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To do a forced compile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this throws a warning that the &lt;STRONG&gt;.bb is tainted&lt;/STRONG&gt; due to force run. &lt;STRONG&gt;Does this have any impact on the generated files&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In there some other way in bitbake to do an &lt;STRONG&gt;incremental build&lt;/STRONG&gt;/build new changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rashmitha&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chitra.amzarewale@utas.utc.com"&gt;chitra.amzarewale@utas.utc.com&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 03:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948945#M4663</guid>
      <dc:creator>rashmitharamesh</dc:creator>
      <dc:date>2019-09-20T03:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: NXP Supplied Reference Code for ESBC</title>
      <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948946#M4664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rashmitha,&lt;/P&gt;&lt;P&gt;1. Please refer to flash layout for boot flow with TF-A.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88250i8F75CE7FB8F24189/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. For &lt;STRONG&gt;BL31 and BL32&lt;/STRONG&gt; source code, please refer to atf source code.&lt;/P&gt;&lt;P&gt;In LSDK environment, please execute the following command to get atf source code in packages/firmware/atf/.&lt;/P&gt;&lt;P&gt;$ flex-builder -c atf -m ls1046ardb&lt;/P&gt;&lt;P&gt;Please refer to atf/bl31/ and atf bl32 for &lt;STRONG&gt;BL31 and BL32&lt;/STRONG&gt; source code.&lt;/P&gt;&lt;P&gt;You also could get atf source code from git tree&lt;/P&gt;&lt;P&gt;$ git clone &lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/atf.git" target="test_blank"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/atf.git&lt;/A&gt; -b LSDK-19.06&lt;/P&gt;&lt;P&gt;$ git checkout -b LSDK-19.06&lt;/P&gt;&lt;P&gt;3. I just download the latest Yocto release from the following link.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk/tree/readme?h=warrior" title="https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk/tree/readme?h=warrior"&gt;readme - qoriq-components/yocto-sdk - Repo manifest for QorIQ Yocto SDK&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Modify sources/meta-freescale/conf/machine/ls1046ardb.conf as the following.&lt;/P&gt;&lt;P&gt;BOOT_CONFIG ??= "tfa-secure-boot tfa qspi-secure-boot"&lt;BR /&gt;UBOOT_CONFIG[tfa] = "ls1046ardb_tfa_defconfig,,u-boot-dtb.bin"&lt;BR /&gt;UBOOT_CONFIG[tfa-secure-boot] = "ls1046ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"&lt;BR /&gt;UBOOT_CONFIG[qspi-secure-boot] = "ls1046ardb_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generated secure QSPI boot image u-boot-qspi-secure-boot-2018.09+fslgit-r0.bin about 745K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The following procedure should be correct.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$ bitbake -c compile -f u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$ bitbake u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 08:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948946#M4664</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-09-23T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: NXP Supplied Reference Code for ESBC</title>
      <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948947#M4665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;(i)Could you please tell is TF-A -&amp;gt;Trusted Firmware Architecture or anything else?&lt;/P&gt;&lt;P&gt;(ii)I think my question was not worded properly, but I was asking where will I find ESBC-NXP Reference Code in QorIQ SDK folder or in U-boot folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am not using LSDK, I am using QorIQ SDK V2 Yocto, I understand that flex-builder is for LSDK.&lt;/P&gt;&lt;P&gt;Could you suggest steps for getting "package folder" in QorIQ Yocto Env?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;Why is tfa-secure-boot and qspi-secure-boot both required?&lt;/P&gt;&lt;P&gt;I am trying to boot from QSPI alone, also I am not able to understand what exactly is TFA-SECURE-BOOT used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Forced compile throws a warning that the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;.bb is tainted&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;due to force run.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Does this have any impact on the generated files&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Rashmitha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chitra.amzarewale@utas.utc.com"&gt;chitra.amzarewale@utas.utc.com&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948947#M4665</guid>
      <dc:creator>rashmitharamesh</dc:creator>
      <dc:date>2019-09-23T15:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: NXP Supplied Reference Code for ESBC</title>
      <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948948#M4666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;i. Please refer to "5.1.3 Boot flow with TF-A" in LSDK LSDKUG_Rev19.06.&lt;/P&gt;&lt;P&gt;ii. Please refer to bl2 in atf folder.&lt;/P&gt;&lt;P&gt;2. You could run the following command to get atf in build_ls1046ardb/tmp/work/aarch64-fsl-linux/atf/git-r0/git/.&lt;/P&gt;&lt;P&gt;$ bitbake atf -c patch -f&lt;/P&gt;&lt;P&gt;3. You could modify sources/meta-freescale/conf/machine/ls1046ardb.conf as the following.&lt;/P&gt;&lt;P&gt;BOOT_CONFIG ??= "qspi-secure-boot"&lt;BR /&gt;UBOOT_CONFIG[qspi-secure-boot] = "ls1046ardb_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"&lt;/P&gt;&lt;P&gt;4. No impact for the generated file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 07:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948948#M4666</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-09-24T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: NXP Supplied Reference Code for ESBC</title>
      <link>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948949#M4667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yipingwang"&gt;yipingwang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;$ bitbake atf -c patch -f ------ Is giving error saying atf not found, try &lt;STRONG&gt;at&lt;/STRONG&gt; or &lt;STRONG&gt;atftp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You are referring to &lt;STRONG&gt;LSDK again&lt;/STRONG&gt;, I am using &lt;STRONG&gt;QorIQ SDK V2 Yocto&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you please provide guidance w.r.t. QorIQ Yocto SDK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;New Questions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;1. Below given CST Tool&amp;nbsp;&lt;/STRONG&gt;steps asks to change config to create&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM&gt;secure u-boot image .&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;What is the difference between &lt;STRONG&gt;normal u-boot bin&lt;/STRONG&gt; and &lt;STRONG&gt;secure u-boot bin&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #51626f; "&gt;&lt;EM&gt;c.Build Secure u-boot image&lt;BR /&gt;Modify the recipe sources/meta-freescale/conf/machine/ls1043ardb.conf, add secure u-boot in the build configuration.&lt;BR /&gt;UBOOT_CONFIG ??= "nand sdcard nor secure-boot"&lt;BR /&gt;Execute “$bitbake u-boot” and get secure u-boot image build_ls1043ardb/tmp/deploy/images/ls1043ardb/u-boot-secure-boot.bin, copy it to folder build_ls1043ardb/tmp/sysroots/x86_64-linux/usr/bin/cst and rename it as u-boot.bin.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;EM&gt;2&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is there any guide for list of U-Boot configurations for enabling and operating only in Arm Trust Zone?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #51626f; "&gt;3.&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;I want my secure-boot flow to be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;First, BL1 (ISBC in Internal BOOT ROM) which is present by default&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;After that if i just want a single BL with basic boot functionality(System register initialization, RAM Init, basic tests).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BL1-&amp;gt; Basic Boot-&amp;gt;Linux&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Which are the files that set this one image to next image transition/flow?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Rashmitha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chitra.amzarewale@utas.utc.com"&gt;chitra.amzarewale@utas.utc.com&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 03:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/NXP-Supplied-Reference-Code-for-ESBC/m-p/948949#M4667</guid>
      <dc:creator>rashmitharamesh</dc:creator>
      <dc:date>2019-09-25T03:03:04Z</dc:date>
    </item>
  </channel>
</rss>

