<?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>LayerscapeのトピックOP TEE bring up in LS1012A</title>
    <link>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788400#M3486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to bring up OP TEE in LS1012A FRWY, and have read through LSDK&amp;nbsp;document and manual in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-340919"&gt;OP-TEE &lt;/A&gt;&amp;nbsp;, however, these documents don't&amp;nbsp;solve all the questions. Anyone have detailed steps how to bring up OP TEE ?&lt;/P&gt;&lt;P&gt;Especially:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Do I have to enable secure boot to run OP TEE?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) From&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/340919-1-428543/OP-TEE.pdf" title="https://community.nxp.com/servlet/JiveServlet/download/340919-1-428543/OP-TEE.pdf"&gt;OP TEE.pdf&lt;/A&gt;&amp;nbsp;, I learned that I need to generate a ppa.itb file by using&lt;/P&gt;&lt;P&gt;$ flex-builder -c ppa-optee -m ls1012afrwy&lt;/P&gt;&lt;P&gt;which generate&amp;nbsp; flexbuild/build/firmware/ppa/soc-ls1012/ppa.itb.&lt;/P&gt;&lt;P&gt;Then what? the document doesn't&amp;nbsp;complete the puzzle. How do I use that file? Do I need to manually&amp;nbsp;burn it in the Nor flash? and How?&lt;/P&gt;&lt;P&gt;3) I also learned I need to create a OPTEE-OS binary by using&lt;/P&gt;&lt;P&gt;$ flex-builder -c optee_os -m ls1012afrwy&lt;/P&gt;&lt;P&gt;which outputs the bin file to flexbuild/packages/apps/optee_os/out/arm-plat-ls/core/tee_ls1012afrwy.bin&lt;/P&gt;&lt;P&gt;Again, it is confusing how can I use that file, what is next step ?&lt;/P&gt;&lt;P&gt;4) In&amp;nbsp;&lt;A href="https://community.nxp.com/thread/475890"&gt;https://community.nxp.com/thread/475890&lt;/A&gt;&amp;nbsp;, I know I have to build client ,&amp;nbsp;test and OS to run the tests:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_os&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_client&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_test&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Again, then what? Manually&amp;nbsp;copy or use flex-build to create a new SD image?&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Anyway, I couldn't&amp;nbsp;solve these&amp;nbsp;puzzles, is there any detailed instruction on how to bring up OP TEE in NXP board?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2018 19:29:31 GMT</pubDate>
    <dc:creator>zcchai</dc:creator>
    <dc:date>2018-11-21T19:29:31Z</dc:date>
    <item>
      <title>OP TEE bring up in LS1012A</title>
      <link>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788400#M3486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to bring up OP TEE in LS1012A FRWY, and have read through LSDK&amp;nbsp;document and manual in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-340919"&gt;OP-TEE &lt;/A&gt;&amp;nbsp;, however, these documents don't&amp;nbsp;solve all the questions. Anyone have detailed steps how to bring up OP TEE ?&lt;/P&gt;&lt;P&gt;Especially:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Do I have to enable secure boot to run OP TEE?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) From&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/340919-1-428543/OP-TEE.pdf" title="https://community.nxp.com/servlet/JiveServlet/download/340919-1-428543/OP-TEE.pdf"&gt;OP TEE.pdf&lt;/A&gt;&amp;nbsp;, I learned that I need to generate a ppa.itb file by using&lt;/P&gt;&lt;P&gt;$ flex-builder -c ppa-optee -m ls1012afrwy&lt;/P&gt;&lt;P&gt;which generate&amp;nbsp; flexbuild/build/firmware/ppa/soc-ls1012/ppa.itb.&lt;/P&gt;&lt;P&gt;Then what? the document doesn't&amp;nbsp;complete the puzzle. How do I use that file? Do I need to manually&amp;nbsp;burn it in the Nor flash? and How?&lt;/P&gt;&lt;P&gt;3) I also learned I need to create a OPTEE-OS binary by using&lt;/P&gt;&lt;P&gt;$ flex-builder -c optee_os -m ls1012afrwy&lt;/P&gt;&lt;P&gt;which outputs the bin file to flexbuild/packages/apps/optee_os/out/arm-plat-ls/core/tee_ls1012afrwy.bin&lt;/P&gt;&lt;P&gt;Again, it is confusing how can I use that file, what is next step ?&lt;/P&gt;&lt;P&gt;4) In&amp;nbsp;&lt;A href="https://community.nxp.com/thread/475890"&gt;https://community.nxp.com/thread/475890&lt;/A&gt;&amp;nbsp;, I know I have to build client ,&amp;nbsp;test and OS to run the tests:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_os&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_client&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;$ flex-builder -c optee_test&amp;nbsp; -a arm64&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Again, then what? Manually&amp;nbsp;copy or use flex-build to create a new SD image?&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Anyway, I couldn't&amp;nbsp;solve these&amp;nbsp;puzzles, is there any detailed instruction on how to bring up OP TEE in NXP board?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 19:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788400#M3486</guid>
      <dc:creator>zcchai</dc:creator>
      <dc:date>2018-11-21T19:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: OP TEE bring up in LS1012A</title>
      <link>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788401#M3487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies for not responding to this sooner, please find my comments inline below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;1) Do I have to enable secure boot to run OP TEE? &lt;BR /&gt;&amp;gt;&lt;BR /&gt;[Platon] Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;From OP TEE.pdf , I learned that I need to generate a ppa.itb file by using&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;$ flex-builder -c ppa-optee -m ls1012afrwy&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;which generate&amp;nbsp; flexbuild/build/firmware/ppa/soc-ls1012/ppa.itb.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Then what? the document doesn't complete the puzzle. How do I use that file? Do I need to manually burn it &amp;gt;in the Nor flash? and How?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;3) I also learned I need to create a OPTEE-OS binary by using&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;$ flex-builder -c optee_os -m ls1012afrwy&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;which outputs the bin file to flexbuild/packages/apps/optee_os/out/arm-plat-ls/core/tee_ls1012afrwy.bin&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Again, it is confusing how can I use that file, what is next step ?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;4) In How to build Trusted Applications for the OP-TEE , I know I have to build client , test and OS to run &amp;gt;the tests:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;$ flex-builder -c optee_os&amp;nbsp; -a arm64&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;$ flex-builder -c optee_client&amp;nbsp; -a arm64&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;$ flex-builder -c optee_test&amp;nbsp; -a arm64&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Again, then what? Manually copy or use flex-build to create a new SD image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[Platon] The steps in the doc you mentioned explain how to build everything manually.&lt;BR /&gt;As far as I understand, LSDK 18.06 does already have CONFIG_BUILD_OPTEE_OS&lt;BR /&gt;CONFIG_BUILD_OPTEE_CLIENT CONFIG_BUILD_OPTEE_TEST options enabled by default,&lt;BR /&gt;so you don't have to do it by hand. Build the firmware, build the rootfs,&lt;BR /&gt;then re-deploy according to the LSDK documentation. If, however, you want&lt;BR /&gt;to build storage-test application attached to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-340919"&gt;this post&lt;/A&gt;&amp;nbsp; you should follow the doc from the&lt;/P&gt;&lt;P&gt;same post to build it by hand, then manually transfer it to the target as it is not part of&lt;/P&gt;&lt;P&gt;the LSDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&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, 21 Dec 2018 13:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788401#M3487</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2018-12-21T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: OP TEE bring up in LS1012A</title>
      <link>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788402#M3488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi Platon,&lt;/P&gt;&lt;P&gt;Thanks. After a few try&amp;nbsp;and error, I have managed to&amp;nbsp;bring up OP TEE successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few notes:&lt;/P&gt;&lt;P&gt;1. I am using LSDK&amp;nbsp;18.09. So in this version, OP TEE can be brought up without enabling Secure boot, which is really nice.&lt;/P&gt;&lt;P&gt;2. The original build of OP TEE&amp;nbsp;couldn't&amp;nbsp;be&amp;nbsp;brought up on my ls1012frwy board.&amp;nbsp;The problem is the build system&amp;nbsp;doesn't&amp;nbsp;pick the TEE binary version with the right memory size. After&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;$ flex-builder -c optee_os -m ls1012afrwy, there are two binaries under&amp;nbsp;&lt;SPAN&gt;flexbuild/packages/apps/optee_os/out/arm-plat-ls/core/ :&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;tee_ls1012afrwy.bin and&amp;nbsp;tee_ls1012afrwy_512mb.bin, so after I use&amp;nbsp;tee_ls1012afrwy_512mb.bin, the board can boot up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OP-TEE-bring-up-in-LS1012A/m-p/788402#M3488</guid>
      <dc:creator>zcchai</dc:creator>
      <dc:date>2018-12-27T18:01:57Z</dc:date>
    </item>
  </channel>
</rss>

