Bug #116476

【BSP】【EVT3】【ST】【MCU】OTA前后如果MCU版本不一样的话,会有两次重启的动作。

Added by 移动测试一组_CDTS 刘强 over 2 years ago. Updated about 2 years ago.

Status:CLOSEDStart date:2023-02-23
Priority:NormalDue date:
Assignee:移动测试一组_CDTS 刘强% Done:

0%

Category:CD-FW
Target version:VC1_FSE_0090_20230411
Need_Info:-- Found Version:0075
Resolution:FIXED Degrated:--
Severity:Normal Verified Version:
Reproducibility:Every time Fixed Version:
Test Type:ST Root cause:MPU和MCU升级是分两次完成的,MPU升级完成后会进行重启,然后再检查是否MCU有新版本,如果有会进行MCU升级,升级完再次重启。所以给用户的体验是两次重启。

Description

【前提条件】
None

【测试步骤】
1. Qfile烧写MCU不同版本的SW
2. 烧写完成后开机

【预期结果】
2 设备开机,MCU升级,升级过程中有对应界面提示

【实际结果】
2 MCU默认后台升级,升级完成后自动重启

History

#1 Updated by 移动测试一组_CDTS 刘强 over 2 years ago

  • Subject changed from 【BSP】【EVT3】【ST】【MCU】MCU升级过程中有对应提示,直到升级结束 to 【BSP】【EVT3】【ST】【MCU】MCU升级过程中没有对应提示,直到升级结束

#2 Updated by CD TPM-王祥林 over 2 years ago

  • Target version set to VC1_FSE_0078_20230228

#3 Updated by IoT scm over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
184067 general/platform/vendor/thundercomm/apps/TCService Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MCU-OTA:Add tips for MCU OTA and shutdown device after MCU OTA.
1.If reboot MPU after MCU OTA done, MPU may be suddenly
powered off during boot phase. So shutdown MPU to avoid this issue.
2.Add tips for MCU OTA.
3.Add or delete strings.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: I33bed09661278ba3f749b3234859a8c79289b231

#4 Updated by CD TPM-王祥林 over 2 years ago

  • Status changed from New to RESOLVED
  • Assignee changed from CD TPM-王祥林 to 移动测试一组_CDTS 刘强
  • Resolution changed from -- to FIXED
  • Root cause set to MCU升级过程中没有提示,突然重启用户体验不好。添加升级提示。

#5 Updated by 移动测试一组_CDTS 刘强 over 2 years ago

  • Assignee changed from 移动测试一组_CDTS 刘强 to CD TPM-王祥林

验证版本:FlatBuild_HH_MCE_FSE.M.D.user.01.00.C101.202302250116
验证结果:OK
由于目前开机动画30s,因此MCU升级时在播放开机动画,看不到MCU的提示,开机动画完成后能看到一个设备关机toast

正常情况下MCU升级时出现:正在升级固件,请勿进行重启、关机、断电等操作,10s后升级完成会自动重启设备。
升级完成后:出现设备重启关机

需要确认是否要把开机动画替换掉

#6 Updated by CD TPM-王祥林 over 2 years ago

  • Status changed from RESOLVED to ASSIGNED

做一个删除开机动画的提交,准备编译VB来验证。
https://dev.thundercomm.com/gerrit/c/general/device/thundercomm/TCDEV/+/183347

#7 Updated by CD TPM-王祥林 over 2 years ago

  • Target version changed from VC1_FSE_0078_20230228 to VC1_FSE_0086_20230328

#8 Updated by CD TPM-王祥林 over 2 years ago

根据客户要求,MPU升级和MCU升级只能进行一次重启,所以需要修改实现逻辑。方案已出需要等客户确认。

#9 Updated by IoT scm over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
188354 general/platform/build Pre_figure_turbox-c2130c-la1.1-qssi12-dev
BSP:OTA: Add MCU update images to MPU update package.
Add MCU update images to MPU update package.
TC-RID: 1201-0100805
IssueID: TS-R-DF-116476
Change-Id: Ibb57fb3e524091a54bb2fa24818bebdd76196cc8

#10 Updated by CD TPM-王祥林 over 2 years ago

  • Target version changed from VC1_FSE_0086_20230328 to VC1_FSE_0090_20230411

#11 Updated by IoT scm about 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
192037 general/platform/vendor/thundercomm/apps/TestTools Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MCU-OTA:Upgrade MCU with MPU OTA before reboot.
If MPU OTA done, then upgrade MCU before reboot.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: If153e69093669f891f61b9c97954e29c7f19683d

#12 Updated by IoT scm about 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
189643 general/platform/vendor/thundercomm/apps/FOTA Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:OTA:Change group and add read/write permission of update.zip.
Change group and add read/write permission of update.zip for unzip mcu files.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: I9068e143f3a305234d5129c163827632dd2efd84

#13 Updated by IoT scm about 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
188480 general/platform/system/core Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:OTA:Change group of data/ota folder.
Change root group to system group.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: I158e969ff7567ef28dd7dbb543488f1d0af4bf23

#14 Updated by IoT scm about 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
187285 general/platform/vendor/thundercomm/apps/TCService Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:MCU-OTA:Upgrade MCU with MPU OTA before reboot.
If MPU OTA done, then upgrade MCU before reboot.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: I689e2738f1e07c317cf23af705971a4b4bc79c7f

#15 Updated by IoT scm about 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
187261 general/device/thundercomm/TCDEV Pre_figure_turbox-c2130c-la1.1-qssi12-dev
AF:OTA:Add sepolicy for HHT OTA, TcService and TestTools.
TC-RID: 1201-0200401
IssueID: TS-R-BUG-116476
Change-Id: I4fd6075120cd25a665b2ae1920fa7b6448e1cfee

#16 Updated by CD TPM-王祥林 about 2 years ago

  • Subject changed from 【BSP】【EVT3】【ST】【MCU】MCU升级过程中没有对应提示,直到升级结束 to 【BSP】【EVT3】【ST】【MCU】OTA前后如果MCU版本不一样的话,会有两次重启的动作。
  • Status changed from ASSIGNED to RESOLVED
  • Root cause changed from MCU升级过程中没有提示,突然重启用户体验不好。添加升级提示。 to MPU和MCU升级是分两次完成的,MPU升级完成后会进行重启,然后再检查是否MCU有新版本,如果有会进行MCU升级,升级完再次重启。所以给用户的体验是两次重启。

#17 Updated by CD TPM-王祥林 about 2 years ago

  • Assignee changed from CD TPM-王祥林 to 移动测试一组_CDTS 刘强

刘强

代码今天已入库。请在base版本为明天或者明天之后的版本上进行验证。需要升级前和升级后的MCU版本不一样才能验证有没有两次重启的现象。

#18 Updated by 移动测试一组_CDTS 刘强 about 2 years ago

0090已经入库,但是需要MCU升级的未来版本进行验证
因此等下一个release且MCU有更新的版本进行验证

#19 Updated by SZTS_TEST 邹涛 about 2 years ago

0090通过OTA方式升级到0094,验证20次未复现到重启两次现象。问题已修复,请研发修改bug状态关闭

#20 Updated by 移动测试一组_CDTS 刘强 about 2 years ago

  • Status changed from RESOLVED to VERIFIED

#21 Updated by 移动测试一组_CDTS 刘强 about 2 years ago

  • Status changed from VERIFIED to CLOSED

Also available in: Atom PDF