<?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のトピックRe: Error  occurred when building Android 11 for imx8m mini</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251856#M171431</link>
    <description>&lt;P&gt;The process i have done according to NXP&lt;/P&gt;&lt;P&gt;downloaded Demo image and android source tried both images&lt;/P&gt;&lt;P&gt;The commands to Build&lt;/P&gt;&lt;P&gt;$: mkdir ~/bin&lt;/P&gt;&lt;P&gt;$: curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="_blank"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;/P&gt;&lt;P&gt;$: chmod a+x ~/bin/repo&lt;/P&gt;&lt;P&gt;$: export PATH=${PATH}:~/bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$: source ./imx-android-11.0.0_1.0.0/imx_android_setup.sh&lt;/P&gt;&lt;P&gt;$ cd ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;$ sudo tar -xvJf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz -C /opt&lt;/P&gt;&lt;P&gt;$ export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-&lt;/P&gt;&lt;P&gt;$ source build/envsetup.sh&lt;/P&gt;&lt;P&gt;$ lunch mek_8q-userdebug&lt;/P&gt;&lt;P&gt;$ ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command flash&lt;/P&gt;&lt;P&gt;$ sudo ${MY_ANDROID}/device/nxp/common/tools/imx-sdcard-partition.sh -f mx8mm /dev/sdX&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 06:29:21 GMT</pubDate>
    <dc:creator>Ruban1</dc:creator>
    <dc:date>2021-03-25T06:29:21Z</dc:date>
    <item>
      <title>Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251837#M171424</link>
      <description>&lt;P&gt;Error occurred when building Android 11 for imx8m min but the process was completely build successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING 'ddr4_imem_1d.bin' not found, resulting binary is not-functional&lt;/P&gt;&lt;P&gt;/bin/sh: 10: @: not found&lt;/P&gt;&lt;P&gt;Pad file tee.bin NOT found&lt;/P&gt;&lt;P&gt;Warning (unit_address_vs_reg): Node /images/uboot@1 has a unit name, but no reg property&lt;BR /&gt;Warning (unit_address_vs_reg): Node /images/fdt@1 has a unit name, but no reg property&lt;BR /&gt;Warning (unit_address_vs_reg): Node /images/atf@1 has a unit name, but no reg property&lt;BR /&gt;Warning (unit_address_vs_reg): Node /configurations/config@1 has a unit name, but no reg property&lt;/P&gt;&lt;P&gt;Entry Point: unavailable&lt;/P&gt;&lt;P&gt;Kernel: unavailable&lt;/P&gt;&lt;P&gt;leak CONFIG_COMPAT to user-space&lt;/P&gt;&lt;P&gt;out/build-evk_8mm-cleanspec.ninja is missing, regenerating...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251837#M171424</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251853#M171429</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you try to download the images to board?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251853#M171429</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-03-25T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251854#M171430</link>
      <description>&lt;P&gt;i have only done flashing through SD card and interested to IMX8M MINI&amp;nbsp; .i dont know how to download to the board through SD card&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251854#M171430</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251856#M171431</link>
      <description>&lt;P&gt;The process i have done according to NXP&lt;/P&gt;&lt;P&gt;downloaded Demo image and android source tried both images&lt;/P&gt;&lt;P&gt;The commands to Build&lt;/P&gt;&lt;P&gt;$: mkdir ~/bin&lt;/P&gt;&lt;P&gt;$: curl &lt;A href="https://storage.googleapis.com/git-repo-downloads/repo" target="_blank"&gt;https://storage.googleapis.com/git-repo-downloads/repo&lt;/A&gt; &amp;gt; ~/bin/repo&lt;/P&gt;&lt;P&gt;$: chmod a+x ~/bin/repo&lt;/P&gt;&lt;P&gt;$: export PATH=${PATH}:~/bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$: source ./imx-android-11.0.0_1.0.0/imx_android_setup.sh&lt;/P&gt;&lt;P&gt;$ cd ${MY_ANDROID}&lt;/P&gt;&lt;P&gt;$ sudo tar -xvJf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz -C /opt&lt;/P&gt;&lt;P&gt;$ export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-&lt;/P&gt;&lt;P&gt;$ source build/envsetup.sh&lt;/P&gt;&lt;P&gt;$ lunch mek_8q-userdebug&lt;/P&gt;&lt;P&gt;$ ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command flash&lt;/P&gt;&lt;P&gt;$ sudo ${MY_ANDROID}/device/nxp/common/tools/imx-sdcard-partition.sh -f mx8mm /dev/sdX&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251856#M171431</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251860#M171433</link>
      <description>&lt;P&gt;The process i have done is given below&lt;/P&gt;&lt;PRE&gt;i.MX Android BSP Repo Manifest README

This repo is used to download manifests for i.MX Android BSP releases.

The imx-android-11 branch will include all release manifests for Android 11 i.MX releases.
The code is not distributed as patches as previous i.MX Android releases.
Instead the i.MX Android open source is distributed on the https://source.codeaurora.org/external/imx
and the proprietary is distributed on nxp.com.   Please download from nxp.com first the proprietary
release and follow the README directions for configuring.  Below are directions for preparation.

To use this manifest repo, the 'repo' tool must be isntalled first.
--------------------------------------------------------
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo  &amp;gt; ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin

Get the proprietary tarball from nxp.com and setup build:
-----------------------------------------
For imx-android-11.0.0_1.0.0.tar.gz          - Download imx-android-11.0.0_1.0.0.tar.gz from nxp.com.
For imx-automotive-11.0.0_1.1.0.tar.gz       - Download imx-automotive-11.0.0_1.1.0.tar.gz from nxp.com.
For imx-android-11.0.0_1.2.0.tar.gz          - Download imx-android-11.0.0_1.2.0.tar.gz from nxp.com.

- unzip the package
- Run the build setup script in the tarball as specified in the README - example below
- This donwloads the public Android open source and copies the proprietary to the appropriate locations

Example below
$: tar xvf imx-android-11.0.0_1.0.0.tar.gz
$: source ./imx-android-11.0.0_1.0.0/imx_android_setup.sh

Setup build environment:
-------------------------
- Set up the environment for building. This only configures the current terminal.
$ source build/envsetup.sh

- Execute the Android lunch command.
lunch command can be issued with an argument &amp;lt;Build name&amp;gt;-&amp;lt;Build type&amp;gt; or can be issued without the argument presenting a menu of selection.
$ lunch &amp;lt;Build name&amp;gt;-&amp;lt;Build type&amp;gt;
(Example: Build name :mek_8q Build type: userdebug)
Check Android User's Guide for more details

- Execute the "imx-make.sh" script to generate the image.
$ ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt
When the make command is complete, the build-log.txt file contains the execution output. Check for any errors.&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251860#M171433</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251862#M171434</link>
      <description>&lt;P&gt;See this pdf &lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/ANDROID_QUICK_START_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/quick-reference-guide/ANDROID_QUICK_START_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251862#M171434</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-03-25T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251872#M171436</link>
      <description>&lt;P&gt;Sir , You have sent me for IMX8M PLUS . i am working on IMX8M MINI..and i tried that procedure for IMX8M MINI. the problem i am facing is the UUU file version downloaded from git hub. But my Ubuntu OS of supports latest version 1.4.107 .i am not able to downgrade . Even if i download it cannot be pasted in /snap/bin path as per procedure I&lt;SPAN&gt;nstall UUU into a directory contained by the system &lt;/SPAN&gt;&lt;SPAN&gt;environment variable of "PATH"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251872#M171436</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251874#M171437</link>
      <description>&lt;P&gt;Can i get any Video support LINK of the Process for IMX8M mini .Completely from Build image to Flashing to SD card and operating through minicom in Ubuntu OS and step to be carried out.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1251874#M171437</guid>
      <dc:creator>Ruban1</dc:creator>
      <dc:date>2021-03-25T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error  occurred when building Android 11 for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1358338#M181806</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184593"&gt;@Ruban1&lt;/a&gt;&lt;/P&gt;&lt;P&gt;May i know how your issue got resolved. At present i am facing the similar issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;./../scripts/pad_image.sh tee.bin&lt;BR /&gt;Pad file tee.bin NOT found&lt;BR /&gt;./../scripts/pad_image.sh bl31.bin&lt;BR /&gt;./../scripts/pad_image.sh u-boot-nodtb.bin phycore-imx8mm.dtb&lt;BR /&gt;TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 VERSION=v1 ./print_fit_hab.sh 0x0 phycore-imx8mm.dtb&lt;BR /&gt;0x40200000 0x3000 0xA6690&lt;BR /&gt;0x402A6690 0xA9690 0x7640&lt;BR /&gt;0x920000 0xB0CD0 0x91E0&lt;BR /&gt;make[1]: Leaving directory '/home/shamiullah/work/projects/office/boards/imx8mm/android_source/imx-android-11.0.0_1.0.0/android_build/vendor/nxp-opensource/imx-mkimage'&lt;BR /&gt;/bin/sh: 10: [[: not found&lt;/P&gt;&lt;P&gt;Can you please let me know the solution&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shamiullah&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 05:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-occurred-when-building-Android-11-for-imx8m-mini/m-p/1358338#M181806</guid>
      <dc:creator>shamiullah</dc:creator>
      <dc:date>2021-10-20T05:58:47Z</dc:date>
    </item>
  </channel>
</rss>

