EC25 QFlash » History » Version 3
laforge, 09/02/2017 08:29 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> |
||
94 | 3 | laforge | |
95 | h2. Console output during upgrade |
||
96 | |||
97 | Very early during the upgrade the modem is rebooted and prints |
||
98 | |||
99 | <pre> |
||
100 | Format: Log Type - Time(microsec) - Message - Optional Info |
||
101 | Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic |
||
102 | S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2-00055 |
||
103 | S - IMAGE_VARIANT_STRING=LAATANAZA |
||
104 | S - OEM_IMAGE_VERSION_STRING=Ivan-PC |
||
105 | S - Boot Config, 0x000002e1 |
||
106 | B - 1216 - PBL, Start |
||
107 | B - 3723 - bootable_media_detect_entry, Start |
||
108 | B - 4392 - bootable_media_detect_success, Start |
||
109 | B - 4396 - elf_loader_entry, Start |
||
110 | B - 7848 - auth_hash_seg_entry, Start |
||
111 | B - 8070 - auth_hash_seg_exit, Start |
||
112 | B - 50656 - elf_segs_hash_verify_entry, Start |
||
113 | B - 90410 - PBL, End |
||
114 | B - 98850 - SBL1, Start |
||
115 | B - 156587 - pm_device_init, Start |
||
116 | B - 176778 - PM_SET_VAL:Skip |
||
117 | D - 18239 - pm_device_init, Delta |
||
118 | B - 177784 - boot_config_data_table_init, Start |
||
119 | D - 174948 - boot_config_data_table_init, Delta - (420 Bytes) |
||
120 | B - 356240 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0 |
||
121 | B - 362675 - sbl1_ddr_set_params, Start |
||
122 | B - 366152 - cpr_init, Start |
||
123 | D - 0 - cpr_init, Delta |
||
124 | B - 371795 - Pre_DDR_clock_init, Start |
||
125 | D - 213 - Pre_DDR_clock_init, Delta |
||
126 | D - 0 - sbl1_ddr_set_params, Delta |
||
127 | B - 384513 - pm_driver_init, Start |
||
128 | D - 4605 - pm_driver_init, Delta |
||
129 | B - 397049 - sbl1_qhsusb_al_do_fast_enum, Start |
||
130 | D - 30 - sbl1_qhsusb_al_do_fast_enum, Delta |
||
131 | B - 400007 - clock_init, Start |
||
132 | D - 152 - clock_init, Delta |
||
133 | B - 405802 - boot_flash_init, Start |
||
134 | D - 37179 - boot_flash_init, Delta |
||
135 | B - 4729574 - Sahara: Hello pkt sent |
||
136 | B - 4729726 - Sahara: Hello pkt sent |
||
137 | B - 4730214 - Sahara: Hello pkt sent |
||
138 | B - 4733783 - Sahara: Hello pkt sent |
||
139 | B - 4737229 - Sahara: Hello pkt sent |
||
140 | B - 4740706 - Sahara: Hello pkt sent |
||
141 | B - 4744153 - Sahara: Hello pkt sent |
||
142 | B - 7734800 - Sahara: Hello pkt sent |
||
143 | </pre> |