<?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: U-Boot Build failed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691328#M107097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file (set the environment) is generated automatically when you build the tool chain. Do you build the toolchain using our yocto?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2017 11:20:46 GMT</pubDate>
    <dc:creator>JayTu</dc:creator>
    <dc:date>2017-07-12T11:20:46Z</dc:date>
    <item>
      <title>U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691323#M107092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hello,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I can’t build a u-boot image. I got the following error.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;/home/user1/fsl-release-bsp/build-x11/tmp/sysroots/i686-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Makefile:1171: recipe for target 'u-boot' failed&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;make: *** [u-boot] Error 1&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;#!/bin/bash&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;export ARCH=arm&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;export CROSS_COMPILE=~/fsl-release-bsp/build-x11/tmp/sysroots/i686-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;make distclean;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;make mx6bur_config&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;make&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hope somebody can help me…&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Thanks&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691323#M107092</guid>
      <dc:creator>christoph8446</dc:creator>
      <dc:date>2017-07-10T15:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691324#M107093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try either&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;export ARCH=arm&lt;BR /&gt;export CROSS_COMPILE=/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-&lt;BR /&gt;make distclean;&lt;BR /&gt;make mx6_udoo_config&lt;BR /&gt;make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;export ARCH=arm&lt;BR /&gt;export CROSS_COMPILE=/opt/fsl-imx-x11/&amp;lt;Kernel&amp;gt;/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-&lt;BR /&gt;make distclean;&lt;BR /&gt;make mx6_udoo_config&lt;BR /&gt;make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next post may also be useful&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/308722"&gt;Modify u-boot in Yocto&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Carlos&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>Mon, 10 Jul 2017 23:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691324#M107093</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-07-10T23:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691325#M107094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still does not work. It seems to be that there is a problem with the sysroot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 11:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691325#M107094</guid>
      <dc:creator>christoph8446</dc:creator>
      <dc:date>2017-07-11T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691326#M107095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The fail indicated it can't find libgcc,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;/home/user1/fsl-release-bsp/build-x11/tmp/sysroots/i686-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please check if your sysroots contains it,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;$ find -name libgcc*&lt;BR /&gt;./sysroots/x86_64-pokysdk-linux/lib/libgcc_s.so.1&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/lib/libgcc_s.so&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/lib/libgcc_s.so.1&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/lib/.debug/libgcc_s.so.1&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/src/debug/libgcc&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/src/debug/libgcc/5.3.0-r0/gcc-5.3.0/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libgcc&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/5.3.0/libgcc_eh.a&lt;BR /&gt;./sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/5.3.0/libgcc.a&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;And you've pointed to it, (the settings on my&amp;nbsp;environment-setup-cortexa7hf-neon-poky-linux-gnueabi)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;export CC="arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$SDKTARGETSYSROOT"&lt;BR /&gt;export CXX="arm-poky-linux-gnueabi-g++ -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$SDKTARGETSYSROOT"&lt;BR /&gt;export CPP="arm-poky-linux-gnueabi-gcc -E -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$SDKTARGETSYSROOT"&lt;BR /&gt;export AS="arm-poky-linux-gnueabi-as "&lt;BR /&gt;export LD="arm-poky-linux-gnueabi-ld --sysroot=$SDKTARGETSYSROOT"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 03:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691326#M107095</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-12T03:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691327#M107096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I checked if my sysroot contains it - should be OK --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./sysroots/imx6qsabresd/lib/libgcc_s.so.1&lt;BR /&gt;./sysroots/imx6qsabresd/lib/libgcc_s.so&lt;BR /&gt;./sysroots/imx6qsabresd/sysroot-providers/libgcc&lt;BR /&gt;./sysroots/imx6qsabresd/usr/lib/arm-poky-linux-gnueabi/5.3.0/libgcc_eh.a&lt;BR /&gt;./sysroots/imx6qsabresd/usr/lib/arm-poky-linux-gnueabi/5.3.0/libgcc.a&lt;BR /&gt;./sysroots/i686-linux/usr/include/gcc-build-internal-arm-poky-linux-gnueabi/gcc/libgcc.mvars&lt;BR /&gt;./sysroots/i686-linux/usr/include/gcc-build-internal-arm-poky-linux-gnueabi/arm-poky-linux-gnueabi/libgcc&lt;BR /&gt;./sysroots/i686-linux/usr/include/gcc-build-internal-initial-arm-poky-linux-gnueabi/gcc/libgcc.mvars&lt;BR /&gt;./sysroots/i686-linux/usr/include/gcc-build-internal-initial-arm-poky-linux-gnueabi/arm-poky-linux-gnueabi/libgcc&lt;BR /&gt;./sysroots/imx6qsabresd-tcbootstrap/sysroot-providers/libgcc-initial&lt;BR /&gt;./sysroots/imx6qsabresd-tcbootstrap/usr/lib/arm-poky-linux-gnueabi/5.3.0/libgcc.a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I point to it? I don't understand the line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;export CC="arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=$SDKTARGETSYSROOT"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 07:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691327#M107096</guid>
      <dc:creator>christoph8446</dc:creator>
      <dc:date>2017-07-12T07:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691328#M107097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file (set the environment) is generated automatically when you build the tool chain. Do you build the toolchain using our yocto?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 11:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691328#M107097</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-12T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691329#M107098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cloned fsl-release-bsp and used bitbake to build bitbake core-image-minimal according to the i.MX_Yocto_Project_User's_Guide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691329#M107098</guid>
      <dc:creator>christoph8446</dc:creator>
      <dc:date>2017-07-12T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot Build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691330#M107099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need build toolchain if you want make uboot without bitbake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake meta-toolchain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-Build-failed/m-p/691330#M107099</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-12T12:37:05Z</dc:date>
    </item>
  </channel>
</rss>

