Photonicat 刷Modem模块固件: Difference between revisions

From Photonicat Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
  cd RM500U-update
  cd RM500U-update
  ./update.sh
  ./update.sh
====样例====
<pre>
root@photonicat-openwrt:~# cd /tmp/
root@photonicat-openwrt:/tmp# wget https://dl.photonicat.com/firmware/RM500U-update.tar.gz
--2023-02-15 12:34:32--  https://dl.photonicat.com/firmware/RM500U-update.tar.gz
Resolving dl.photonicat.com... 217.76.52.184, 2a02:c206:2118:1178::1
Connecting to dl.photonicat.com|217.76.52.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62502798 (60M) [application/gzip]
Saving to: 'RM500U-update.tar.gz'
RM500U-update.tar.gz          100%[==================================================>]  59.61M  13.5MB/s    in 9.1s   
2023-02-15 12:34:45 (6.57 MB/s) - 'RM500U-update.tar.gz' saved [62502798/62502798]
root@photonicat-openwrt:/tmp# tar -xzf RM500U-update.tar.gz
root@photonicat-openwrt:/tmp# cd RM500U-update
root@photonicat-openwrt:/tmp/RM500U-update# ./update.sh
Terminating programs using the Modem...
Firmware update started.
[000:000] Version: QDloader_Linux_Android_V1.0.0
[000:000] scan quectel modem
/sys/bus/usb/devices/7-1 2c7c/900/404
open(/dev/bus/usb/007/003) = 4
[000:004] AT > AT+QDownLOAD=1
[000:007] AT < Quectel
[000:007] AT < RM500U-CN
[000:007] AT < Revision: RM500UCNAAR01A18M2G
[000:007] AT < OK
[000:011] AT < +EGMR: "MPQ22KJ060018670P"
[000:011] AT < OK
[000:014] AT < +EGMR: "868227050984830"
[000:014] AT < OK
[000:017] AT < OK
bluk in = -1, errno: 71 (Protocol error)
[001:189] scan quectel modem
/sys/bus/usb/devices/7-1 1782/4d00/2430
open(/dev/bus/usb/007/004) = 4
[004:621] Version: BP_R1.0.0
[004:621] ProductName: udx710-module
[004:621] ProductVersion:
[004:621] szPrdAlias: udx710-module
[004:626]      > BSL_CMD_CHECK_BAUD
[004:626]      < BSL_REP_VER
[004:626]      > BSL_CMD_CONNECT
[004:627] Flash    FDL
[004:627]      > BSL_CMD_START_DATA
[004:645]      > BSL_CMD_END_DATA
[004:646]      > BSL_CMD_EXEC_DATA
[004:646]      > BSL_CMD_CHECK_BAUD
[004:646]      < BSL_REP_VER
[004:646]      > BSL_CMD_CONNECT
[004:646] Flash    FDL2
[004:646]      > BSL_CMD_START_DATA
[004:693]      > BSL_CMD_END_DATA
[004:693]      > BSL_CMD_EXEC_DATA
[004:835]      < BSL_REP_INCOMPATIBLE_PARTITION
[004:835]      > BSL_CMD_DISABLE_TRANSCODE
[004:836] Backup  NV_NR -> '/tmp/quectel_back_NV_NR'
[004:836]      > BSL_CMD_START_READ
{PSCP, 58, 4100520}
{NRCP, 3e9200, 2048}
{V3PHY, 3e9a00, 2048}
[012:609]      > BSL_CMD_END_READ
[012:609]      > BSL_CMD_REPARTITION
[012:866] Flash    NV_NR
[012:929]      > BSL_CMD_START_DATA
[014:250]      > BSL_CMD_END_DATA
[016:493] Erase    EraseSPL
[016:493]      > BSL_CMD_ERASE_FLASH
[016:510] skip download FileID: ProdNV
[016:510] skip download FileID: PhaseCheck
[016:510] Erase    project
[016:510]      > BSL_CMD_ERASE_FLASH
[016:524]      < BSL_REP_INCOMPATIBLE_PARTITION
[016:524] Erase    EraseUBOOT
[016:524]      > BSL_CMD_ERASE_FLASH
[016:591] Flash    SML
[016:591]      > BSL_CMD_START_DATA
[016:662]      > BSL_CMD_END_DATA
[016:769] Flash    UBOOTLoader
[016:769]      > BSL_CMD_START_DATA
[016:888]      > BSL_CMD_END_DATA
[017:252] Flash    BOOT
[017:252]      > BSL_CMD_START_DATA
[017:817]      > BSL_CMD_END_DATA
[021:549] Flash    Modem_NR_PMSYS
[021:549]      > BSL_CMD_START_DATA
[021:625]      > BSL_CMD_END_DATA
[021:625] Flash    Modem_NR_AGDSP
[021:625]      > BSL_CMD_START_DATA
[021:889]      > BSL_CMD_END_DATA
[023:381] Erase    FLASH_NR
[023:381]      > BSL_CMD_ERASE_FLASH
[023:764] Flash    Modem_NR
[023:765]      > BSL_CMD_START_DATA
[024:788]      > BSL_CMD_END_DATA
[031:084] Flash    Modem_NR_V3PHY
[031:084]      > BSL_CMD_START_DATA
[031:279]      > BSL_CMD_END_DATA
[032:450] Flash    Modem_NR_PHY
[032:450]      > BSL_CMD_START_DATA
[032:519]      > BSL_CMD_END_DATA
[032:959] Flash    Modem_NR_DSP1
[032:959]      > BSL_CMD_START_DATA
[033:000]      > BSL_CMD_END_DATA
[033:221] Flash    Modem_NR_DSP2
[033:221]      > BSL_CMD_START_DATA
[033:266]      > BSL_CMD_END_DATA
[033:535] Flash    Modem_NR_DELTANV
[033:535]      > BSL_CMD_START_DATA
[033:602]      > BSL_CMD_END_DATA
[033:602] Flash    Recovery
[033:602]      > BSL_CMD_START_DATA
[034:202]      > BSL_CMD_END_DATA
[037:697] Flash    Recoveryfs
[037:697]      > BSL_CMD_START_DATA
[039:396]      > BSL_CMD_END_DATA
[039:396] Flash    System
[039:396]      > BSL_CMD_START_DATA
[048:247]      > BSL_CMD_END_DATA
[048:247] Erase    Data
[048:247]      > BSL_CMD_ERASE_FLASH
[048:319] Flash    UserData
[048:319]      > BSL_CMD_START_DATA
[048:666]      > BSL_CMD_END_DATA
[048:666] Erase    EraseMisc
[048:666]      > BSL_CMD_ERASE_FLASH
[048:741] Flash    SPLLoader
[048:741]      > BSL_CMD_START_DATA
[048:761]      > BSL_CMD_END_DATA
[048:893]      > BSL_CMD_NORMAL_RESET
[048:903] Upgrade module successfully
Firmware updated OK, reboot...
</pre>


==注意注意==
==注意注意==
'''!!!目前仅限官方版本,用户自行购买的模块,由于模块渠道和硬件版本可能变砖,我们不负任何责任,请谨慎操作!!!'''
'''!!!目前仅限官方版本,用户自行购买的模块,由于模块渠道和硬件版本可能变砖,我们不负任何责任,请谨慎操作!!!'''

Latest revision as of 12:37, 15 February 2023

Modem 固件更新 Firmware Update

刷固件时,请保持电量充足>50%,并插入充电器。用Linux 终端方式或网页TTYD进行一下操作.
Please DON'T POWER OFF the device during the firmware updating! And make sure your device has plugged-in and has enough battery (above 50%). Use linux terminal(TTYD) to finish

4G 模块:Quectel EM05

cd /tmp
wget https://dl.photonicat.com/firmware/Quectel-EM05-update.tar.gz
tar -xzf Quectel-EM05-update.tar.gz
cd Quectel-EM05-update
./update.sh


5G 模块:Quectel RM500U

cd /tmp
wget https://dl.photonicat.com/firmware/RM500U-update.tar.gz
tar -xzf RM500U-update.tar.gz
cd RM500U-update
./update.sh

样例

root@photonicat-openwrt:~# cd /tmp/
root@photonicat-openwrt:/tmp# wget https://dl.photonicat.com/firmware/RM500U-update.tar.gz
--2023-02-15 12:34:32--  https://dl.photonicat.com/firmware/RM500U-update.tar.gz
Resolving dl.photonicat.com... 217.76.52.184, 2a02:c206:2118:1178::1
Connecting to dl.photonicat.com|217.76.52.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62502798 (60M) [application/gzip]
Saving to: 'RM500U-update.tar.gz'

RM500U-update.tar.gz           100%[==================================================>]  59.61M  13.5MB/s    in 9.1s    

2023-02-15 12:34:45 (6.57 MB/s) - 'RM500U-update.tar.gz' saved [62502798/62502798]

root@photonicat-openwrt:/tmp# tar -xzf RM500U-update.tar.gz
root@photonicat-openwrt:/tmp# cd RM500U-update
root@photonicat-openwrt:/tmp/RM500U-update# ./update.sh
Terminating programs using the Modem...
Firmware update started.
[000:000] Version: QDloader_Linux_Android_V1.0.0
[000:000] scan quectel modem
/sys/bus/usb/devices/7-1 2c7c/900/404
open(/dev/bus/usb/007/003) = 4
[000:004] AT > AT+QDownLOAD=1
[000:007] AT < Quectel
[000:007] AT < RM500U-CN
[000:007] AT < Revision: RM500UCNAAR01A18M2G
[000:007] AT < OK
[000:011] AT < +EGMR: "MPQ22KJ060018670P"
[000:011] AT < OK
[000:014] AT < +EGMR: "868227050984830"
[000:014] AT < OK
[000:017] AT < OK
bluk in = -1, errno: 71 (Protocol error)
[001:189] scan quectel modem
/sys/bus/usb/devices/7-1 1782/4d00/2430
open(/dev/bus/usb/007/004) = 4
[004:621] Version: BP_R1.0.0
[004:621] ProductName: udx710-module
[004:621] ProductVersion: 
[004:621] szPrdAlias: udx710-module
[004:626]       > BSL_CMD_CHECK_BAUD
[004:626]       < BSL_REP_VER
[004:626]       > BSL_CMD_CONNECT
[004:627] Flash    FDL
[004:627]       > BSL_CMD_START_DATA
[004:645]       > BSL_CMD_END_DATA
[004:646]       > BSL_CMD_EXEC_DATA
[004:646]       > BSL_CMD_CHECK_BAUD
[004:646]       < BSL_REP_VER
[004:646]       > BSL_CMD_CONNECT
[004:646] Flash    FDL2
[004:646]       > BSL_CMD_START_DATA
[004:693]       > BSL_CMD_END_DATA
[004:693]       > BSL_CMD_EXEC_DATA
[004:835]       < BSL_REP_INCOMPATIBLE_PARTITION
[004:835]       > BSL_CMD_DISABLE_TRANSCODE
[004:836] Backup   NV_NR -> '/tmp/quectel_back_NV_NR'
[004:836]       > BSL_CMD_START_READ
{PSCP, 58, 4100520}
{NRCP, 3e9200, 2048}
{V3PHY, 3e9a00, 2048}
[012:609]       > BSL_CMD_END_READ
[012:609]       > BSL_CMD_REPARTITION
[012:866] Flash    NV_NR
[012:929]       > BSL_CMD_START_DATA
[014:250]       > BSL_CMD_END_DATA
[016:493] Erase    EraseSPL
[016:493]       > BSL_CMD_ERASE_FLASH
[016:510] skip download FileID: ProdNV
[016:510] skip download FileID: PhaseCheck
[016:510] Erase    project
[016:510]       > BSL_CMD_ERASE_FLASH
[016:524]       < BSL_REP_INCOMPATIBLE_PARTITION
[016:524] Erase    EraseUBOOT
[016:524]       > BSL_CMD_ERASE_FLASH
[016:591] Flash    SML
[016:591]       > BSL_CMD_START_DATA
[016:662]       > BSL_CMD_END_DATA
[016:769] Flash    UBOOTLoader
[016:769]       > BSL_CMD_START_DATA
[016:888]       > BSL_CMD_END_DATA
[017:252] Flash    BOOT
[017:252]       > BSL_CMD_START_DATA
[017:817]       > BSL_CMD_END_DATA
[021:549] Flash    Modem_NR_PMSYS
[021:549]       > BSL_CMD_START_DATA
[021:625]       > BSL_CMD_END_DATA
[021:625] Flash    Modem_NR_AGDSP
[021:625]       > BSL_CMD_START_DATA
[021:889]       > BSL_CMD_END_DATA
[023:381] Erase    FLASH_NR
[023:381]       > BSL_CMD_ERASE_FLASH
[023:764] Flash    Modem_NR
[023:765]       > BSL_CMD_START_DATA
[024:788]       > BSL_CMD_END_DATA
[031:084] Flash    Modem_NR_V3PHY
[031:084]       > BSL_CMD_START_DATA
[031:279]       > BSL_CMD_END_DATA
[032:450] Flash    Modem_NR_PHY
[032:450]       > BSL_CMD_START_DATA
[032:519]       > BSL_CMD_END_DATA
[032:959] Flash    Modem_NR_DSP1
[032:959]       > BSL_CMD_START_DATA
[033:000]       > BSL_CMD_END_DATA
[033:221] Flash    Modem_NR_DSP2
[033:221]       > BSL_CMD_START_DATA
[033:266]       > BSL_CMD_END_DATA
[033:535] Flash    Modem_NR_DELTANV
[033:535]       > BSL_CMD_START_DATA
[033:602]       > BSL_CMD_END_DATA
[033:602] Flash    Recovery
[033:602]       > BSL_CMD_START_DATA
[034:202]       > BSL_CMD_END_DATA
[037:697] Flash    Recoveryfs
[037:697]       > BSL_CMD_START_DATA
[039:396]       > BSL_CMD_END_DATA
[039:396] Flash    System
[039:396]       > BSL_CMD_START_DATA
[048:247]       > BSL_CMD_END_DATA
[048:247] Erase    Data
[048:247]       > BSL_CMD_ERASE_FLASH
[048:319] Flash    UserData
[048:319]       > BSL_CMD_START_DATA
[048:666]       > BSL_CMD_END_DATA
[048:666] Erase    EraseMisc
[048:666]       > BSL_CMD_ERASE_FLASH
[048:741] Flash    SPLLoader
[048:741]       > BSL_CMD_START_DATA
[048:761]       > BSL_CMD_END_DATA
[048:893]       > BSL_CMD_NORMAL_RESET
[048:903] Upgrade module successfully
Firmware updated OK, reboot...

注意注意

!!!目前仅限官方版本,用户自行购买的模块,由于模块渠道和硬件版本可能变砖,我们不负任何责任,请谨慎操作!!!