Firefly开源社区

标题: ROC-RK3588S-PC OTA升级失败 [打印本页]

作者: SNSO    时间: 2022-7-12 11:26
标题: ROC-RK3588S-PC OTA升级失败
OTA升级失败的log
  1. Installing update...
  2. I:old spl: 2022-04-05 new spl: 2022-04-05 CHECK passes
  3. SELinux: Loaded file_contexts
  4. mmapped 2 ranges
  5. Source: Vizum/rk3588/rk3588:12/SP2A.220405.004/yangjie07112024:userdebug/release-keys
  6. Target: Vizum/rk3588/rk3588:12/SP2A.220405.004/yangjie07112226:userdebug/release-keys
  7. Verifying current system...
  8. Partition contents don't have the expected checksum
  9. Failed to read "/cache/saved.file": No such file or directory
  10. Both of partition contents and backup don't have the expected checksum
  11. script aborted: E3005: "EMMC:/dev/block/by-name/boot:39890944:72c08397343921fac820ece27581aff86a946a9f" or "EMMC:/dev/block/by-name/boot:39890944:f3bd0947327a5236c8459acf9348c16ed0c1b195" has unexpected contents.
  12. E:Error in @/cache/recovery/block.map (status 1)

  13. ensure_path_mounted path=/cache/recovery/uncrypt_status
  14. I:current maximum temperature: 32384
  15. I:@/cache/recovery/block.map
  16. 0
  17. time_total: 1
  18. retry: 0
  19. source_build: eng.yangji.20220711.202550
  20. target_build: eng.yangji.20220711.222644
  21. error: 3005
  22. uncrypt_time: 0
  23. temperature_start: 31461
  24. temperature_end: 32384
  25. temperature_max: 32384

  26. Installation aborted.
  27. I:Saving locale "zh-CN"
  28. ensure_path_mounted path=/cache/recovery/last_locale
  29. ensure_path_mounted path=/cache/recovery/last_log
  30. ensure_path_mounted path=/cache/recovery/last_kmsg
  31. ensure_path_mounted path=/cache/recovery/log
  32. ensure_path_mounted path=/cache/recovery/last_log
  33. ensure_path_mounted path=/cache/recovery/last_install
  34. ensure_path_mounted path=/cache/recovery/command
复制代码



tchip_askquestions

log.zip

68.09 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

log.zip

68.09 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1


作者: SNSO    时间: 2022-7-12 11:35
OTA修改操作
1. 编译修改
--- a/FFTools/make.sh
+++ b/FFTools/make.sh
-./make.sh $UBOOT_DEFCONFIG --spl-new
+./make.sh $UBOOT_DEFCONFIG --spl-new  --rollback-index-uboot 1  --burn-key-hash

+#build dist
+echo -n "${color_success}make dist -j$MAKE_THEARD" && echo "${color_reset}"
+make dist -j$MAKE_THEARD

-./mkimage.sh
+echo -n "${color_success}./mkimage.sh ota" && echo "${color_reset}"
+#./mkimage.sh
+./mkimage.sh ota
2. 保存升级包
mv ./out/target/product/roc_rk3588s_pc/obj/PACKAGING/target_files_intermediates/roc_rk3588s_pc-target_files-eng.*.zip version.zip
3. 制作升级包
./out/host/linux-x86/bin/ota_from_target_files --block -v  -i old_version.zip -p out/host/linux-x86 new_version.zip update.zip
作者: jpchen    时间: 2022-7-18 08:58
SNSO 发表于 2022-7-12 11:35
OTA修改操作
1. 编译修改
--- a/FFTools/make.sh

可以参考如下文章
https://wenku.baidu.com/view/3a6 ... 1fb7360b4c2b1d.html




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1