Project

General

Profile

EC25 Firmware Update Format » History » Version 1

laforge, 09/02/2017 08:35 PM

1 1 laforge
h1. EC25 Firmware Update Format
2
3
The Firmware update format for the [[EC25]] seems to look like this:
4
5
h2. contents.xml
6
7
h2. @update/sbl1.mbn@
8
9
SBL1 bootloader
10
11
h2. @update/tz.mbn@
12
13
Trustzone image
14
15
h2. @update/rpm.mbn@
16
17
Runtime Power Management image
18
19
h2. @update/appsboot.mbn@
20
21
application processor boot image
22
23
h2. @update/mdm9607-perf-boot.img@
24
25
Kernel image, written to BOOT and to RECOVERY partition
26
27
h2. @update/NON-HLOS.ubi@
28
29
ubifs with partition images for baseband processor
30
31
h2. @update/mdm9607-perf-recovery-image-mdm9607-perf.ubi@
32
33
ubifs with recovery filesystem for RECOVERYFS partiton
34
35
h2. @update/mdm9606-perf-sysfs.ubi@
36
37
ubi with three volumes, used during normal operation of the modem. flashed to SYS_BACK and SYSTEM partition of flash.
38
* cachefs
39
* usrfs
40
* rootfs
41
42
<pre>
43
UBI File
44
---------------------
45
        Min I/O: 4096
46
        LEB Size: 253952
47
        PEB Size: 262144
48
        Total Block Count: 177
49
        Data Block Count: 175
50
        Layout Block Count: 2
51
        Internal Volume Block Count: 0
52
        Unknown Block Count: 0
53
        First UBI PEB Number: 0
54
55
        Image: 1708803677
56
        ---------------------
57
                Image Sequence Num: 1708803677
58
                Volume Name:cachefs
59
                Volume Name:usrfs
60
                Volume Name:rootfs
61
                PEB Range: 0 - 176
62
63
                Volume: cachefs
64
                ---------------------
65
                        Vol ID: 2
66
                        Name: cachefs
67
                        Block Count: 0
68
69
                        Volume Record
70
                        ---------------------
71
                                alignment: 1
72
                                crc: '0xe0bea653'
73
                                data_pad: 0
74
                                errors: ''
75
                                flags: 0
76
                                name: 'cachefs'
77
                                name_len: 7
78
                                padding: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
79
                                rec_index: 2
80
                                reserved_pebs: 228
81
                                upd_marker: 0
82
                                vol_type: 'dynamic'
83
84
85
                Volume: usrfs
86
                ---------------------
87
                        Vol ID: 1
88
                        Name: usrfs
89
                        Block Count: 13
90
91
                        Volume Record
92
                        ---------------------
93
                                alignment: 1
94
                                crc: '0x7c4f14a5'
95
                                data_pad: 0
96
                                errors: ''
97
                                flags: 'autoresize'
98
                                name: 'usrfs'
99
                                name_len: 5
100
                                padding: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
101
                                rec_index: 1
102
                                reserved_pebs: 13
103
                                upd_marker: 0
104
                                vol_type: 'dynamic'
105
106
107
                Volume: rootfs
108
                ---------------------
109
                        Vol ID: 0
110
                        Name: rootfs
111
                        Block Count: 162
112
113
                        Volume Record
114
                        ---------------------
115
                                alignment: 1
116
                                crc: '0x9d8a317f'
117
                                data_pad: 0
118
                                errors: ''
119
                                flags: 0
120
                                name: 'rootfs'
121
                                name_len: 6
122
                                padding: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
123
                                rec_index: 0
124
                                reserved_pebs: 261
125
                                upd_marker: 0
126
                                vol_type: 'dynamic'
127
128
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)