forked from true-systems/ubnt-openwrt-flashing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flash-sysupgrade.log
349 lines (347 loc) · 12.5 KB
/
flash-sysupgrade.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
Verifying /sbin/ubntbox checksum...
Trying to unlock flash...
Found mtd block: /dev/mtd0(u-boot)
Found mtd block: /dev/mtd1(u-boot-env)
Found mtd block: /dev/mtd2(kernel)
Found mtd block: /dev/mtd3(rootfs)
Found mtd block: /dev/mtd4(cfg)
Found mtd block: /dev/mtd5(EEPROM)
Got U-Boot variable: mtdparts = mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
Adding U-Boot partition: u-boot 9F000000 00040000
Adding U-Boot partition: u-boot-env 9F040000 00010000
Adding U-Boot partition: kernel 9F050000 00100000
Adding U-Boot partition: rootfs 9F150000 00660000
Adding U-Boot partition: cfg 9F7B0000 00040000
Adding U-Boot partition: EEPROM 9F7F0000 00010000
Calculating flash size:
Adding block: /dev/mtd0("u-boot") - size: 00040000
Adding block: /dev/mtd1("u-boot-env") - size: 00010000
Adding block: /dev/mtd2("kernel") - size: 00100000
Adding block: /dev/mtd3("rootfs") - size: 00660000
Adding block: /dev/mtd4("cfg") - size: 00040000
Adding block: /dev/mtd5("EEPROM") - size: 00010000
Total flash size: 00800000
Flash start: 9F000000
Flash end: 9F800000
Header MAGIC 'UBNT'
Current: XW.ar934x.v6.1.7.32555.180523.1754
New ver: XW.ar934x.v6.1.7.32555.180523.1754
Versions: New(393479) 6.1.7, Required(393220) 6.0.4
FW Part: "u-boot"(1), MAGIC: 'PART', Base: 0x9F000000, DLen: 0x0003A408, PLen: 0x00040000
FW Part: "kernel"(2), MAGIC: 'PART', Base: 0x9F050000, DLen: 0x000E9BB2, PLen: 0x00100000
FW Part: "rootfs"(3), MAGIC: 'PART', Base: 0x9F150000, DLen: 0x00600000, PLen: 0x00660000
FW Part: "script"(4), MAGIC: 'EXEC', Base: 0x00000000, DLen: 0x0000A9EE, PLen: 0x0000A9EE
FW Part: "signtr"(5), MAGIC: 'EXEC', Base: 0x00000000, DLen: 0x00000121, PLen: 0x00000121
Signature partition found
Signature verified
Signature MAGIC 'END.'
FW Part: "u-boot"(1), MAGIC: 'PART', Base: 0x9F000000, DLen: 0x0003A408, PLen: 0x00040000
Skipping 'u-boot' FW part.
FW Part: "kernel"(2), MAGIC: 'PART', Base: 0x9F050000, DLen: 0x000E9BB2, PLen: 0x00100000
FW Part: "rootfs"(3), MAGIC: 'PART', Base: 0x9F150000, DLen: 0x00600000, PLen: 0x00660000
FW Part: "script"(4), MAGIC: 'EXEC', Base: 0x00000000, DLen: 0x0000A9EE, PLen: 0x0000A9EE
Extract Script: 'tar -xz -C /tmp'
Pre-Check Script '/tmp/bin/precheck' success.
FW Part: "signtr"(5), MAGIC: 'EXEC', Base: 0x00000000, DLen: 0x00000121, PLen: 0x00000121
Signature partition found
Adding adjusted FW partition:
name: 'kernel'
flash_base: 0x9F050000
mem_base: 0x80002000
size: 0x00100000
entry_point: 0x80002000
data_len: 0x000E9BB2
desc_cksum: 0x00000000
file_cksum: 0x00000000
===========================
Adding adjusted FW partition:
name: 'rootfs'
flash_base: 0x9F150000
mem_base: 0xBDBDBDBD
size: 0x00660000
entry_point: 0xBDBDBDBD
data_len: 0x00600000
desc_cksum: 0x00000000
file_cksum: 0x00000000
===========================
Signature MAGIC 'END.'
Working(1) with block: /dev/mtd0
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F000000 + blk->size: 40000
Copying FIS partition: 0 =>
name: 'u-boot'
flash_base: 0x9F000000
mem_base: 0xBDBDBDBD
size: 0x00040000
entry_point: 0xBDBDBDBD
data_len: 0x00040000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
Working(1) with block: /dev/mtd1
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F040000 + blk->size: 10000
Copying FIS partition: 1 =>
name: 'u-boot-env'
flash_base: 0x9F040000
mem_base: 0xBDBDBDBD
size: 0x00010000
entry_point: 0xBDBDBDBD
data_len: 0x00010000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
Working(1) with block: /dev/mtd2
Working(2) with block: /dev/mtd2
End check: 9F050000 + 00100000 <= 9F150000
Creating FIS partition: 2 =>
name: 'kernel'
flash_base: 0x9F050000
mem_base: 0x80002000
size: 0x00100000
entry_point: 0x80002000
data_len: 0x000E9BB2
desc_cksum: 0x00000000
file_cksum: 0x00000000
===========================
Working(1) with block: /dev/mtd2
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F150000 < blk->base: 9F050000 + blk->size: 100000
Working(1) with block: /dev/mtd3
Working(2) with block: /dev/mtd3
End check: 9F150000 + 00660000 <= 9F7B0000
Creating FIS partition: 3 =>
name: 'rootfs'
flash_base: 0x9F150000
mem_base: 0xBDBDBDBD
size: 0x00660000
entry_point: 0xBDBDBDBD
data_len: 0x00600000
desc_cksum: 0x00000000
file_cksum: 0x00000000
===========================
Working(3) with block: /dev/mtd4
Copying FIS partition: 4 <=
name: 'cfg'
flash_base: 0x9F7B0000
mem_base: 0xBDBDBDBD
size: 0x00040000
entry_point: 0xBDBDBDBD
data_len: 0x00040000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
Working(3) with block: /dev/mtd5
Copying FIS partition: 5 <=
name: 'EEPROM'
flash_base: 0x9F7F0000
mem_base: 0xBDBDBDBD
size: 0x00010000
entry_point: 0xBDBDBDBD
data_len: 0x00010000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
New FIS entries count 6
Executing: '/bin/updatefix.sh 393479 393479'
Current ver: 393479
New version: 393479
No need to fix.
'/bin/updatefix.sh 393479 393479' result: 0
Exec Script: '/tmp/bin/preflash'
Working(1) with block: /dev/mtd0
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F000000 + blk->size: 40000
Copying FIS partition: 0 =>
name: 'u-boot'
flash_base: 0x9F000000
mem_base: 0xBDBDBDBD
size: 0x00040000
entry_point: 0xBDBDBDBD
data_len: 0x00040000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
Working(1) with block: /dev/mtd1
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F040000 + blk->size: 10000
Copying FIS partition: 1 =>
name: 'u-boot-env'
flash_base: 0x9F040000
mem_base: 0xBDBDBDBD
size: 0x00010000
entry_point: 0xBDBDBDBD
data_len: 0x00010000
desc_cksum: 0xBDBDBDBD
file_cksum: 0xBDBDBDBD
===========================
Working(1) with block: /dev/mtd2
Working(2) with block: /dev/mtd2
Unlocking /dev/mtd2(kernel) ...
Unlocking device failed: ioctl(MEMUNLOCK): Operation not supported
Writing 'kernel ' to /dev/mtd2(kernel ) ...
Writing: 0x000E9BB2 bytes with offset 0x00000000
[%0 ]
Block on '/dev/mtd2' at 00000000(len: 00010000) has no changes.
[%6 ]
Block on '/dev/mtd2' at 00010000(len: 00010000) has no changes.
[%13 ]
Block on '/dev/mtd2' at 00020000(len: 00010000) has no changes.
[%20 ]
Block on '/dev/mtd2' at 00030000(len: 00010000) has no changes.
[%27 ]
Block on '/dev/mtd2' at 00040000(len: 00010000) has no changes.
[%34 ]
Block on '/dev/mtd2' at 00050000(len: 00010000) has no changes.
[%41 ]
Block on '/dev/mtd2' at 00060000(len: 00010000) has no changes.
[%47 ]
Block on '/dev/mtd2' at 00070000(len: 00010000) has no changes.
[%54 ]
Block on '/dev/mtd2' at 00080000(len: 00010000) has no changes.
[%61 ]
Block on '/dev/mtd2' at 00090000(len: 00010000) has no changes.
[%68 ]
Block on '/dev/mtd2' at 000A0000(len: 00010000) has no changes.
[%75 ]
Block on '/dev/mtd2' at 000B0000(len: 00010000) has no changes.
[%82 ]
Block on '/dev/mtd2' at 000C0000(len: 00010000) has no changes.
[%88 ]
Block on '/dev/mtd2' at 000D0000(len: 00010000) has no changes.
[%95 ]
Block on '/dev/mtd2' at 000E0000(len: 00009BB2) has no changes.
[%100]
End check: 9F050000 + 00100000 <= 9F150000
Creating FIS partition: 2 =>
name: 'kernel'
flash_base: 0x9F050000
mem_base: 0x80002000
size: 0x00100000
entry_point: 0x80002000
data_len: 0x000E9BB2
desc_cksum: 0x00000000
file_cksum: 0x00000000
===========================
Working(1) with block: /dev/mtd2
Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F150000 < blk->base: 9F050000 + blk->size: 100000
Working(1) with block: /dev/mtd3
Working(2) with block: /dev/mtd3
Unlocking /dev/mtd3(rootfs) ...
Unlocking device failed: ioctl(MEMUNLOCK): Operation not supported
Writing 'rootfs ' to /dev/mtd3(rootfs ) ...
Writing: 0x00600000 bytes with offset 0x00000000
[%0 ]
Block on '/dev/mtd3' at 00000000(len: 00010000) has no changes.
[%1 ]
Block on '/dev/mtd3' at 00010000(len: 00010000) has no changes.
[%2 ]
Block on '/dev/mtd3' at 00020000(len: 00010000) has no changes.
[%3 ]
Block on '/dev/mtd3' at 00030000(len: 00010000) has no changes.
[%4 ]
Block on '/dev/mtd3' at 00040000(len: 00010000) has no changes.
[%5 ]
Block on '/dev/mtd3' at 00050000(len: 00010000) has no changes.
[%6 ]
Block on '/dev/mtd3' at 00060000(len: 00010000) has no changes.
[%7 ]
Block on '/dev/mtd3' at 00070000(len: 00010000) has no changes.
[%8 ]
Block on '/dev/mtd3' at 00080000(len: 00010000) has no changes.
[%9 ]
Block on '/dev/mtd3' at 00090000(len: 00010000) has no changes.
[%10 ]
Block on '/dev/mtd3' at 000A0000(len: 00010000) has no changes.
[%11 ]
Block on '/dev/mtd3' at 000B0000(len: 00010000) has no changes.
[%12 ]
Block on '/dev/mtd3' at 000C0000(len: 00010000) has no changes.
[%13 ]
Block on '/dev/mtd3' at 000D0000(len: 00010000) has no changes.
[%14 ]
Block on '/dev/mtd3' at 000E0000(len: 00010000) has no changes.
[%15 ]
Block on '/dev/mtd3' at 000F0000(len: 00010000) has no changes.
[%16 ]
Block on '/dev/mtd3' at 00100000(len: 00010000) has no changes.
[%17 ]
Block on '/dev/mtd3' at 00110000(len: 00010000) has no changes.
[%18 ]
Block on '/dev/mtd3' at 00120000(len: 00010000) has no changes.
[%19 ]
Block on '/dev/mtd3' at 00130000(len: 00010000) has no changes.
[%20 ]
Block on '/dev/mtd3' at 00140000(len: 00010000) has no changes.
[%21 ]
Block on '/dev/mtd3' at 00150000(len: 00010000) has no changes.
[%22 ]
Block on '/dev/mtd3' at 00160000(len: 00010000) has no changes.
[%23 ]
Block on '/dev/mtd3' at 00170000(len: 00010000) has no changes.
[%25 ]
Block on '/dev/mtd3' at 00180000(len: 00010000) has no changes.
[%26 ]
Block on '/dev/mtd3' at 00190000(len: 00010000) has no changes.
[%27 ]
Block on '/dev/mtd3' at 001A0000(len: 00010000) has no changes.
[%28 ]
Block on '/dev/mtd3' at 001B0000(len: 00010000) has no changes.
[%29 ]
Block on '/dev/mtd3' at 001C0000(len: 00010000) has no changes.
[%30 ]
Block on '/dev/mtd3' at 001D0000(len: 00010000) has no changes.
[%31 ]
Block on '/dev/mtd3' at 001E0000(len: 00010000) has no changes.
[%32 ]
Block on '/dev/mtd3' at 001F0000(len: 00010000) has no changes.
[%33 ]
Block on '/dev/mtd3' at 00200000(len: 00010000) has no changes.
[%34 ]
Block on '/dev/mtd3' at 00210000(len: 00010000) has no changes.
[%35 ]
Block on '/dev/mtd3' at 00220000(len: 00010000) has no changes.
[%36 ]
Block on '/dev/mtd3' at 00230000(len: 00010000) has no changes.
[%37 ]
Block on '/dev/mtd3' at 00240000(len: 00010000) has no changes.
[%38 ]
Block on '/dev/mtd3' at 00250000(len: 00010000) has no changes.
[%39 ]
Block on '/dev/mtd3' at 00260000(len: 00010000) has no changes.
[%40 ]
Block on '/dev/mtd3' at 00270000(len: 00010000) has no changes.
[%41 ]
Block on '/dev/mtd3' at 00280000(len: 00010000) has no changes.
[%42 ]
Block on '/dev/mtd3' at 00290000(len: 00010000) has no changes.
[%43 ]
Block on '/dev/mtd3' at 002A0000(len: 00010000) has no changes.
[%44 ]
Block on '/dev/mtd3' at 002B0000(len: 00010000) has no changes.
[%45 ]
Block on '/dev/mtd3' at 002C0000(len: 00010000) has no changes.
[%46 ]
Block on '/dev/mtd3' at 002D0000(len: 00010000) has no changes.
[%47 ]
Block on '/dev/mtd3' at 002E0000(len: 00010000) has no changes.
[%48 ]
Block on '/dev/mtd3' at 002F0000(len: 00010000) has no changes.
[%50 ]
Block on '/dev/mtd3' at 00300000(len: 00010000) has no changes.
[%51 ]
Block on '/dev/mtd3' at 00310000(len: 00010000) has no changes.
[%52 ]
Block on '/dev/mtd3' at 00320000(len: 00010000) has no changes.
[%53 ]
Block on '/dev/mtd3' at 00330000(len: 00010000) has no changes.
[%54 ]
Block on '/dev/mtd3' at 00340000(len: 00010000) has no changes.
[%55 ]
Block on '/dev/mtd3' at 00350000(len: 00010000) has no changes.
[%56 ]
Block on '/dev/mtd3' at 00360000(len: 00010000) has no changes.
[%57 ]
Block on '/dev/mtd3' at 00370000(len: 00010000) has no changes.
[%58 ]
Block on '/dev/mtd3' at 00380000(len: 00010000) has no changes.
[%59 ]
Block on '/dev/mtd3' at 00390000(len: 00010000) has no changes.
[%60 ]
Block on '/dev/mtd3' at 003A0000(len: 000Flash unlocked!
Only sysupgrade firmware image /tmp/openwrt-ath79-generic-ubnt_bullet-m2hp-squashfs-factory.bin is supported