制作ota包

. build/envsetup.sh

lunch [product]

make -j8

make otapackage -j8

cp out/target/product/projectname/obj/PACKAGING/target_files_intermediates/projectname-target_file-xxxx.zip ota/A.zip

修改代码,已显示版本有更新:

重新走一边

. build/envsetup.sh

lunch [product]

make -j8

make otapackage -j8

cp out/target/product/projectname/obj/PACKAGING/target_files_intermediates/projectname-target_file-xxxx.zip ota/B.zip

然后制作OTA差分包

没有签名的差分包

python build/tools/releasetools/ota_from_target_files.py -i ota/A.zip ota/B.zip ota/update.zip

有签名的差分包

python build/tools/releasetools/ota_from_target_files.py -k device/fsl/common/security/platform -i ota/A.zip ota/B.zip ota/update.zip

有签名的差分包且打印执行输出记录

python build/tools/releasetools/ota_from_target_files.py -k device/fsl/common/security/platform -v -i ota/A.zip ota/B.zip ota/update.zip

相关文章:

  • 2021-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-09-13
  • 2022-02-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2021-10-12
  • 2021-12-05
  • 2021-12-03
相关资源
相似解决方案