<?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: OPTEE Examples</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185935#M241396</link>
    <description>&lt;P&gt;To add on, since I can't edit my original reply. All the other optee files I was able to build successfully.So if there's a way to access the optee examples if they are included, that would be optimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's something within Scarthgap that really doesn't like optee-examples. I was able to find the 4.4 version of optee-examples and I still got an error:&lt;/P&gt;&lt;P&gt;| install: cannot stat '/home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.4.0/build/ta/*': No such file or directory&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-examples_4.4.0.bb:do_install) failed with exit code '1'&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 16:20:41 GMT</pubDate>
    <dc:creator>YY34173</dc:creator>
    <dc:date>2025-10-14T16:20:41Z</dc:date>
    <item>
      <title>OPTEE Examples</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2184346#M241320</link>
      <description>&lt;P&gt;I'm building an Yocto image using on a Var-som-mx8m-nano with Scarthgap. (&lt;A href="https://dev.variscite.com/var-som-mx8m-nano/mx8mn-yocto-scarthgap-6.6.52_2.2.0-v1.1/yocto-build-release/" target="_blank"&gt;https://dev.variscite.com/var-som-mx8m-nano/mx8mn-yocto-scarthgap-6.6.52_2.2.0-v1.1/yocto-build-release/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I've followed this guide:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Building-optee-examples-and-trusted-Apps-in-Yocto-bitbake/m-p/1383425/highlight/true" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Building-optee-examples-and-trusted-Apps-in-Yocto-bitbake/m-p/1383425/highlight/true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Although this answer is old, I've added the Optee-examples version 4.7, and populated the .bb file with the information found in that link. The local.conf file I edited according to the official docs since the advice on the answer is depreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the rest of the optee files are version 4.4. If I try to bitbake optee-examples without adding the .bb file, I get an error saying there's no target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran bitbake -DDD optee-examples&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;DEBUG: Attempting to disable network for do_install&lt;BR /&gt;DEBUG: SOURCE_DATE_EPOCH: 1627299039&lt;BR /&gt;DEBUG: Executing task do_install&lt;BR /&gt;DEBUG: optee-examples-4.7.0-r0 do_install: Executing python function extend_recipe_sysroot&lt;BR /&gt;DEBUG: optee-examples-4.7.0-r0 do_install: Python function extend_recipe_sysroot finished&lt;BR /&gt;DEBUG: optee-examples-4.7.0-r0 do_install: Executing shell function do_install&lt;BR /&gt;ERROR: optee-examples-4.7.0-r0 do_install: ExecutionError('/home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.7.0/temp/run.do_install.53250', 1, None, None)&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.7.0/temp/log.do_install.53250&lt;BR /&gt;Log data follows:&lt;BR /&gt;| DEBUG: Executing python function extend_recipe_sysroot&lt;BR /&gt;| NOTE: Direct dependencies are ['/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-client_4.4.0.imx.bb:do_populate_sysroot', '/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-os_4.4.0.imx.bb:do_populate_sysroot', '/home/optee/var-fsl-yocto/sources/poky/meta/recipes-core/glibc/glibc_2.39.bb:do_populate_sysroot', '/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_13.3.bb:do_populate_sysroot', '/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_13.3.bb:do_populate_sysroot', '/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb:do_populate_sysroot', 'virtual:native:/home/optee/var-fsl-yocto/sources/poky/meta/recipes-devtools/python/python3_3.12.6.bb:do_populate_sysroot']&lt;BR /&gt;| NOTE: Installed into sysroot: []&lt;BR /&gt;| NOTE: Skipping as already exists in sysroot: ['optee-client', 'optee-os', 'base-files', 'base-passwd', 'gettext-minimal-native', 'glibc', 'libxcrypt', 'util-linux-libuuid', 'zlib', 'binutils-cross-aarch64', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'opkg-utils', 'quilt-native', 'cracklib', 'libpam', 'shadow-sysroot', 'shadow', 'texinfo-dummy-native', 'linux-libc-headers', 'attr', 'openssl-native', 'expat-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'libedit-native', 'make-native', 'patch-native', 'perl-native', 'pseudo-native', 'python3-build-native', 'python3-cffi-native', 'python3-flit-core-native', 'python3-installer-native', 'python3-packaging-native', 'python3-pycparser-native', 'python3-pycryptodome-native', 'python3-pyproject-hooks-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'bzip2-native', 'libnsl2-native', 'libtirpc-native', 'shadow-native', 'unzip-native', 'xz-native', 'zstd-native', 'attr-native', 'gdbm-native', 'gmp-native', 'libbsd-native', 'libffi-native', 'libmd-native', 'libmpc-native', 'mpfr-native', 'sqlite3-native']&lt;BR /&gt;| DEBUG: Python function extend_recipe_sysroot finished&lt;BR /&gt;| DEBUG: Executing shell function do_install&lt;BR /&gt;| install: cannot stat '/home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.7.0/build/ta/*': No such file or directory&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-examples_4.7.0.bb:do_install) failed with exit code '1'&lt;BR /&gt;DEBUG: Teardown for bitbake-worker&lt;BR /&gt;DEBUG: Teardown for bitbake-worker&lt;BR /&gt;NOTE: Tasks Summary: Attempted 1508 tasks of which 1507 didn't need to be rerun and 1 failed.&lt;BR /&gt;NOTE: Writing buildhistory&lt;BR /&gt;DEBUG: Executing python function buildhistory_write_sigs&lt;BR /&gt;DEBUG: Python function buildhistory_write_sigs finished&lt;BR /&gt;DEBUG: Executing shell function buildhistory_commit&lt;BR /&gt;DEBUG: Shell function buildhistory_commit finished&lt;BR /&gt;NOTE: Writing buildhistory took: 5 seconds&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-examples_4.7.0.bb:do_install&lt;BR /&gt;Summary: There were 2 WARNING messages.&lt;BR /&gt;Summary: There was 1 ERROR message, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;there is no * file in the location&amp;nbsp;/home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.7.0/build/ta/*'&lt;/LI&gt;&lt;LI&gt;I don't know what type of file it's looking for to create one&lt;/LI&gt;&lt;LI&gt;It doesn't solve the do_install error either&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 01:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2184346#M241320</guid>
      <dc:creator>YY34173</dc:creator>
      <dc:date>2025-10-12T01:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE Examples</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185554#M241382</link>
      <description>&lt;P&gt;Please try to keep the versions consistent. The default BSP includes an optee file and example recipes for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 08:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185554#M241382</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2025-10-14T08:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE Examples</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185904#M241395</link>
      <description>&lt;P&gt;Thanks! If the default bsp includes optee examples, how would I access those without bitbake optee-examples? My goal is to use the examples to help build a TA for a use case I have.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 15:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185904#M241395</guid>
      <dc:creator>YY34173</dc:creator>
      <dc:date>2025-10-14T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE Examples</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185935#M241396</link>
      <description>&lt;P&gt;To add on, since I can't edit my original reply. All the other optee files I was able to build successfully.So if there's a way to access the optee examples if they are included, that would be optimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's something within Scarthgap that really doesn't like optee-examples. I was able to find the 4.4 version of optee-examples and I still got an error:&lt;/P&gt;&lt;P&gt;| install: cannot stat '/home/optee/var-fsl-yocto/build_xwayland/tmp/work/imx8mn_var_som-poky-linux/optee-examples/4.4.0/build/ta/*': No such file or directory&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/optee/var-fsl-yocto/sources/meta-imx/meta-imx-bsp/recipes-security/optee/optee-examples_4.4.0.bb:do_install) failed with exit code '1'&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 16:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2185935#M241396</guid>
      <dc:creator>YY34173</dc:creator>
      <dc:date>2025-10-14T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE Examples</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2189149#M241506</link>
      <description>&lt;P&gt;We don't provide optee examples. I tried to base on the BSP-6.6.52 and reference to the&amp;nbsp;&lt;A href="https://layers.openembedded.org/layerindex/recipe/454137/" target="_self"&gt;examples&lt;/A&gt;&amp;nbsp;to modify, the build successes on my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 10:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-Examples/m-p/2189149#M241506</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2025-10-20T10:42:02Z</dc:date>
    </item>
  </channel>
</rss>

