2 github 36241668 github_36241668 于 2016.09.26 10:00 提问

RK3288 make otapackage 报错ValueError: need more than 1 value to unpack

mkbootimg_args = (str)
multistage_support = (str) 1
recovery_api_version = (int) 2
selinux_fc = (str) /tmp/targetfiles-WQjmn2/BOOT/RAMDISK/file_contexts
system_size = (int) 1610612736
tool_extensions = (str) device/rockchip/rksdk
update_rename_support = (str) 1
use_set_metadata = (str) 1
using device-specific extensions in device/rockchip/rksdk
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-WQjmn2/META/recovery_filesystem_config.txt /tmp/targetfiles-WQjmn2/RECOVERY/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-WQjmn2/RECOVERY/kernel --second /tmp/targetfiles-WQjmn2/RECOVERY/resource.img --ramdisk /tmp/tmpBdTCrB --output /tmp/tmpNnUZoC
running: drmsigntool /tmp/tmpNnUZoC build/target/product/security/privateKey.bin
src_path: /tmp/tmpNnUZoC, private_key_path: build/target/product/security/privateKey.bin
can't open file build/target/product/security/privateKey.bin!
no find private key, so not sign boot.img!
building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-WQjmn2/META/boot_filesystem_config.txt /tmp/targetfiles-WQjmn2/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-WQjmn2/BOOT/kernel --second /tmp/targetfiles-WQjmn2/BOOT/resource.img --ramdisk /tmp/tmp6LpDeb --output /tmp/tmppqQcvT
running: drmsigntool /tmp/tmppqQcvT build/target/product/security/privateKey.bin
src_path: /tmp/tmppqQcvT, private_key_path: build/target/product/security/privateKey.bin
can't open file build/target/product/security/privateKey.bin!
no find private key, so not sign boot.img!
running: imgdiff -b /tmp/targetfiles-WQjmn2/SYSTEM/etc/recovery-resource.dat /tmp/tmpD07dY4 /tmp/tmpXulEpX /tmp/tmp1qudyL
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1059, in
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1027, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 502, in WriteFullOTAPackage
Item.GetMetadata(input_zip)
File "./build/tools/releasetools/ota_from_target_files", line 197, in GetMetadata
key, value = element.split("=")
ValueError: need more than 1 value to unpack
make: *** [out/target/product/rk3288/rk3288-ota-eng.wake.zip] 错误 1

1个回答

devmiao
devmiao   Ds   Rxr 2016.09.27 01:43
github_36241668
github_36241668 在META目录下有这文件,可是缩进应该没问题的
大约一年之前 回复
github_36241668
github_36241668 补充:在这个device/rockchip/common/下,我没有这个releasetools.py文件
大约一年之前 回复
github_36241668
github_36241668 我都没有这个目录,没有这个文件
大约一年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片