<?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:   lsdk2004_update_290520 Compilation error in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059850#M6043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;内核是从WSL那边编译并拷贝过来的，然后在WSL里面打包过来解压就没问题了。&lt;/P&gt;&lt;P&gt;我在虚拟机里面分配了2GB内存，导致在git clone 你们linux仓库的时候会出错，所以只能从WSL里面拷贝过来。应该是你们的git仓库太大了内存不足，建议你们优化下你们linux仓库的大小。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2020 09:23:55 GMT</pubDate>
    <dc:creator>540915622</dc:creator>
    <dc:date>2020-07-07T09:23:55Z</dc:date>
    <item>
      <title>lsdk2004_update_290520 Compilation error</title>
      <link>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059848#M6041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Building OpenSSL ... &lt;BR /&gt;COMPONENT: cryptodev_linux&lt;BR /&gt;DESTARCH: arm64&lt;BR /&gt;CONFIGLIST: build_lsdk.cfg&lt;BR /&gt;make[2]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520'&lt;BR /&gt;make[3]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux'&lt;BR /&gt;Cloning into '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'...&lt;BR /&gt;remote: Enumerating objects: 26, done.&lt;BR /&gt;remote: Counting objects: 100% (26/26), done.&lt;BR /&gt;remote: Compressing objects: 100% (25/25), done.&lt;BR /&gt;remote: Total 4377 (delta 9), reused 0 (delta 0)230.00 KiB/s &lt;BR /&gt;Receiving objects: 100% (4377/4377), 1.15 MiB | 239.00 KiB/s, done.&lt;BR /&gt;Resolving deltas: 100% (3068/3068), done.&lt;BR /&gt;Switched to a new branch 'LSDK-20.04'&lt;BR /&gt;/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux&lt;BR /&gt;fatal: not a git repository (or any of the parent directories): .git&lt;/P&gt;&lt;P&gt;Building CRYPTODEV_LINUX ... &lt;BR /&gt;make[4]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'&lt;BR /&gt;make -C /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/ M=/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules&lt;BR /&gt;make[5]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output'&lt;BR /&gt; CC [M] /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o&lt;BR /&gt;In file included from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/mmzone.h:19:0,&lt;BR /&gt; from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/gfp.h:6,&lt;BR /&gt; from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/slab.h:15,&lt;BR /&gt; from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/crypto.h:19,&lt;BR /&gt; from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/crypto/hash.h:11,&lt;BR /&gt; from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.c:36:&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/page-flags-layout.h:6:10: fatal error: generated/bounds.h: No such file or directory&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; #include &amp;lt;generated/bounds.h&amp;gt;&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;compilation terminated.&lt;BR /&gt;/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/scripts/Makefile.build:265: recipe for target '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o' failed&lt;BR /&gt;make[7]: *** [/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o] Error 1&lt;BR /&gt;/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:1652: recipe for target '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux' failed&lt;BR /&gt;make[6]: *** [/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux] Error 2&lt;BR /&gt;/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:179: recipe for target 'sub-make' failed&lt;BR /&gt;make[5]: *** [sub-make] Error 2&lt;BR /&gt;make[5]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output'&lt;BR /&gt;Makefile:27: recipe for target 'build' failed&lt;BR /&gt;make[4]: *** [build] Error 2&lt;BR /&gt;make[4]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'&lt;BR /&gt;Makefile:103: recipe for target 'cryptodev_linux' failed&lt;BR /&gt;make[3]: *** [cryptodev_linux] Error 2&lt;BR /&gt;make[3]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux'&lt;BR /&gt;Makefile:22: recipe for target 'cryptodev_linux' failed&lt;BR /&gt;make[2]: *** [cryptodev_linux] Error 2&lt;BR /&gt;make[2]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 07:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059848#M6041</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2020-07-03T07:08:41Z</dc:date>
    </item>
    <item>
      <title>Re:   lsdk2004_update_290520 Compilation error</title>
      <link>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059849#M6042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I executed the following command, didn't find any problem.&lt;/P&gt;&lt;P&gt;$ tar -xzvf flexbuild_lsdk2004_update_290520.tgz&lt;/P&gt;&lt;P&gt;$&amp;nbsp;source setup.env&lt;/P&gt;&lt;P&gt;$&amp;nbsp;flex-builder -c openssl -a arm64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your log, I didn't find Linux Kernel source was downloaded and built, please check whether&amp;nbsp;&lt;SPAN&gt;generated/bounds.h exists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$ find build/linux/ -name bounds.h&lt;BR /&gt;build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520/include/generated/bounds.h&lt;BR /&gt;build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520/module-headers/include/generated/bounds.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no, please build Linux with the following command.&lt;/P&gt;&lt;P&gt;$ flex-builder -c linux -a arm64&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 06:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059849#M6042</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-07-06T06:40:30Z</dc:date>
    </item>
    <item>
      <title>Re:   lsdk2004_update_290520 Compilation error</title>
      <link>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059850#M6043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;内核是从WSL那边编译并拷贝过来的，然后在WSL里面打包过来解压就没问题了。&lt;/P&gt;&lt;P&gt;我在虚拟机里面分配了2GB内存，导致在git clone 你们linux仓库的时候会出错，所以只能从WSL里面拷贝过来。应该是你们的git仓库太大了内存不足，建议你们优化下你们linux仓库的大小。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 09:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/lsdk2004-update-290520-Compilation-error/m-p/1059850#M6043</guid>
      <dc:creator>540915622</dc:creator>
      <dc:date>2020-07-07T09:23:55Z</dc:date>
    </item>
  </channel>
</rss>

