<?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: Error when generating Buildroot RFS &amp; image in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843533#M3820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="333131" data-username="adharankar@rmg-technologies.com" href="https://community.nxp.com/people/adharankar@rmg-technologies.com"&gt;Arun Dharankar&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Please use the command as the following.&lt;/P&gt;&lt;P&gt;$ source ./setup.env&lt;/P&gt;&lt;P&gt;$ flex-builder -i mkrfs -a arm64 -r buildroot:tiny&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 15 Jan 2019 10:31:58 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2019-01-15T10:31:58Z</dc:date>
    <item>
      <title>Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843530#M3817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;When I execute 'flex-builder -m ls1046ardb -a arm64 -r buildroot:tiny' it goes through for some time before bailing out with following error (last few lines of output). Am I doing something wrong? If not anyone else encountered this and resolved this; how? I am doing this after I have successfully executed 'flex-builder -m ls1046ardb -a arm64'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;make[3]: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/apps/restool'&lt;BR /&gt;&amp;nbsp;Build restool&amp;nbsp; [Done] &lt;BR /&gt;make[2]: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/apps'&lt;BR /&gt;make[1]: Leaving directory '/home/ad/dev/flexbuild_lsdk1812'&lt;BR /&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/restool': No such file or directory&lt;BR /&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/ls-*': No such file or directory&lt;BR /&gt;Makefile:692: recipe for target 'target-finalize' failed&lt;BR /&gt;make: *** [target-finalize] Error 1&lt;BR /&gt;make: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/rfs/buildroot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only to check how fart the build goes, I symbolic linked build/apps/components_LS_arm64 to build/apps/components_arm64, the build proceeds further but bails out as follows:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;make[2]: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/apps'&lt;BR /&gt;make[1]: Leaving directory '/home/ad/dev/flexbuild_lsdk1812'&lt;BR /&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/qbman_test': No such file or directory&lt;BR /&gt;Makefile:692: recipe for target 'target-finalize' failed&lt;BR /&gt;make: *** [target-finalize] Error 1&lt;BR /&gt;make: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/rfs/buildroot'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;If I build without the 'tiny' distro-scale, it still bails out as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2019 11:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843530#M3817</guid>
      <dc:creator>adharankar</dc:creator>
      <dc:date>2019-01-01T11:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843531#M3818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More observations: I attempted to build 'ubuntu:tiny' using 'flex-builder -m ls1046ardb -a arm64 -r ubuntu:tiny'. It bailed out with missing libxml/parser.h. I installed libxml2-dev, and linked /usr/include/libxml2/libxml to /usr/include/libxml, and the build proceeds until at linking stage I see the following error.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libxml2.so when searching for -lxml2&lt;BR /&gt;/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible //usr/lib/libxml2.so when searching for -lxml2&lt;BR /&gt;/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: cannot find -lxml2&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;Makefile:127: recipe for target 'fmc' failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something basic here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2019 21:27:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843531#M3818</guid>
      <dc:creator>adharankar</dc:creator>
      <dc:date>2019-01-01T21:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843532#M3819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I have a 'buildroot:tiny' working, but only after doing the following. I am unsure if it matter, but I did a full build starting from taking the flexbuild tar file.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;After the uboot/kernel/apps builds are done, create a link 'components_arm64' to 'components_LS_arm64' under 'build/apps' directory.&lt;/LI&gt;&lt;LI&gt;Update 'configs/buildroot/post-build.sh' so that 'qbman_test' is not copied - apparently this binary is not generated.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming this part of the Flexbuild was qualified, I should not have had to do this. Or since it's not part of the default build, should I at all assume it is qualified and that the root FS generated is tested?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843532#M3819</guid>
      <dc:creator>adharankar</dc:creator>
      <dc:date>2019-01-08T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843533#M3820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="333131" data-username="adharankar@rmg-technologies.com" href="https://community.nxp.com/people/adharankar@rmg-technologies.com"&gt;Arun Dharankar&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Please use the command as the following.&lt;/P&gt;&lt;P&gt;$ source ./setup.env&lt;/P&gt;&lt;P&gt;$ flex-builder -i mkrfs -a arm64 -r buildroot:tiny&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 15 Jan 2019 10:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843533#M3820</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-01-15T10:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843534#M3821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. I had sourced the 'setup.env' but still seem to require creating the symlink as I mentioned in my previous post, else I see the following error. Also qbman_test does not seem to be built, so next in the following error is seen:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/restool': No such file or directory&lt;BR /&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/ls-*': No such file or directory&lt;BR /&gt;Makefile:692: recipe for target 'target-finalize' failed&lt;BR /&gt;make: *** [target-finalize] Error 1&lt;/LI&gt;&lt;LI&gt;cp: cannot stat '/home/ad/dev/flexbuild_lsdk1812/build/apps/components_arm64/usr/local/bin/qbman_test': No such file or directory&lt;BR /&gt;Makefile:692: recipe for target 'target-finalize' failed&lt;BR /&gt;make: *** [target-finalize] Error 1&lt;BR /&gt;make: Leaving directory '/home/ad/dev/flexbuild_lsdk1812/packages/rfs/buildroot'&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 11:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843534#M3821</guid>
      <dc:creator>adharankar</dc:creator>
      <dc:date>2019-01-15T11:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating Buildroot RFS &amp; image</title>
      <link>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843535#M3822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;BR /&gt;I've found exactly the same issues as per my post &lt;A href="https://community.nxp.com/thread/495026"&gt;https://community.nxp.com/thread/495026&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;I've not yet tried ubuntu, I hope to have buildroot instead.&lt;BR /&gt;I think replies like the one above from Yiping are of no help, it seems to me the support on the LS family still has something to be improved.&lt;BR /&gt;And it seems to me there are still some issues in a good tool like flex-builder and I hope they will be solved soon.&lt;/P&gt;&lt;P&gt;In the mean time I will give a try to ubuntu just to understand, thank you for your observations.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 10:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Error-when-generating-Buildroot-RFS-image/m-p/843535#M3822</guid>
      <dc:creator>Filippo</dc:creator>
      <dc:date>2019-02-08T10:00:26Z</dc:date>
    </item>
  </channel>
</rss>

