<?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: Android 12.1.0_1.0.0 build failed for imx8mp in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1809140#M219989</link>
    <description>&lt;P&gt;This looks like an issue with incompatible tools.&amp;nbsp; I created a VM with Ubuntu 18.04, installed the tools per the user's guide, and everything builds correctly.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 13:51:54 GMT</pubDate>
    <dc:creator>eric_bentley</dc:creator>
    <dc:date>2024-02-15T13:51:54Z</dc:date>
    <item>
      <title>Android 12.1.0_1.0.0 build failed for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1805865#M219918</link>
      <description>&lt;P&gt;I have an Ubuntu server that I use to build images for the imx8mp for Android versions 9-14. With the exception of Android 12, they all build correct images.&amp;nbsp; Android 12, however, fails when trying to build the kernel (full log file attached) but I have not been able to resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MODINFO modules.builtin.modinfo
  GEN     modules.builtin
  LD      .tmp_vmlinux.btf
  BTF     .btf.vmlinux.bin.o
  LD      .tmp_vmlinux.kallsyms1
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS      .tmp_vmlinux.kallsyms1.S
  LD      .tmp_vmlinux.kallsyms2
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux
  BTFIDS  vmlinux
FAILED: load BTF from vmlinux: Invalid argument
make[2]: *** [/home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx/Makefile:1250: vmlinux] Error 255
make[2]: *** Deleting file 'vmlinux'
make[2]: Leaving directory '/home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build/out/target/product/evk_8mp/obj/KERNEL_OBJ'
make[1]: *** [Makefile:237: __sub-make] Error 2
make[1]: Leaving directory '/home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx'
make: *** [/home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build/device/nxp/common/build/kernel.mk:197: /home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build/out/target/product/evk_8mp/obj/KERNEL_OBJ/arch/arm64/boot/Image.lz4] Error 2
make: Leaving directory '/home/eric/projects/nxp/imx-android-12.1.0_1.0.0/android_build'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have verified CLANG/AARCH64 and pahole versions are as specified in the Android 12 User's guide:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;┌─2d [eric@SOHOS88K0033:~/projects/ … /android_build] $ 
└▪ ${AARCH64_GCC_CROSS_COMPILE}gcc --version
aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

┌─2d [eric@SOHOS88K0033:~/projects/ … /android_build] $ 
└▪ git -C ${CLANG_PATH} log --oneline -1
2afa11ccc (HEAD -&amp;gt; master, origin/master, origin/main, origin/HEAD) Update prebuilt Clang to r498229b (17.0.4).
┌─2d [eric@SOHOS88K0033:~/projects/ … /android_build] $ 
└▪ pahole --version
v1.25&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've seen some hits with google regarding this kernel but nothing I've been able to use to resolve the issue.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for any guidance you can provide.&lt;/P&gt;&lt;P&gt;-Eric&lt;BR /&gt;&lt;BR /&gt;PS: make invoked with:&lt;BR /&gt;./imx-make.sh kernel -j40 |&amp;amp; tee build-`date +%F-%T`.txt&lt;BR /&gt;which created a build log with timestamp in the name.&amp;nbsp; However, this forum would not allow me to upload the file with that name.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1805865#M219918</guid>
      <dc:creator>eric_bentley</dc:creator>
      <dc:date>2024-02-13T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Android 12.1.0_1.0.0 build failed for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1806620#M219952</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Are you working with kernel form NXP since it looks like a kernel issue, you can download from:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO" target="_blank"&gt;https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 15:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1806620#M219952</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-14T15:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Android 12.1.0_1.0.0 build failed for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1806723#M219960</link>
      <description>this is the kernel that is downloaded by the default command:&lt;BR /&gt;&lt;BR /&gt;source&amp;nbsp;~/projects/nxp/imx-android-12.1.0_1.0.0/imx_android_setup.sh&lt;BR /&gt;&lt;BR /&gt;I have made zero modifications.&amp;nbsp; Just trying to build the default image.</description>
      <pubDate>Wed, 14 Feb 2024 18:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1806723#M219960</guid>
      <dc:creator>eric_bentley</dc:creator>
      <dc:date>2024-02-14T18:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Android 12.1.0_1.0.0 build failed for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1809140#M219989</link>
      <description>&lt;P&gt;This looks like an issue with incompatible tools.&amp;nbsp; I created a VM with Ubuntu 18.04, installed the tools per the user's guide, and everything builds correctly.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1809140#M219989</guid>
      <dc:creator>eric_bentley</dc:creator>
      <dc:date>2024-02-15T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Android 12.1.0_1.0.0 build failed for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1982405#M230157</link>
      <description>&lt;P&gt;We have successfully ported Android 14 on imx8mp : &lt;A href="https://youtu.be/bUD6gcjBe2o?si=AgYeRDa-OvSJ7vVx" target="_self"&gt;Watch here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In case you need any help related to this connect me on &lt;A href="mailto:maaz.patni@silicon" target="_blank"&gt;maaz.patni@siliconsignals.io&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2024 06:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-12-1-0-1-0-0-build-failed-for-imx8mp/m-p/1982405#M230157</guid>
      <dc:creator>MaazPatni</dc:creator>
      <dc:date>2024-10-26T06:02:34Z</dc:date>
    </item>
  </channel>
</rss>

