<?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 Android image build error for imx8mp in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-image-build-error-for-imx8mp/m-p/2254127#M242599</link>
    <description>&lt;P&gt;while trying to build android image imx-android-15.0.0_1.2.0, I am facing the below error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Building i.MX U-Boot with firmware&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/variscite/arm-trusted-firmware'&lt;BR /&gt;CLEAN&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/variscite/arm-trusted-firmware'&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;imx8qm clean done&lt;BR /&gt;imx8qx clean done&lt;BR /&gt;imx8dxl clean done&lt;BR /&gt;imx8ulp clean done&lt;BR /&gt;imx93 clean done&lt;BR /&gt;imx91 clean done&lt;BR /&gt;imx95 clean done&lt;BR /&gt;imx94 clean done&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;fatal: detected dubious ownership in repository at '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;To add an exception for this directory, call:&lt;/P&gt;&lt;P&gt;git config --global --add safe.directory /workdir/vendor/nxp-opensource/imx-mkimage&lt;BR /&gt;make[2]: *** [Makefile:59: src/build_info.h] Error 128&lt;BR /&gt;make[1]: *** [Makefile:25: flash_evk] Error 2&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;make: *** [/workdir/device/variscite/../nxp/common/build/uboot.mk:137: /workdir/out/target/product/dart_mx8mp/u-boot.imx] Error 1&lt;BR /&gt;make: Leaving directory '/workdir'&lt;BR /&gt;&lt;BR /&gt;The error is occured when running the below command :&lt;BR /&gt;TARGET_USES_BCM_WIFI=true ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build1-1.log&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 10:10:54 GMT</pubDate>
    <dc:creator>hulk101</dc:creator>
    <dc:date>2025-12-03T10:10:54Z</dc:date>
    <item>
      <title>Android image build error for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-image-build-error-for-imx8mp/m-p/2254127#M242599</link>
      <description>&lt;P&gt;while trying to build android image imx-android-15.0.0_1.2.0, I am facing the below error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Building i.MX U-Boot with firmware&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/variscite/arm-trusted-firmware'&lt;BR /&gt;CLEAN&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/variscite/arm-trusted-firmware'&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;imx8qm clean done&lt;BR /&gt;imx8qx clean done&lt;BR /&gt;imx8dxl clean done&lt;BR /&gt;imx8ulp clean done&lt;BR /&gt;imx93 clean done&lt;BR /&gt;imx91 clean done&lt;BR /&gt;imx95 clean done&lt;BR /&gt;imx94 clean done&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;make[1]: Entering directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;fatal: detected dubious ownership in repository at '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;To add an exception for this directory, call:&lt;/P&gt;&lt;P&gt;git config --global --add safe.directory /workdir/vendor/nxp-opensource/imx-mkimage&lt;BR /&gt;make[2]: *** [Makefile:59: src/build_info.h] Error 128&lt;BR /&gt;make[1]: *** [Makefile:25: flash_evk] Error 2&lt;BR /&gt;make[1]: Leaving directory '/workdir/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;make: *** [/workdir/device/variscite/../nxp/common/build/uboot.mk:137: /workdir/out/target/product/dart_mx8mp/u-boot.imx] Error 1&lt;BR /&gt;make: Leaving directory '/workdir'&lt;BR /&gt;&lt;BR /&gt;The error is occured when running the below command :&lt;BR /&gt;TARGET_USES_BCM_WIFI=true ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build1-1.log&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 10:10:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-image-build-error-for-imx8mp/m-p/2254127#M242599</guid>
      <dc:creator>hulk101</dc:creator>
      <dc:date>2025-12-03T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Android image build error for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-image-build-error-for-imx8mp/m-p/2254273#M242606</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error you're encountering during the Android image build is related to Git repository ownership detection. Git has a security feature that prevents operations in repositories owned by different users, which is triggering the "dubious ownership" error.&lt;BR /&gt;&lt;BR /&gt;To resolve this issue, you need to add the repository directory to Git's safe.directory configuration by running the command that was suggested in the error message:&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;git config --global --add safe.directory /workdir/vendor/nxp-opensource/imx-mkimage&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;After running this command, try building the image again using your original command:&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;TARGET_USES_BCM_WIFI=true ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build1-1.log&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;This is a Git security feature rather than an issue with the NXP Android BSP itself. The error occurs because Git detects that the repository directory may be owned by a different user than the one executing the Git commands, which commonly happens in containerized or shared development environments.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 13:57:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-image-build-error-for-imx8mp/m-p/2254273#M242606</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-12-03T13:57:08Z</dc:date>
    </item>
  </channel>
</rss>

