Android Nougat 7.1.2 imx6 build failure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Android Nougat 7.1.2 imx6 build failure

跳至解决方案
2,825 次查看
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

标签 (3)
0 项奖励
回复
1 解答
2,050 次查看
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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,050 次查看
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 项奖励
回复
2,051 次查看
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

0 项奖励
回复