平台:MCIMX8M-EVK
代码:imx-android-10.0.0_2.3.0.xml
pc:Linux zhousl 5.4.0-45-generic #49~18.04.2-Ubuntu SMP Wed Aug 26 16:29:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
build step:
android_Q10.0.0_1.0.0_docs/Android_User's_Guide.pdf
2.1Setting up your computer
2.2Unpacking the Android release package
2.3Building the Android platform for i.MX
source build/envsetup.sh
lunch evk_8mq_userdebug
./imx-make.sh -j4--这部应该有执行成功,可以在out目录看到生成的uboot以及kernel镜像
到编译androud步骤的时候,提示如下错误:
TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 VERSION=v1 ./print_fit_hab.sh 0x60000 evk.dtb
0x40200000 0x5AC00 0xA93D8
0x402A93D8 0x103FD8 0x7928
0x910000 0x10B900 0x8080
make[1]: Leaving directory '/home/iseedev/2T/android_build/vendor/nxp-opensource/imx-mkimage'
===================Finish building imx8mq-evk-uuu:imx8mq_evk_android_uuu_defconfig ===================
make: Leaving directory '/home/iseedev/2T/android_build'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=evk_8mq
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-42-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200501.001.B2
OUT_DIR=out
============================================
[100% 9/9] 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
error: vendor/nxp/vpu_wrapper/Android.bp:82:1: module "lib_vpu_wrapper" variant "android_arm64_armv8-a_cortex-a53_vendor_shared": source path "vendor/nxp/fsl-codec/ghdr" does not exist
18:09:16 soong bootstrap failed with: exit status 1
错误信息应该是编译这个lib_vpu_wrapper库需要android_arm64_armv8-a_cortex-a53_vendor_shared
我有检查过vendor/nxp目录下,确实没有fsl-codec这个目录,请帮忙check一下如何解决,谢谢