Firefly开源社区

打印 上一主题 下一主题

[Android] ROC-RK3588S-PC OTA升级失败

80

积分

0

威望

0

贡献

技术小白

积分
80

ROC-RK3588S-PC OTA升级失败

发表于 2022-7-12 11:26:47      浏览:5403 | 回复:2        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: firefly_rk3588_android12.0_git_20220311
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: selinux; ota; SecurityBoot
  • Log日志: log.zip
问题描述及复现步骤:
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
复制代码



log.zip

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

log.zip

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

回复

使用道具 举报

80

积分

0

威望

0

贡献

技术小白

积分
80
发表于 2022-7-12 11:35:56        只看该作者  沙发
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
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2022-7-18 08:58:49        只看该作者  板凳
SNSO 发表于 2022-7-12 11:35
OTA修改操作
1. 编译修改
--- a/FFTools/make.sh

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

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表