<?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のトピックandroid build fails for MX_O8.0.0_1 sabresd_6dq-userdebug</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818575#M126114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a board with&amp;nbsp;MCIMX6Q6AVT10AD, actually a Dave axel-lite board&lt;/P&gt;&lt;P&gt;It runs an old version of Android and I am tasked with having a newer one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded IMX_O8.0.0_1.0.0_ANDROID_SOURCE from NXP since it says that it applies to Imx 6Quad&lt;/P&gt;&lt;P&gt;I have followed the instructions on&amp;nbsp;android_O8.0.0_1.0.0_docs ,&amp;nbsp; Android_User's_Guide.pdf and done&lt;/P&gt;&lt;P&gt;source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh with the associated download&lt;/P&gt;&lt;P&gt;(it would be GREAT if it was possible to use the -u option of repo to specify a LOCAL mirror for the standard android source)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Done&amp;nbsp;source build/envsetup.sh and&amp;nbsp; lunch sabresd_6dq-userdebug (for testing) and make -j 32 results in&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;build/core/base_rules.mk:238: error: vendor/nxp/fsl-codec: MODULE.TARGET.SHARED_LIBRARIES.lib_nb_amr_dec_v2_arm9_elinux already defined by vendor/fsl-codec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Yes, I know that I have to adjust the devicetree and kernel, I am here asking for basic android build that fails on suggested example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build host is a linux amd64, devuan ascii&lt;/P&gt;&lt;P&gt;it builds successfully a vanilla version of android from the standard android repository&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 10:05:05 GMT</pubDate>
    <dc:creator>nxp_com</dc:creator>
    <dc:date>2018-08-23T10:05:05Z</dc:date>
    <item>
      <title>android build fails for MX_O8.0.0_1 sabresd_6dq-userdebug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818575#M126114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a board with&amp;nbsp;MCIMX6Q6AVT10AD, actually a Dave axel-lite board&lt;/P&gt;&lt;P&gt;It runs an old version of Android and I am tasked with having a newer one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded IMX_O8.0.0_1.0.0_ANDROID_SOURCE from NXP since it says that it applies to Imx 6Quad&lt;/P&gt;&lt;P&gt;I have followed the instructions on&amp;nbsp;android_O8.0.0_1.0.0_docs ,&amp;nbsp; Android_User's_Guide.pdf and done&lt;/P&gt;&lt;P&gt;source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh with the associated download&lt;/P&gt;&lt;P&gt;(it would be GREAT if it was possible to use the -u option of repo to specify a LOCAL mirror for the standard android source)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Done&amp;nbsp;source build/envsetup.sh and&amp;nbsp; lunch sabresd_6dq-userdebug (for testing) and make -j 32 results in&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;build/core/base_rules.mk:238: error: vendor/nxp/fsl-codec: MODULE.TARGET.SHARED_LIBRARIES.lib_nb_amr_dec_v2_arm9_elinux already defined by vendor/fsl-codec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Yes, I know that I have to adjust the devicetree and kernel, I am here asking for basic android build that fails on suggested example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build host is a linux amd64, devuan ascii&lt;/P&gt;&lt;P&gt;it builds successfully a vanilla version of android from the standard android repository&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:05:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818575#M126114</guid>
      <dc:creator>nxp_com</dc:creator>
      <dc:date>2018-08-23T10:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: android build fails for MX_O8.0.0_1 sabresd_6dq-userdebug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818576#M126115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; I managed to build the system, using instructions of the Android™ User's Guide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;After host computer setup, as recommended, the following commands were used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;$ cd ${MY_ANDROID}&lt;BR /&gt;$ source build/envsetup.sh&lt;BR /&gt;$ sabresd_6dq-userdebug&lt;BR /&gt;$ make 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 07:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818576#M126115</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-09-04T07:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: android build fails for MX_O8.0.0_1 sabresd_6dq-userdebug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818577#M126116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me a while, but I finally managed to test your answer and it is wrong&lt;/P&gt;&lt;P&gt;You probably just copy pasted some instructions, without testing them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what does actually work ?&lt;/P&gt;&lt;P&gt;The following will download the Oreo into the android_build&lt;/P&gt;&lt;P&gt;It takes ages, but eventually you get the build tree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ cd /home/sipro/imx6q_o8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ export WORKSPACE=/home/sipro/imx6q_o8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ cp -rv &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;/home/sipro/dev-android/DAMIANO/nxp/imx-o8.1.0_1.3.0_8m &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;/home/sipro/imx6q_o8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ source &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;/home/sipro/imx6q_o8/&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;imx-o8.1.0_1.3.0_8m/imx_android_setup.sh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, to actually build anything you can do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ cd android_build&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ source build/envsetup.sh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ lunch evk_8mq-userdebug&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;&lt;SPAN style="color: #0000ff; font-size: medium;"&gt;&lt;SPAN lang="zxx"&gt;&lt;STRONG&gt;$ make&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is actually able to arrive at the end of the build (cannot test if it works since I have no such board)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board I am working with is&amp;nbsp;&lt;A class="link-titled" href="https://wiki.dave.eu/index.php/Category:AxelLite" title="https://wiki.dave.eu/index.php/Category:AxelLite"&gt;Category:AxelLite - DAVE Developer's Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and currently has an old version of Android on it, I was hoping to build for a 6q CPU and tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #5454ff; background-color: #ffffff; font-weight: bold;"&gt;/home/sipro/imx6q_o8/android_build&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;$ lunch sabreauto_6q-userdebug&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this fails with the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #000000;"&gt;ninja: error: 'vendor/nxp/linux-firmware-imx/firmware/vpu/vpu_fw_imx6d.bin', needed by 'out/target/product/sabreauto_6q/system/lib/firmware/vpu/vpu_fw_imx6d.bin', missing and no known rule to make it &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;10:40:14 ninja failed with: exit status 1&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Trying exactly what you suggested, with proper syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #5454ff; background-color: #ffffff; font-weight: bold;"&gt;/home/sipro/imx6q_o8/android_build&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;$ lunch sabresd_6dq-userdebug &lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;still result in failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #000000;"&gt;ninja: error: 'vendor/nxp/linux-firmware-imx/firmware/vpu/vpu_fw_imx6d.bin', needed by 'out/target/product/sabresd_6dq/system/lib/firmware/vpu/vpu_fw_imx6d.bin', missing and no known rule to make it &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;12:25:35 ninja failed with: exit status 1&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, given that there is at least one build that "works" (it takes around 30 minutes on a 32threads + 32Gb ram machine) I would say that the linux environment should be reasonably correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would say that if the other builds (beside the evk_8mq) are broken, better not have them around, so we know what to really expect from this Android build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But surely it is not your fault&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2018 10:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-build-fails-for-MX-O8-0-0-1-sabresd-6dq-userdebug/m-p/818577#M126116</guid>
      <dc:creator>nxp_com</dc:creator>
      <dc:date>2018-10-06T10:31:49Z</dc:date>
    </item>
  </channel>
</rss>

