Project

General

Profile

EC25 QFlash » History » Version 2

laforge, 08/30/2017 07:26 PM

1 1 laforge
h1. EC25 QFlash
2
3
EC20v2 / EC21 / EC25 modules use a different firmware update format and utility.
4
5
h2. Successful update:
6
7 2 laforge
<pre>
8
./QFlash -f /tmp/ec25 -m 1 -p ttyUSB5
9 1 laforge
10
The CPU is little endian
11
12
firmware path: /tmp/ec25
13
Module upgrade tool, Wed Aug 30 21:17:31 2017
14
15
/tmp/ec25/update/partition_nand.xml
16
fail to open /tmp/ec25/update//update.qqb
17
update_method = 1
18
Get Hello response packet!
19
Get Hello response packet failed,now change the status!
20
Module Status Detection
21
The module in normal mode
22
Switch to PRG status
23
Get Hello response packet!
24
Command is [0x01],length is [0x30]
25
Send Hello response packet!
26
Start Read Data!
27
Send Hello response packet again!
28
Start Read Data!
29
progress : 100% finished
30
Send Do packet!
31
Module Status Detection
32
The module in go mode
33
Start to download firmware
34
handle_parti_tbl command = 1a, status = 00
35
flash 0:SBL /tmp/ec25/update//sbl1.mbn
36
sending '0:SBL' (195KB)
37
progress : 100% finished
38
OKAY
39
The file download time is 1s : 52ms : 128us
40
flash 0:TZ /tmp/ec25/update//tz.mbn
41
sending '0:TZ' (499KB)
42
progress : 100% finished
43
OKAY
44
The file download time is 0s : 918ms : 943us
45
flash 0:RPM /tmp/ec25/update//rpm.mbn
46
sending '0:RPM' (152KB)
47
progress : 100% finished
48
OKAY
49
The file download time is 1s : 918ms : 943us
50
flash 0:aboot /tmp/ec25/update//appsboot.mbn
51
sending '0:aboot' (252KB)
52
progress : 100% finished
53
OKAY
54
The file download time is 0s : 468ms : 358us
55
flash 0:boot /tmp/ec25/update//mdm9607-perf-boot.img
56
sending '0:boot' (5600KB)
57
progress : 100% finished
58
OKAY
59
The file download time is 11s : 468ms : 358us
60
flash 0:modem /tmp/ec25/update//NON-HLOS.ubi
61
sending '0:modem' (40448KB)
62
progress : 100% finished
63
OKAY
64
The file download time is 1min : 16s : 62ms : 382us
65
flash 0:recovery /tmp/ec25/update//mdm9607-perf-boot.img
66
sending '0:recovery' (5600KB)
67
progress : 100% finished
68
OKAY
69
The file download time is 10s : 481ms : 385us
70
flash 0:recoveryfs /tmp/ec25/update//mdm-perf-recovery-image-mdm9607-perf.ubi
71
sending '0:recoveryfs' (10496KB)
72
progress : 100% finished
73
OKAY
74
The file download time is 20s : 481ms : 385us
75
flash 0:sys_back /tmp/ec25/update//mdm9607-perf-sysfs.ubi
76
sending '0:sys_back' (45312KB)
77
progress : 100% finishedhed
78
OKAY
79
The file download time is 1min : 23s : 467ms : 151us
80
flash 0:system /tmp/ec25/update//mdm9607-perf-sysfs.ubi
81
sending '0:system' (45312KB)
82
progress : 100% finished
83
OKAY
84
The file download time is 1min : 27s : 467ms : 151us
85
the device restart...
86
 
87
Wlecome to use the Quectel module!!!
88
89
Upgrade module successfully, Wed Aug 30 21:23:20 2017
90
91
 THE TOTAL DOWNLOAD TIME IS 5min : 49s : 70ms :  989us
92
93
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)