<?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 Adding meta-aws layer onto yocto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-meta-aws-layer-onto-yocto/m-p/1150102#M161402</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Iam working with &lt;STRONG&gt;imx 8M Quad&lt;/STRONG&gt; and &lt;STRONG&gt;imx 8M Nano EVK&lt;/STRONG&gt;.&amp;nbsp; I have built the &lt;STRONG&gt;core image minimal&lt;/STRONG&gt; with the build configuration as listed below. I tried integrating AWS IoT core device SDK&amp;nbsp; as a meta layer, there I'm facing issues while bitbaking &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2&lt;/STRONG&gt; recipe from meta-aws layer onto imx-yocto-bsp. Please find the detailed explanation below and the CMake error log attached.&lt;/P&gt;&lt;P&gt;////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Build Configuration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;BB_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "1.44.0"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;BUILD_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "x86_64-linux"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;NATIVELSBSTRING &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "ubuntu-18.04"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TARGET_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "aarch64-poky-linux"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;MACHINE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "imx8mqevk"&amp;nbsp; (also "imx8mnevk")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DISTRO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "fsl-imx-wayland"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DISTRO_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "5.4-zeus"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TUNE_FEATURES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "aarch64 cortexa53 crc crypto"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Target image&lt;/STRONG&gt;&lt;STRONG&gt;&lt;I&gt;:&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp; core-image-minimal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;STRONG&gt;&lt;I&gt;Issue faced while adding&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp; &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2&lt;/STRONG&gt; recipe from&amp;nbsp;&lt;STRONG&gt;meta-aws&lt;/STRONG&gt; layer (&lt;A href="https://github.com/aws/meta-aws" target="_blank"&gt;https://github.com/aws/meta-aws&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;All dependent layers(&lt;STRONG&gt;openembedded-core, meta-oe, meta-yocto-bsp, meta-filesystems, meta-python&lt;/STRONG&gt;) are added to imx-yocto-bsp/sources.&lt;/LI&gt;&lt;LI&gt;Layers' names are appended to build/conf/&lt;STRONG&gt;bblayers.conf &lt;/STRONG&gt;file.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;I&lt;/STRONG&gt;&lt;STRONG&gt;MAGE_INSTALL_append &lt;/STRONG&gt;= " aws-iot-device-sdk-cpp-v2" added to imx-yocto-bsp/build/conf/&lt;STRONG&gt;local.conf. &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;$ bitbake aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;produces the following error in CMakeError.log.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One workaround that we have implemented is : The Zeus branch of meta-aws does not contain&amp;nbsp;&lt;STRONG&gt;aws-iot-device-sdk-cpp-v2. So, the meta-aws zeus branch is cloned into &lt;/STRONG&gt;&lt;STRONG&gt;&lt;I&gt;imx-yocto-bsp/sources &lt;/I&gt;&lt;/STRONG&gt;and the&amp;nbsp;&lt;STRONG&gt;aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;(&lt;A href="https://github.com/aws/meta-aws/tree/master/recipes-sdk/aws-iot-device-sdk-cpp-v2" target="_blank"&gt;https://github.com/aws/meta-aws/tree/master/recipes-sdk/aws-iot-device-sdk-cpp-v2&lt;/A&gt;)&amp;nbsp;recipe is added manually before bitbaking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the recipe &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;depends on&lt;STRONG&gt; aws-crt-cpp, aws-crt-cpp &lt;/STRONG&gt;bitbake begins but fails. The&amp;nbsp;&lt;STRONG&gt;CMakeError.log&amp;nbsp;&lt;/STRONG&gt;is attached&amp;nbsp;for reference.&lt;/P&gt;&lt;P&gt;Key errors are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: unrecognized command line option '-mavx2'&lt;/LI&gt;&lt;LI&gt;fatal error: immintrin.h: No such file or directory&lt;/LI&gt;&lt;LI&gt;fatal error: intrin.h: No such file or directory&lt;/LI&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: unrecognized command line option '-Wgnu'&lt;/LI&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: missing argument to '-fsanitize='&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Looking forward for your support&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 06:45:43 GMT</pubDate>
    <dc:creator>Imad2</dc:creator>
    <dc:date>2020-09-08T06:45:43Z</dc:date>
    <item>
      <title>Adding meta-aws layer onto yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-meta-aws-layer-onto-yocto/m-p/1150102#M161402</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Iam working with &lt;STRONG&gt;imx 8M Quad&lt;/STRONG&gt; and &lt;STRONG&gt;imx 8M Nano EVK&lt;/STRONG&gt;.&amp;nbsp; I have built the &lt;STRONG&gt;core image minimal&lt;/STRONG&gt; with the build configuration as listed below. I tried integrating AWS IoT core device SDK&amp;nbsp; as a meta layer, there I'm facing issues while bitbaking &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2&lt;/STRONG&gt; recipe from meta-aws layer onto imx-yocto-bsp. Please find the detailed explanation below and the CMake error log attached.&lt;/P&gt;&lt;P&gt;////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Build Configuration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;BB_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "1.44.0"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;BUILD_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "x86_64-linux"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;NATIVELSBSTRING &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "ubuntu-18.04"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TARGET_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "aarch64-poky-linux"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;MACHINE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "imx8mqevk"&amp;nbsp; (also "imx8mnevk")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DISTRO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "fsl-imx-wayland"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DISTRO_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;= "5.4-zeus"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TUNE_FEATURES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;= "aarch64 cortexa53 crc crypto"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Target image&lt;/STRONG&gt;&lt;STRONG&gt;&lt;I&gt;:&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp; core-image-minimal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;STRONG&gt;&lt;I&gt;Issue faced while adding&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp; &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2&lt;/STRONG&gt; recipe from&amp;nbsp;&lt;STRONG&gt;meta-aws&lt;/STRONG&gt; layer (&lt;A href="https://github.com/aws/meta-aws" target="_blank"&gt;https://github.com/aws/meta-aws&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;All dependent layers(&lt;STRONG&gt;openembedded-core, meta-oe, meta-yocto-bsp, meta-filesystems, meta-python&lt;/STRONG&gt;) are added to imx-yocto-bsp/sources.&lt;/LI&gt;&lt;LI&gt;Layers' names are appended to build/conf/&lt;STRONG&gt;bblayers.conf &lt;/STRONG&gt;file.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;I&lt;/STRONG&gt;&lt;STRONG&gt;MAGE_INSTALL_append &lt;/STRONG&gt;= " aws-iot-device-sdk-cpp-v2" added to imx-yocto-bsp/build/conf/&lt;STRONG&gt;local.conf. &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;$ bitbake aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;produces the following error in CMakeError.log.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One workaround that we have implemented is : The Zeus branch of meta-aws does not contain&amp;nbsp;&lt;STRONG&gt;aws-iot-device-sdk-cpp-v2. So, the meta-aws zeus branch is cloned into &lt;/STRONG&gt;&lt;STRONG&gt;&lt;I&gt;imx-yocto-bsp/sources &lt;/I&gt;&lt;/STRONG&gt;and the&amp;nbsp;&lt;STRONG&gt;aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;(&lt;A href="https://github.com/aws/meta-aws/tree/master/recipes-sdk/aws-iot-device-sdk-cpp-v2" target="_blank"&gt;https://github.com/aws/meta-aws/tree/master/recipes-sdk/aws-iot-device-sdk-cpp-v2&lt;/A&gt;)&amp;nbsp;recipe is added manually before bitbaking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the recipe &lt;STRONG&gt;aws-iot-device-sdk-cpp-v2 &lt;/STRONG&gt;depends on&lt;STRONG&gt; aws-crt-cpp, aws-crt-cpp &lt;/STRONG&gt;bitbake begins but fails. The&amp;nbsp;&lt;STRONG&gt;CMakeError.log&amp;nbsp;&lt;/STRONG&gt;is attached&amp;nbsp;for reference.&lt;/P&gt;&lt;P&gt;Key errors are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: unrecognized command line option '-mavx2'&lt;/LI&gt;&lt;LI&gt;fatal error: immintrin.h: No such file or directory&lt;/LI&gt;&lt;LI&gt;fatal error: intrin.h: No such file or directory&lt;/LI&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: unrecognized command line option '-Wgnu'&lt;/LI&gt;&lt;LI&gt;aarch64-poky-linux-gcc: error: missing argument to '-fsanitize='&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Looking forward for your support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 06:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-meta-aws-layer-onto-yocto/m-p/1150102#M161402</guid>
      <dc:creator>Imad2</dc:creator>
      <dc:date>2020-09-08T06:45:43Z</dc:date>
    </item>
  </channel>
</rss>

