Hello!
I'm following this guide https://www.nxp.com/docs/en/user-guide/Android_Auto_User's_Guide.pdf but when I run this command:
./imx-make.sh -j4 2>&1 | tee build-log.txt
I receive this error:
In the guide there is no any information about this. Where I should set this CONFIG_MODULES flag?
解決済! 解決策の投稿を見る。
Hi,
There might be an initialization or host trouble, I tried to replicate the experiment, results are failed at 1:50:00 because I had no space left and they were performed in Ubuntu 22.
# Android Auto 15.0.0 Test
$ sudo apt-get install uuid uuid-dev zlib1g-dev liblz-dev liblzo2-2 liblzo2-dev lzop git curl u-boot-tools mtd-utils android-sdk-libsparse-utils device-tree-compiler gdisk m4 bison flex make libssl-dev gcc-multilib libgnutls28-dev swig liblz4-tool libdw-dev dwarves bc cpio tar lz4 rsync ninja-build clang libelf-dev build-essential libncurses5
$ cd /opt/prebuilt-android-clang
$ sudo git checkout 7061673283909f372f4938e45149d23bd10cbd40
$ export CLANG_PATH=/opt/prebuilt-android-clang
$ export LIBCLANG_PATH=/opt/prebuilt-android-clang/clang-r510928/lib
$ cd /opt/prebuilt-android-kernel-build-tools
$ sudo git checkout b46264b70e3cdf70d08c9ae2df6ea3002b242ebc
$ export PATH=/opt/prebuilt-android-kernel-build-tools/linux-x86/bin:$PATH
$ tar -xzvf imx-automotive-15.0.0_1.1.0.tar.gz
$ sudo tar -jxvf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -C /opt
$ export ARMGCC_DIR=/opt/gcc-arm-none-eabi-10.3-2021.10/
$ cmake --version
$ source imx-automotive-15.0.0_1.1.0/imx_android_setup.sh
$ cd Projects/android_build/
$ export MY_ANDROID=`pwd`
$ export AARCH32_GCC_CROSS_COMPILE=/opt/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-
$ export AARCH64_GCC_CROSS_COMPILE=/opt/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
$ source build/envsetup.sh
$ lunch mek_8q_car-nxp_stable-userdebug
$ export TARGET_RELEASE=nxp_stable
$ build_build_var_cache
$ ./imx-make.sh -j14 2>&1 | tee build-log.txt
[ 90% 125364/137954] Copy: out/target/product/mek_8q/obj/ETC/
...
android_build/out/build.trace.gz: no space left on device
...
#### failed to build some targets (01:50:50 (hh:mm:ss)) ####
Regards
Hi,
Thank you for your interest in NXP Semiconductor products,
Could you please attach the steps that took you there? You can export the output of
$ history
Are you running these commands?
$ source build/envsetup.sh
$ lunch mek_8q_car-nxp_stable-userdebug
Could you please add these commands after the lunch one?
$ export TARGET_RELEASE=nxp_stable
$ build_build_var_cache
Regards
Hi Joseph!
1. Sure. Here is the history:
1997 source build/envsetup.sh
1998 lunch mek_8q_car-nxp_stable-userdebug
1999 ./imx-make.sh -j4 2>&1 | tee build-log.txt
2000 clear
2001 history
2. Yes, I am.
3. I run those 2 commands and nothing happened:
after that I run:
./imx-make.sh -j4 2>&1 | tee build-log.txt
and received the same error:
Hi,
There might be an initialization or host trouble, I tried to replicate the experiment, results are failed at 1:50:00 because I had no space left and they were performed in Ubuntu 22.
# Android Auto 15.0.0 Test
$ sudo apt-get install uuid uuid-dev zlib1g-dev liblz-dev liblzo2-2 liblzo2-dev lzop git curl u-boot-tools mtd-utils android-sdk-libsparse-utils device-tree-compiler gdisk m4 bison flex make libssl-dev gcc-multilib libgnutls28-dev swig liblz4-tool libdw-dev dwarves bc cpio tar lz4 rsync ninja-build clang libelf-dev build-essential libncurses5
$ cd /opt/prebuilt-android-clang
$ sudo git checkout 7061673283909f372f4938e45149d23bd10cbd40
$ export CLANG_PATH=/opt/prebuilt-android-clang
$ export LIBCLANG_PATH=/opt/prebuilt-android-clang/clang-r510928/lib
$ cd /opt/prebuilt-android-kernel-build-tools
$ sudo git checkout b46264b70e3cdf70d08c9ae2df6ea3002b242ebc
$ export PATH=/opt/prebuilt-android-kernel-build-tools/linux-x86/bin:$PATH
$ tar -xzvf imx-automotive-15.0.0_1.1.0.tar.gz
$ sudo tar -jxvf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -C /opt
$ export ARMGCC_DIR=/opt/gcc-arm-none-eabi-10.3-2021.10/
$ cmake --version
$ source imx-automotive-15.0.0_1.1.0/imx_android_setup.sh
$ cd Projects/android_build/
$ export MY_ANDROID=`pwd`
$ export AARCH32_GCC_CROSS_COMPILE=/opt/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-
$ export AARCH64_GCC_CROSS_COMPILE=/opt/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
$ source build/envsetup.sh
$ lunch mek_8q_car-nxp_stable-userdebug
$ export TARGET_RELEASE=nxp_stable
$ build_build_var_cache
$ ./imx-make.sh -j14 2>&1 | tee build-log.txt
[ 90% 125364/137954] Copy: out/target/product/mek_8q/obj/ETC/
...
android_build/out/build.trace.gz: no space left on device
...
#### failed to build some targets (01:50:50 (hh:mm:ss)) ####
Regards
Ok, thank you very much! Turned out I downloaded imx-android 15.0.0_1.2.0 instead of