Android build error on creating dtbo.img

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android build error on creating dtbo.img

2,942 Views
sid1
Contributor I

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

Labels (1)
0 Kudos
2 Replies

427 Views
r_trivedi123
Contributor IV

Hi,

We have achieved DTBO implementation on imx8mm & imx8mp at Silicon Signals Pvt. Ltd.
Connect in case of discussion at info@siliconsignals.io

--
Rutvij Trivedi

0 Kudos

2,299 Views
jimmychan
NXP TechSupport
NXP TechSupport

please download the document Android P9.0.0_2.2.0 Documentation.

In the User's Guide, please read the chapter 7.2.2 and chapter 8. You may need to change the BoardConfig.mk.

0 Kudos