AnsweredAssumed Answered

Android Nougat 7.1.2 imx6 build failure

Question asked by Bruno De Paoli on Nov 9, 2017
Latest reply on Jan 20, 2018 by Peter Lambert



I am attempting to build the Android Nougat 7.1.2 (rev N7.1.2_2.0.0)  images for imx6 device. I'm building on Ubuntu 14.04 LTS. I followed the build instructions in the Android Users Guide for the sabresd_6dq-user target.


There were a few setup issues but the build did eventually start and carries on but fails towards the end with the following error.



[ 99% 19782/19791] Install: out/host/linux-x86/lib64/
[ 99% 19783/19791] Install: out/host/linux-x86/bin/bsdiff
[ 99% 19784/19791] Target partition table image: out/target/product/sabresd_6dq/partition-table.img
FAILED: /bin/bash -c "out/host/linux-x86/bin/bpttool make_table --output_gpt out/target/product/sabresd_6dq/partition-table.img --output_json out/target/product/sabresd_6dq/partition-table.bpt  --input device/fsl/common/partition/device-partitions.bpt"
/bin/bash: out/host/linux-x86/bin/bpttool: No such file or directory
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1


#### make failed to build some targets (03:28:46 (hh:mm:ss)) ####


As you would expect from the error the bpttool executable does not exist.


I've googled this error but found nothing. Also nothing on the NXP community site.


Any ideas?