<?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: imx7dsabresd Host toolchain setup error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701752#M109012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now able to compile using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;source /opt/fsl-imx-x11/4.1.15-2.1.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$CC hello_world.c -o hello_world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I'm trying to compile mxc_epdc_fb_test.c (imx-test package) using the toolchain,&lt;/P&gt;&lt;P&gt;and the sysroot is missing certain headers. i.e. "linux/mxcfb.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried copying these headers from kernel-source but had no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to compile the test programs in a standalone environment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I build an SDK which has these header files preinstalled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help asap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 07:34:11 GMT</pubDate>
    <dc:creator>arsadhusainmomi</dc:creator>
    <dc:date>2017-09-14T07:34:11Z</dc:date>
    <item>
      <title>imx7dsabresd Host toolchain setup error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701750#M109010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on i.MX7 Sabre board.&lt;/P&gt;&lt;P&gt;I downloaded the BSP from here.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.2.0_iMX7D&amp;amp;appType=license&amp;amp;Parent_nodeId=1458252097425719553900&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.2.0_iMX7D&amp;amp;appType=license&amp;amp;Parent_nodeId=1458252097425719553900&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.2.0_iMX7D&amp;amp;appType=license&amp;amp;Parent_nodeId=1458252097425719553900&amp;amp;Par…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is working fine. But I'm having problems in setting up toolchain&amp;nbsp;on my host machine.&lt;/P&gt;&lt;P&gt;I'm using Ubuntu 14.04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the Project User's Guide and set up Yocto build system on my host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I did,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MACHINE=&lt;SPAN&gt;imx7dsabresd&lt;/SPAN&gt; source fsl-setup-release.sh -b toolchain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I did,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bitbake meta-toolchain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also ran the sdk setup script which was generated in "..toolchain/tmp/deploy/sdk/" directory,&lt;/P&gt;&lt;P&gt;Which setup the toolchain in my /opt directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I did,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source /opt/fsl-imx-x11/4.1.15-2.1.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-poky-linux-gnueabi-gcc hello_world.c -o hello_world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gave me an error saying it can not find the header files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the "/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/i686-pokysdk-linux/usr/include" directory,&lt;/P&gt;&lt;P&gt;and there were no header files in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried it with "-I/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/" flag,&lt;/P&gt;&lt;P&gt;which is giving me more errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I've done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISTRO=fsl-imx-x11 MACHINE=imx7dsabresd source fsl-setup-release.sh -b build-x11&lt;/P&gt;&lt;P&gt;bitbake&amp;nbsp;core-image-minimal -c populate_sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and ended up with the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My&amp;nbsp;requirements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Setup a toolchain on my host machine with required header files.&lt;/P&gt;&lt;P&gt;2) Compile a simple C program that I can run on the target board.&lt;/P&gt;&lt;P&gt;3) Header files for compiling imx-test programs in a standalone environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help asap.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 08:44:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701750#M109010</guid>
      <dc:creator>arsadhusainmomi</dc:creator>
      <dc:date>2017-09-13T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx7dsabresd Host toolchain setup error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701751#M109011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I hope the following helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-334814"&gt;https://community.nxp.com/docs/DOC-334814&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&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>Thu, 14 Sep 2017 05:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701751#M109011</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-09-14T05:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: imx7dsabresd Host toolchain setup error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701752#M109012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now able to compile using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;source /opt/fsl-imx-x11/4.1.15-2.1.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$CC hello_world.c -o hello_world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I'm trying to compile mxc_epdc_fb_test.c (imx-test package) using the toolchain,&lt;/P&gt;&lt;P&gt;and the sysroot is missing certain headers. i.e. "linux/mxcfb.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried copying these headers from kernel-source but had no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to compile the test programs in a standalone environment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I build an SDK which has these header files preinstalled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help asap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7dsabresd-Host-toolchain-setup-error/m-p/701752#M109012</guid>
      <dc:creator>arsadhusainmomi</dc:creator>
      <dc:date>2017-09-14T07:34:11Z</dc:date>
    </item>
  </channel>
</rss>

