aarch64-linux-androidkernel-gcc: No such file or directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

aarch64-linux-androidkernel-gcc: No such file or directory

4,249 Views
shamiullah
Contributor III

Hello @all,

I am compiling android 11 source for imx8mm board. When i am compiling i am facing the following error

ERROR:

android_build/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-androidkernel-gcc: No such file or directory

I have successfully installed the source but still gcc is missing in toolchain. Can you please let me know the solution

Thanks & Regards,

Shamiullah

0 Kudos
3 Replies

4,245 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Shamiullah,

 

Please read the android user guide, it can be build with one script.

https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

 

Regards

4,230 Views
shamiullah
Contributor III

Hello Bio_TICFSL,

I have gone through the document and the issue is resolved but after compiling i am facing issue in u-boot stage.

ERROR:

install: cannot stat '/home/shamiullah/work/projects/office/boards/imx8mm/android_source/imx-android-11.0.0_1.0.0/android_build/out/target/product/phyboard_polis/obj/UBOOT_COLLECTION/u-boot-imx8mm-uuu.imx': No such file or directory

Looking like it is unable to find the u-boot-imx8mm-uuu.imx file.

Please let me know

Thanks & Regards,

Shamiullah

 
0 Kudos

4,221 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

This could be due to your are using the Android 11.0.0_0.1.0 , Try to use the latest one Android 11.0.0_2.2.0. that have Linux 5.10.35 kernel.

 

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

 

Regards

 

0 Kudos