AnsweredAssumed Answered

Android build error on creating dtbo.img

Question asked by Sid Saxena on Jul 5, 2019
Latest reply on Jul 8, 2019 by jimmychan

I am trying to add drivers for a Wi-Fi/ BT Module into Android p9 and building the OS, but seem to hit an error where dtbo.img is unable to be created. I am unable to resolve this issue for a while

I am building this for NXP imx8m board which is running Android p9 and get the above error during the build

make: Entering directory '/home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx'
make: Leaving directory '/home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx'

make: Entering directory '/home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx'

make[1]: Entering directory '/home/code/os/android/android_build/out/target/product/evk_8mm/obj/KERNEL_OBJ'

CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
Using /home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx as source for kernel
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx/scripts/checksyscalls.sh

make[1]: Leaving directory '/home/code/os/android/android_build/out/target/product/evk_8mm/obj/KERNEL_OBJ'

make: Leaving directory '/home/code/os/android/android_build/vendor/nxp-opensource/kernel_imx'

create image file: out/target/product/evk_8mm/dtbo-imx8mq.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-mipi.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-dual.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-mipi-panel.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-dsd.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-b3.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-mipi-b3.img...
Total 1 entries.
create image file: out/target/product/evk_8mm/dtbo-imx8mq-mipi-panel-b3.img...
Total 1 entries.

[ 4% 1836/40777] build out/target/product/evk_8mm/dtbo.img
FAILED: out/target/product/evk_8mm/dtbo.img
/bin/bash -c "(cp out/target/product/evk_8mm/dtbo-imx8mm.img out/target/product/evk_8mm/dtbo.img ) && (out/host/linux-x86/bin/avbtool add_hash_footer --image out/target/product/evk_8mm/dtbo.img --partition_size 4194304 --partition_name dtbo )"

cp: cannot stat 'out/target/product/evk_8mm/dtbo-imx8mm.img': No such file or directory Collapse

Outcomes