imx-android-10.0.0_1.0.0 build failed

cancel
Showing results for 
Search instead for 
Did you mean: 

imx-android-10.0.0_1.0.0 build failed

191 Views
Contributor II

Board:MCIMX8M-EVK

Code:imx-android-10.0.0_2.3.0.xml

Build 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

result:

build uboot and kernel success, and form out/target/product/evk_8mq/ can find uboot.imx and kernel image

when build android,error log follow:

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

 

 

I chekc the vendor/nxp dir, it is sure not have fsl-codec dir,please help me fix this issue,thx!

0 Kudos
5 Replies

167 Views
NXP TechSupport
NXP TechSupport

Hello,

 

Please make sure that the CODECs you are using do not require a license, and if they do, please make sure to have the license active so that it can also build the driver's code when building the image.

 

BR,

Ivan.

0 Kudos

162 Views
Contributor II

Dear IvanRuiz,

      

thank you for your reply

This part of the code is not open source by default, I need to sign the NDA to get it, is that right?

0 Kudos

141 Views
NXP TechSupport
NXP TechSupport

Hi,

 

Which part of the code are you specifically referring to?

 

BR,

Ivan.

0 Kudos

132 Views
Contributor II

Hi

  vendor/nxp/fsl-codec/ghdr

   This is needed when the android build.

 

    Thx

0 Kudos

114 Views
NXP TechSupport
NXP TechSupport

Hi,

 

Please copy vendor/nxp/fsl-codec/ghdr in the source code of your build folder, then build again. That should work for the CODEC.

 

Have a nice day!

 

BR,

Ivan.

 

0 Kudos