928526287 发表于 2018-8-23 11:28:03

Qcc300x系列做OTA升级,能否只升级代码呢?

本帖最后由 928526287 于 2018-8-23 13:50 编辑

现在做了个3007的OTA空中升级,我现在生成的bin文件是把代码、外部语音、PSkey值都升级的,能否只升级代码呢?
附上我的分区配置:
device_variant QC3007
# Set the upgrade version and previous version(s)
# that are compatible to upgrade from. The minor
# version can be '*' to act as a wildcard.
upgrade_version 2.1
compatible_upgrade 1.*
compatible_upgrade 2.*
# Set the ps config version and previous version(s)
# that are compatible to upgrade from (hex values)
ps_config_version 2
ps_prev_config_version 0
ps_prev_config_version 1
# Filesystem containing audio prompts
1 3 audio_prompts.xuv
# Filesystem containing application and related data
2 0 qcc3007.xuv
# Filesystem containing application and related data
3 2 psfskeys.xuv

928526287 发表于 2018-8-23 11:29:05

这个分区是将软件全部更新一遍的,能否只更新代码部分呢?需要怎么改?

928526287 发表于 2018-8-23 11:35:33

顶一下,有大神在吗?

928526287 发表于 2018-8-23 13:52:28

我把1 3 audio_prompts.xuv 和 3 2 psfskeys.xuv屏蔽掉后,升级可以成功,但是这两个值变成了公版软件的配置

深邃的蓝牙 发表于 2018-8-23 14:22:53

MARK 学习一下

leige1v9 发表于 2018-8-23 19:50:00

我试了试,不会变回去啊

928526287 发表于 2018-8-24 09:10:49

leige1v9 发表于 2018-8-23 19:50
我试了试,不会变回去啊

屏蔽掉然后直接生成bin文件吗?怎么操作的?我这边生成后,升级成功,但是语音和配置就变成公版软件的了

leige1v9 发表于 2018-8-24 09:19:03

928526287 发表于 2018-8-24 09:10
屏蔽掉然后直接生成bin文件吗?怎么操作的?我这边生成后,升级成功,但是语音和配置就变成公版软件的了

device_variant QC3007
# Set the upgrade version and previous version(s)
# that are compatible to upgrade from. The minor
# version can be '*' to act as a wildcard.
upgrade_version 1.0
compatible_upgrade 1.*

# Set the ps config version and previous version(s)
# that are compatible to upgrade from (hex values)
ps_config_version 2
ps_prev_config_version 0
ps_prev_config_version 1
ps_prev_config_version 2

# Filesystem containing application and related data
2 0 qcc3006.xuv

UPG就这样

CD /D D:\ADK_QCC300x.WIN1.0\tools\bin
PsfsCmd.exe psr2psfs pskey/sys_qcc300x.psa flc702.psr
packfile.exe pskey sink_system_qcc300x.xuv
UpgradeFileGen flc702.upg flc702_upg.xuv
dfusign -v -f -u -h flc702_upg.xuv -o flc702_upg_signed.xuv -ka oem.private.key
xuv2bin -d flc702_upg_signed.xuv flc702_upg_signed.bin
pause

生成bin文件就这样,当然upg里面没指定psr文件23两行就没意义了
然后升级,没什么毛病

wangbobo 发表于 2018-8-24 12:08:02

leige1v9 发表于 2018-8-24 09:19
device_variant QC3007
# Set the upgrade version and previous version(s)
# that are compatible to ...

第2 3行把PS配置合并到 sink_system_qcc300x.xuv里那个文档里有说明,操作不成功呀

leige1v9 发表于 2018-8-24 14:37:22

本帖最后由 leige1v9 于 2018-8-24 14:39 编辑

wangbobo 发表于 2018-8-24 12:08
第2 3行把PS配置合并到 sink_system_qcc300x.xuv里那个文档里有说明,操作不成功呀
PsfsCmd.exe psr2psfs pskey/sys_qcc300x.psa flc702.psr
packfile.exe pskey sink_system_qcc300x.xuv

没合并,要升级的pskey就写在flc702.psr里面,sink_system_qcc300x只是跟自带的那个文件名一样

路径上有个文件夹pskey,失败是因为没这个文件夹吧


页: [1] 2 3 4
查看完整版本: Qcc300x系列做OTA升级,能否只升级代码呢?