<?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 Compile Busybox for IMX6DL  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Compile-Busybox-for-IMX6DL/m-p/693489#M107528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello all,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I've downloaded, installed and built YOCTO to compile busybox 1.24.2&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have ran the following steps:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1.- MACHINE=imx6dlsabresd DISTRO=poky source ./setup-environment base&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2.- bitbake meta-toolchain&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;3.- executed&amp;nbsp;fslc-wayland-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.2.sh to install the SDK&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;4.- executed&amp;nbsp;environment-setup-armv7at2hf-neon-fslc-linux-gnueabi from the console in which I am running the make of the busybox.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;~/Projects/externals/busybox-1.24.2$ make&lt;BR /&gt; SPLIT include/autoconf.h -&amp;gt; include/config/*&lt;BR /&gt; GEN include/bbconfigopts.h&lt;BR /&gt; HOSTCC applets/usage&lt;BR /&gt;applets/usage.c: In function ‘main’:&lt;BR /&gt;applets/usage.c:52:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]&lt;BR /&gt; write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);&lt;BR /&gt; ^&lt;BR /&gt; GEN include/usage_compressed.h&lt;BR /&gt; HOSTCC applets/applet_tables&lt;BR /&gt;applets/applet_tables.c: In function ‘main’:&lt;BR /&gt;applets/applet_tables.c:161:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]&lt;BR /&gt; fgets(line_old, sizeof(line_old), fp);&lt;BR /&gt; ^&lt;BR /&gt; GEN include/applet_tables.h&lt;BR /&gt; CC applets/applets.o&lt;BR /&gt;In file included from /opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/syslimits.h:7:0,&lt;BR /&gt; from /opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/limits.h:34,&lt;BR /&gt; from include/platform.h:141,&lt;BR /&gt; from include/libbb.h:13,&lt;BR /&gt; from include/busybox.h:8,&lt;BR /&gt; from applets/applets.c:9:&lt;BR /&gt;/opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h&lt;BR /&gt; #include_next &amp;lt;limits.h&amp;gt; /* recurse down to the real one */&lt;BR /&gt; ^&lt;BR /&gt;In file included from include/libbb.h:13:0,&lt;BR /&gt; from include/busybox.h:8,&lt;BR /&gt; from applets/applets.c:9:&lt;BR /&gt;include/platform.h:152:23: fatal error: byteswap.h: No such file or directory&lt;BR /&gt; # include &amp;lt;byteswap.h&amp;gt;&lt;BR /&gt; ^&lt;BR /&gt;compilation terminated.&lt;BR /&gt;scripts/Makefile.build:197: recipe for target 'applets/applets.o' failed&lt;BR /&gt;make[1]: *** [applets/applets.o] Error 1&lt;BR /&gt;Makefile:372: recipe for target 'applets_dir' failed&lt;BR /&gt;make: *** [applets_dir] Error 2&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 20:56:25 GMT</pubDate>
    <dc:creator>martincarra</dc:creator>
    <dc:date>2017-08-03T20:56:25Z</dc:date>
    <item>
      <title>Compile Busybox for IMX6DL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compile-Busybox-for-IMX6DL/m-p/693489#M107528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello all,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I've downloaded, installed and built YOCTO to compile busybox 1.24.2&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have ran the following steps:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1.- MACHINE=imx6dlsabresd DISTRO=poky source ./setup-environment base&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2.- bitbake meta-toolchain&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;3.- executed&amp;nbsp;fslc-wayland-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.2.sh to install the SDK&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;4.- executed&amp;nbsp;environment-setup-armv7at2hf-neon-fslc-linux-gnueabi from the console in which I am running the make of the busybox.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;~/Projects/externals/busybox-1.24.2$ make&lt;BR /&gt; SPLIT include/autoconf.h -&amp;gt; include/config/*&lt;BR /&gt; GEN include/bbconfigopts.h&lt;BR /&gt; HOSTCC applets/usage&lt;BR /&gt;applets/usage.c: In function ‘main’:&lt;BR /&gt;applets/usage.c:52:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]&lt;BR /&gt; write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);&lt;BR /&gt; ^&lt;BR /&gt; GEN include/usage_compressed.h&lt;BR /&gt; HOSTCC applets/applet_tables&lt;BR /&gt;applets/applet_tables.c: In function ‘main’:&lt;BR /&gt;applets/applet_tables.c:161:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]&lt;BR /&gt; fgets(line_old, sizeof(line_old), fp);&lt;BR /&gt; ^&lt;BR /&gt; GEN include/applet_tables.h&lt;BR /&gt; CC applets/applets.o&lt;BR /&gt;In file included from /opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/syslimits.h:7:0,&lt;BR /&gt; from /opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/limits.h:34,&lt;BR /&gt; from include/platform.h:141,&lt;BR /&gt; from include/libbb.h:13,&lt;BR /&gt; from include/busybox.h:8,&lt;BR /&gt; from applets/applets.c:9:&lt;BR /&gt;/opt/fslc-wayland/2.2.2/sysroots/x86_64-fslcsdk-linux/usr/lib/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.2.0/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h&lt;BR /&gt; #include_next &amp;lt;limits.h&amp;gt; /* recurse down to the real one */&lt;BR /&gt; ^&lt;BR /&gt;In file included from include/libbb.h:13:0,&lt;BR /&gt; from include/busybox.h:8,&lt;BR /&gt; from applets/applets.c:9:&lt;BR /&gt;include/platform.h:152:23: fatal error: byteswap.h: No such file or directory&lt;BR /&gt; # include &amp;lt;byteswap.h&amp;gt;&lt;BR /&gt; ^&lt;BR /&gt;compilation terminated.&lt;BR /&gt;scripts/Makefile.build:197: recipe for target 'applets/applets.o' failed&lt;BR /&gt;make[1]: *** [applets/applets.o] Error 1&lt;BR /&gt;Makefile:372: recipe for target 'applets_dir' failed&lt;BR /&gt;make: *** [applets_dir] Error 2&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compile-Busybox-for-IMX6DL/m-p/693489#M107528</guid>
      <dc:creator>martincarra</dc:creator>
      <dc:date>2017-08-03T20:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Busybox for IMX6DL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compile-Busybox-for-IMX6DL/m-p/693490#M107529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Martín.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you are initializing in a wrong way your DISTRO. Try with the following configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ DISTRO=fsl-imx-wayland MACHINE=imx6dlsabresd source fsl-setup-release.sh -b &amp;lt;build dir&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I highly recommend you to use the yocto compiler. Here you can see how to compile Busybox.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/314980"&gt;Yocto busybox menuconfig&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, here you can find more information about yocto.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94035"&gt;https://community.nxp.com/docs/DOC-94035&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compile-Busybox-for-IMX6DL/m-p/693490#M107529</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2017-08-11T16:17:24Z</dc:date>
    </item>
  </channel>
</rss>

