Android Nougat 7.1.2 imx6 build failure

cancel
Showing results for 
Search instead for 
Did you mean: 

Android Nougat 7.1.2 imx6 build failure

Jump to solution
982 Views
bdp42
Contributor IV

Hi,

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/libdivsufsort64.so
[ 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?

Thanks,

Bruno

Labels (3)
0 Kudos
1 Solution
207 Views
bdp42
Contributor IV

I missed a step in setting things up where the bpt repo needs to be cloned.

I included this step and it fixed the build issue

View solution in original post

0 Kudos
2 Replies
207 Views
peterlambert
Contributor I

Hello Bruno, I have this same error but don't see the instruction to clone the bpt repo within the users guides I can find.

Would you be able to share the part of the documents you have showing this or provide the command line sequence to do this ?.

Thank you,

Peter

0 Kudos
208 Views
bdp42
Contributor IV

I missed a step in setting things up where the bpt repo needs to be cloned.

I included this step and it fixed the build issue

View solution in original post

0 Kudos