I am trying to build android 13 image for INVENSOM-8MM NXP iMX SOM board by following the android user guide but facing the build errors kindly help me in building the image successfully:
rmt@rmt-pc:/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build$ ./imx-make.sh -j4 2>&1 | tee build-log.txt
make: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build'
rm -rf /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh
mkdir -p /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_COLLECTION
if [ -n "0" ]; then \
echo 'export ROLLBACK_INDEX_IN_FIT=0' > /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
echo 'export ROLLBACK_INDEX_IN_CONTAINER=0' >> /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
else \
echo 'export ROLLBACK_INDEX_IN_FIT=' > /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
echo 'export ROLLBACK_INDEX_IN_CONTAINER=' >> /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
fi; \
if [ "" = "true" ]; then \
echo 'export TEE_COMPRESS_ENABLE=' >> /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
else \
echo 'export TEE_COMPRESS_ENABLE=' >> /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ/ubootenv.sh; \
fi
if [ "" = "true" ]; then \
dd if=/dev/zero of=vendor/nxp-opensource/imx-mkimage/iMX8M/dek_blob_fit_dummy.bin bs=96 count=1 && sync; \
else \
rm -f vendor/nxp-opensource/imx-mkimage/iMX8M/dek_blob_fit_dummy.bin; \
fi
Merging KERNEL config srcs: /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx_v8_android_defconfig /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/device/nxp/imx8m/invsom_8mm/android_addition_defconfig
Building arm64 2022.04 U-Boot ...
. /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/device/nxp/imx8m/invsom_8mm/AndroidUboot.sh; \
build_m4_image
Using /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx_v8_android_defconfig as base
Merging /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/device/nxp/imx8m/invsom_8mm/android_addition_defconfig
make[1]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx'
make[2]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ'
Value of CONFIG_USB_SERIAL_OPTION is redefined by fragment /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/device/nxp/imx8m/invsom_8mm/android_addition_defconfig:
Previous value: CONFIG_USB_SERIAL_OPTION=m
New value: CONFIG_USB_SERIAL_OPTION=y
make[1]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx'
make[2]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/KERNEL_OBJ'
GEN Makefile
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts/dtc
CLEAN spl/u-boot.cfg
CLEAN include/generated/env.in u-boot.cfg u-boot.cfg.configs
CLEAN include/config include/generated spl include/asm
CLEAN .config .config.old include/autoconf.mk include/autoconf.mk.dep include/config.h include/asm
make[2]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ'
make[1]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx'
make[1]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx'
make[2]: Entering directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ'
HOSTCC scripts/basic/fixdep
GEN Makefile
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
./.tmp.config.5XkC1hRYjA:1542:warning: override: reassigning to symbol PPP_SYNC_TTY
#
# configuration written to .config
#
make[2]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/KERNEL_OBJ'
make[1]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/kernel_imx'
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[2]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/obj/UBOOT_OBJ'
make[1]: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx'
Value requested for CONFIG_INPHI_PHY not in final .config
Requested value: CONFIG_INPHI_PHY=y
Actual value:
/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx is not clean, please run 'make mrproper'
in the '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx' directory.
make[2]: *** [/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/vendor/nxp-opensource/uboot-imx/Makefile:1928: prepare3] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:177: sub-make] Error 2
make: *** [/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/device/nxp/common/build/uboot.mk:137: /media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build/out/target/product/invsom_8mm/u-boot.imx] Error 1
make: *** Waiting for unfinished jobs....
Value requested for CONFIG_WLAN_VENDOR_NXP not in final .config
Requested value: CONFIG_WLAN_VENDOR_NXP=n
Actual value:
Value requested for CONFIG_MXMWIFIEX not in final .config
Requested value: CONFIG_MXMWIFIEX=m
Actual value:
Value requested for CONFIG_CLD_HL_SDIO_CORE not in final .config
Requested value: CONFIG_CLD_HL_SDIO_CORE=y
Actual value:
Value requested for CONFIG_PLIP not in final .config
Requested value: CONFIG_PLIP=y
Actual value:
Value requested for CONFIG_PPP_SYNC_TTY not in final .config
Requested value: CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_SYNC_TTY=y
Actual value: CONFIG_PPP_SYNC_TTY=y
Value requested for CONFIG_PPPOATM not in final .config
Requested value: CONFIG_PPPOATM=y
Actual value:
Value requested for CONFIG_PPP_SYNC_TTY not in final .config
Requested value: CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_SYNC_TTY=y
Actual value: CONFIG_PPP_SYNC_TTY=y
Value requested for CONFIG_REGULATOR_DUMMY not in final .config
Requested value: CONFIG_REGULATOR_DUMMY=y
Actual value:
Value requested for CONFIG_EARLY_PRINTK not in final .config
Requested value: CONFIG_EARLY_PRINTK=y
Actual value:
Value requested for CONFIG_DEBUG_PRINTK not in final .config
Requested value: CONFIG_DEBUG_PRINTK=y
Actual value:
Value requested for CONFIG_DEBUG_LL not in final .config
Requested value: CONFIG_DEBUG_LL=y
Actual value:
Value requested for CONFIG_DRM_LONTIUM_LT8912 not in final .config
Requested value: CONFIG_DRM_LONTIUM_LT8912=y
Actual value:
make: Leaving directory '/media/rmt/Harddrive/imx-android-13.0.0_1.0.0/android_build'