RK3288 recovery ota升级包
一.打开recovery usb 升级 的 宏
device\rockchip\common\BoardConfig.mk
# Auto update package from USB RECOVERY_AUTO_USB_UPDATE ?= true
二.Android5.1 ota 包编译错误 make otapackage
target StaticExecutable: updater (out/target/product/rk3288/obj/EXECUTABLES/updater_intermediates/LINKED/updater) target Symbolic: updater (out/target/product/rk3288/symbols/system/bin/updater) APK certs list: out/target/product/rk3288/obj/PACKAGING/apkcerts_intermediates/rk3288-apkcerts-eng.gatsby.txt # In case value of PACKAGES is empty. No RK Loader for TARGET_DEVICE rk3288 to otapackage package add resource.img to BOOT and RECOVERY No uboot for uboot/uboot.img to otapackage No trust for uboot/trust.img to otapackage No charge for uboot/charge.img to otapackage No parameter for TARGET_DEVICE rk3288 to otapackage Package target files: out/target/product/rk3288/obj/PACKAGING/target_files_intermediates/rk3288-target_files-eng.gatsby.zip building image from target_files RECOVERY... Traceback (most recent call last): File "./build/tools/releasetools/make_recovery_patch", line 68, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/make_recovery_patch", line 39, in main input_dir, "RECOVERY") File "/home/gatsby/workspace/ZK_R32X_RK3288_ANDROID5.1/ZK_R32X_RK3288_ANDROID5.1/build/tools/releasetools/common.py", line 419, in GetBootableImage info_dict) File "/home/gatsby/workspace/ZK_R32X_RK3288_ANDROID5.1/ZK_R32X_RK3288_ANDROID5.1/build/tools/releasetools/common.py", line 376, in BuildBootableImage p4 = Run(sign_cmd) File "/home/gatsby/workspace/ZK_R32X_RK3288_ANDROID5.1/ZK_R32X_RK3288_ANDROID5.1/build/tools/releasetools/common.py", line 86, in Run return subprocess.Popen(args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory build/core/Makefile:1474: recipe for target 'out/target/product/rk3288/obj/PACKAGING/target_files_intermediates/rk3288-target_files-eng.gatsby.zip' failed make: *** [out/target/product/rk3288/obj/PACKAGING/target_files_intermediates/rk3288-target_files-eng.gatsby.zip] Error 1 #### make failed to build some targets (02:26 (mm:ss)) ####
2.1. OSError: [Errno 2] No such file or directory
2.2. 缺个文件 drmsigntool 淦淦淦 cd build/tools/drmsigntool/ mm -B 后面就可以生成zip包了