Hello NXP Community,
I am trying to create the image of Android Q10.0.0_1.0.0 for IMX8M development kit.
I am new to this kind of stuff, but eager to learn.
Flashing the prebuilt image of Q10.0.0_1.0.0 works.
But I cannot get to build the image from source code.
I followed the steps mentioned in the Android User Guide.
It fails with the error:
...
[100% 157/157] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
Killed
11:20:38 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
Some of warnings I also received:
1) "make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule."
2) "WARNING '/home/mihai-gisca/Projects/1370/sources/Q10.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx/lpddr4_pmu_train_1d_imem.bin' not found, resulting binary is not-functional"
I found this file not in .../uboot-imx folder, but in .../imx-mkimage/iMX8M.
3) "Warning (unit_address_vs_reg): Node /images/uboot@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /images/fdt@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /images/atf@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /configurations/config@1 has a unit name, but no reg property"
4) "Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md"
The Android User Guide specifies that the GCC is deprecated and Clang has to be used. But I do not know how to
do it.
and other warnings.
OS: Ubuntu 18.04.4 LTS x64 as guest OS
Appreciate your efforts.
Best regards,
Mihai Gîsca