<?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: LTIB build errors i.MX6Q in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241992#M20320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems that the U-boot configuration file is not found, so the make command fails building it. It the past, I had some similar problem and what I did is to reinstall ltib. So please reinstall it. Before doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. have you done any modifications to U-boot code?&lt;/P&gt;&lt;P&gt;2. can you try building the pks individually &lt;STRONG&gt;&lt;EM&gt;$./ltib -m scbuild -p u-boot&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. can you check that the config file is indeed present &lt;STRONG&gt;&lt;EM&gt;$ find ltib/rpm/BUILD/u-boot-2009.08 -name *_config&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, that host OS is pretty old :smileyhappy: . is there a reason you are using that particular version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2013 16:28:06 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-01-30T16:28:06Z</dc:date>
    <item>
      <title>LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241991#M20319</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've installed installed LTIB on a Ubuntu 9.04 host following the host setup instructions to the letter.&amp;nbsp; I've run ./ltib -m config and picked the Platform "Freescale iMX reference boards".&amp;nbsp;&amp;nbsp;&amp;nbsp; Selected iMX6 for the platform and mx6q_sabreauto for the uboot.&amp;nbsp; Pretty much exactly like the instruction indicate.&amp;nbsp; When I run ./ltib I get a build error failed to build u-boot as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing platform: &lt;SPAN class="yshortcuts"&gt;Freescale&lt;/SPAN&gt; iMX6x Based Boards&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;using config/platform/imx/.config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: fake-provides&lt;/P&gt;&lt;P&gt;===========================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: u-boot&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;Build path taken because: directory build, no prebuilt rpm, &lt;/P&gt;&lt;P&gt;scbuild/scdeploy already unpacked package&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: u-boot&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;Build path taken because: directory build, build key set, no prebuilt rpm, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rpmbuild --dbpath /home/jcoffman/freescale/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/jcoffman/freescale/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/jcoffman/freescale/ltib/tmp' --define '_rpmdir /home/jcoffman/freescale/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/jcoffman/freescale/ltib/tmp/u-boot.spec&lt;/P&gt;&lt;P&gt;Building target platforms: arm&lt;/P&gt;&lt;P&gt;Building for target arm&lt;/P&gt;&lt;P&gt;Executing(%build): /bin/sh -e /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421&lt;/P&gt;&lt;P&gt;+ umask 022&lt;/P&gt;&lt;P&gt;+ cd /home/jcoffman/freescale/ltib/rpm/BUILD&lt;/P&gt;&lt;P&gt;+ cd u-boot-2009.08&lt;/P&gt;&lt;P&gt;+ : mx6q_sabreauto_config&lt;/P&gt;&lt;P&gt;+ eval echo&lt;/P&gt;&lt;P&gt;+ echo&lt;/P&gt;&lt;P&gt;+ PKG_U_BOOT_PATH_PRECONFIG=&lt;/P&gt;&lt;P&gt;+ SRC_DIR=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08&lt;/P&gt;&lt;P&gt;+ BUILD_DIR=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08&lt;/P&gt;&lt;P&gt;+ [ /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 != /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 ]&lt;/P&gt;&lt;P&gt;+ cd /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08&lt;/P&gt;&lt;P&gt;+ [ -n&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabreauto_config&lt;/P&gt;&lt;P&gt;make: *** No rule to make target `mx6q_sabreauto_config'.&amp;nbsp; Stop.&lt;/P&gt;&lt;P&gt;error: Bad exit status from /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421 (%build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RPM build errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421 (%build)&lt;/P&gt;&lt;P&gt;Build time for u-boot: 0 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed building u-boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_buildrpms() returned an error, exiting&lt;/P&gt;&lt;P&gt;traceback:&lt;/P&gt;&lt;P&gt; main:560&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started: Tue Jan 29 20:03:16 2013&lt;/P&gt;&lt;P&gt;Ended:&amp;nbsp;&amp;nbsp; Tue Jan 29 20:03:16 2013&lt;/P&gt;&lt;P&gt;Elapsed: 0 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These packages failed to build:&lt;/P&gt;&lt;P&gt;u-boot &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 04:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241991#M20319</guid>
      <dc:creator>jeffreycoffman</dc:creator>
      <dc:date>2013-01-30T04:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241992#M20320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems that the U-boot configuration file is not found, so the make command fails building it. It the past, I had some similar problem and what I did is to reinstall ltib. So please reinstall it. Before doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. have you done any modifications to U-boot code?&lt;/P&gt;&lt;P&gt;2. can you try building the pks individually &lt;STRONG&gt;&lt;EM&gt;$./ltib -m scbuild -p u-boot&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. can you check that the config file is indeed present &lt;STRONG&gt;&lt;EM&gt;$ find ltib/rpm/BUILD/u-boot-2009.08 -name *_config&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, that host OS is pretty old :smileyhappy: . is there a reason you are using that particular version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 16:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241992#M20320</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-01-30T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241993#M20321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9.04 is what Freescale recommends in their documentation, they state very clearly to use 9.04.&amp;nbsp; Otherwise I would not have used it.&amp;nbsp; I have not modified anything this is just a vanilla build straight from their source package. I haven't tried building just the pkg individually, but i will.&amp;nbsp; Also the configs don't seem to be there, like the patching process for the platform did not work correctly, although I got no errors during the installation of LTIB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I trust the instructions in Freescale's docs package.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241993#M20321</guid>
      <dc:creator>jeffreycoffman</dc:creator>
      <dc:date>2013-01-30T17:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241994#M20322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FSL recommends a set of OS, specially Ubuntu 9 and 10. Documents are correct; all embedded instructions into the documents have been tested exhaustively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please try to reinstall LTIB again? of course, use another destination folder. Let me know the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241994#M20322</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-01-30T17:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241995#M20323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried a reinstall in a different destination, /opt/freescale.&amp;nbsp; I chown'd /opt/freescale to be my default user and the first thing I noticed is after running install and then ./ltib it seems that ltib installs everything under /opt/freescale as root.&amp;nbsp; It then cannot save the platform config file because of permission issues.&amp;nbsp; I have to ctrl-c and chown it back again and then run ltib again.&amp;nbsp; Note I have added the line to the sudoer file as specified in the documentation so not sure why this happens.&amp;nbsp; Anyhow once I do this it appears to work, ltib then lets me save the imx6 platform config and goes on applying zillions of patches which i would expect and the kernel seems to build fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I'm concerned somewhere my install got messed up and I'd like to figure out why.&amp;nbsp; I followed the host setup to the letter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I followed the following steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; install all the host setup stuff as specified in the document (didn't have any issues here everything seemed to work)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; install tlib from source package&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; run./ltib&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; select imx6 platform and min profile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241995#M20323</guid>
      <dc:creator>jeffreycoffman</dc:creator>
      <dc:date>2013-01-30T18:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241996#M20324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;those steps you made are the correct ones. LTIB uses /opt/freescale folder by default (you can change this, check the ltib script) to store all downloaded packages, patches, checksums, toolchain, etc, in order words, is the workplace for LTIB, so do not chose to install ltib there. It is safer to install it somewhere in your home directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as a step 5, I would add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. select the u-boot board on the ltib menuconfig screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241996#M20324</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-01-30T18:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB build errors i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241997#M20325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to have worked.&amp;nbsp; Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 19:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-build-errors-i-MX6Q/m-p/241997#M20325</guid>
      <dc:creator>jeffreycoffman</dc:creator>
      <dc:date>2013-01-30T19:08:24Z</dc:date>
    </item>
  </channel>
</rss>

