summaryrefslogtreecommitdiffstats
path: root/p9Layouts/defaultPnorLayout_64.xml
blob: ce1e4bd545bdec958c9c673bfe5225417d7f553a (plain)
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source:  pnor/p9Layouts/defaultPnorLayout_64.xml $                    -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- COPYRIGHT International Business Machines Corp. 2013,2014              -->
<!--                                                                        -->
<!-- Licensed under the Apache License, Version 2.0 (the "License");        -->
<!-- you may not use this file except in compliance with the License.       -->
<!-- You may obtain a copy of the License at                                -->
<!--                                                                        -->
<!--     http://www.apache.org/licenses/LICENSE-2.0                         -->
<!--                                                                        -->
<!-- Unless required by applicable law or agreed to in writing, software    -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
<!-- implied. See the License for the specific language governing           -->
<!-- permissions and limitations under the License.                         -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->
<!--
Layout Description
<metadata> Element -> Contains high-level information about the PNOR layout.
    <chipSize>     -> Size of the chip that the pnor image will reside on
    <imageSize>    -> Size of PNOR image in bytes.
    <blockSize>    -> size of erase blocks in bytes.
    <tocSize>      -> size of each partition table
    <!- TODO:RTC:123734 - remove side offsets once hwsv implements new layout ->
    <sideAOffset>  -> Location of Side A Partition Table
    <sideBOffset>  -> Location of Side B Partition Table
    <side>         -> Contains information about the side
        <id>            -> Id of the side (A or B)
        <arrangement>   -> Tag that specifies the arrangement of the side
                           (A-B-D or A-D-B)
                           A-B-D: Primary TOC (A),Backup TOC (B), and Section Information (Data - D)
                           A-D-B: Primary TOC (A), Section Information (Data - D), Backup TOC (B)
        <golden/> -> Indicates that the side of the PNOR is golden
</metadata>
<section> Element -> Contains information about a PNOR Partition
    <description>   -> Text description of the partition.
                       Does not have to be machine readable.
    <eyeCatch>      -> Name of the Partition
    <physicalOffset>-> Offset of the Partition in PNOR
                       in bytes.
    <physicalSize>  -> Size of the Partition in bytes.
    <side>          -> Side that this section is associated with.
                       could be (A, B, or sideless)
                       A - Section is associated with side A
                       B - Section is associated with side B
                       sideless - Indicates partition will be in both TOCs but
                                  only one copy of the partition should be created
    <testonly/>     -> Indicates partition is used for internal testing only.
                       Partition should be skipped in production environments.
    <ecc/>          -> Indicates Partition should be ECC protected
    <sha512Version/>-> Indicates Partition uses SHA512 for version information.
    <sha512perEC/>  -> Indicates SHA512 is used to indicate version for each
                       EC-specific image within the Partition.
    <preserved/>    -> Indicates Partition is preserved across code updates.
    <volatile/>     -> Indicates Partition is not preserved across power offs,
                       but is across reboots. BMC will clear on power off/on
    <clearOnEccErr/>-> Indication that if an ECC error is comsumed on this partition,
                       clear (write 0xFF with good ECC) to the partition to recover
    <readOnly/>     -> Indicates that the partition will be marked read only.
</section>
-->

<pnor>
    <metadata>
        <imageSize>0x4000000</imageSize>
        <chipSize>0x4000000</chipSize>
        <blockSize>0x1000</blockSize>
        <tocSize>0x8000</tocSize>
        <arrangement>A-D-B</arrangement>
        <side>
            <id>A</id>
        </side>
    </metadata>
    <section>
        <description>Hostboot Error Logs (144K)</description>
        <eyeCatch>HBEL</eyeCatch>
        <physicalOffset>0x8000</physicalOffset>
        <physicalRegionSize>0x24000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Guard Data (20K)</description>
        <eyeCatch>GUARD</eyeCatch>
        <physicalOffset>0x2C000</physicalOffset>
        <physicalRegionSize>0x5000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <preserved/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Nvram (576K)</description>
        <eyeCatch>NVRAM</eyeCatch>
        <physicalOffset>0x31000</physicalOffset>
        <physicalRegionSize>0x90000</physicalRegionSize>
        <side>A</side>
        <preserved/>
        <reprovision/>
    </section>
    <section>
        <description>Secure Boot (144K)</description>
        <eyeCatch>SECBOOT</eyeCatch>
        <physicalOffset>0xC1000</physicalOffset>
        <physicalRegionSize>0x24000</physicalRegionSize>
        <side>sideless</side>
        <ecc/>
        <preserved/>
    </section>
    <section>
        <description>DIMM SPD Cache (288K)</description>
        <eyeCatch>DJVPD</eyeCatch>
        <!--NOTE: MUST update standalone.simics if offset changes -->
         <physicalOffset>0xE5000</physicalOffset>
        <physicalRegionSize>0x48000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <preserved/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Module VPD Cache (576K)</description>
        <eyeCatch>MVPD</eyeCatch>
        <!--NOTE: MUST update standalone.simics if offset changes -->
        <physicalOffset>0x12D000</physicalOffset>
        <physicalRegionSize>0x90000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <preserved/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Centaur VPD Cache (288K)</description>
        <eyeCatch>CVPD</eyeCatch>
        <!--NOTE: MUST update standalone.simics if offset changes -->
        <physicalOffset>0x1BD000</physicalOffset>
        <physicalRegionSize>0x48000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <preserved/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Hostboot Base (1M)</description>
        <eyeCatch>HBB</eyeCatch>
        <physicalOffset>0x205000</physicalOffset>
        <physicalRegionSize>0x100000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Hostboot Data (1.125M)</description>
        <eyeCatch>HBD</eyeCatch>
        <physicalOffset>0x305000</physicalOffset>
        <physicalRegionSize>0x120000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <ecc/>
    </section>
    <section>
        <description>Hostboot Extended image (16.625MB w/o ECC)</description>
        <eyeCatch>HBI</eyeCatch>
        <physicalOffset>0x425000</physicalOffset>
        <physicalRegionSize>0x11A0000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>SBE-IPL (Staging Area) (520K)</description>
        <eyeCatch>SBE</eyeCatch>
        <physicalOffset>0x15C5000</physicalOffset>
        <physicalRegionSize>0xBC000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <sha512perEC/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>HCODE Ref Image (1.125MB)</description>
        <eyeCatch>HCODE</eyeCatch>
        <physicalOffset>0x1681000</physicalOffset>
        <physicalRegionSize>0x120000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Hostboot Runtime Services for Sapphire (6MB)</description>
        <eyeCatch>HBRT</eyeCatch>
        <physicalOffset>0x17A1000</physicalOffset>
        <physicalRegionSize>0x600000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Payload (1MB)</description>
        <eyeCatch>PAYLOAD</eyeCatch>
        <physicalOffset>0x1DA1000</physicalOffset>
        <physicalRegionSize>0x100000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
    </section>
    <section>
        <description>Bootloader Kernel (25.5MB)</description>
        <eyeCatch>BOOTKERNEL</eyeCatch>
        <physicalOffset>0x1EA1000</physicalOffset>
        <physicalRegionSize>0x1980000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
    </section>
    <section>
        <description>OCC Lid (1.125M)</description>
        <eyeCatch>OCC</eyeCatch>
        <physicalOffset>0x3821000</physicalOffset>
        <physicalRegionSize>0x120000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Checkstop FIR data (12K)</description>
        <eyeCatch>FIRDATA</eyeCatch>
        <physicalOffset>0x3941000</physicalOffset>
        <physicalRegionSize>0x3000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>PNOR Version (8K)</description>
        <eyeCatch>VERSION</eyeCatch>
        <physicalOffset>0x3944000</physicalOffset>
        <physicalRegionSize>0x2000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
    </section>
    <section>
        <description>BMC Inventory (36K)</description>
        <eyeCatch>BMC_INV</eyeCatch>
        <physicalOffset>0x3968000</physicalOffset>
        <physicalRegionSize>0x9000</physicalRegionSize>
        <side>sideless</side>
        <reprovision/>
    </section>
    <section>
        <description>Hostboot Bootloader (28K)</description>
        <eyeCatch>HBBL</eyeCatch>
        <physicalOffset>0x3971000</physicalOffset>
        <!-- Physical Size includes Header rounded to ECC valid size -->
        <!-- Max size of actual HBBL content is 20K and 22.5K with ECC -->
        <physicalRegionSize>0x7000</physicalRegionSize>
        <side>sideless</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Temporary Attribute Override (32K)</description>
        <eyeCatch>ATTR_TMP</eyeCatch>
        <physicalOffset>0x3978000</physicalOffset>
        <physicalRegionSize>0x8000</physicalRegionSize>
        <side>A</side>
        <reprovision/>
    </section>
    <section>
        <description>Permanent Attribute Override (32K)</description>
        <eyeCatch>ATTR_PERM</eyeCatch>
        <physicalOffset>0x3980000</physicalOffset>
        <physicalRegionSize>0x8000</physicalRegionSize>
        <side>A</side>
        <ecc/>
        <reprovision/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>IMA Catalog (256K)</description>
        <eyeCatch>IMA_CATALOG</eyeCatch>
        <physicalOffset>0x3989000</physicalOffset>
        <physicalRegionSize>0x40000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Ref Image Ring Overrides (128K)</description>
        <eyeCatch>RINGOVD</eyeCatch>
        <physicalOffset>0x39C9000</physicalOffset>
        <physicalRegionSize>0x20000</physicalRegionSize>
        <side>A</side>
    </section>
    <section>
        <description>VFRT data for WOF (3MB)</description>
        <!-- We need 266KB per module sort, going to support
             10 sorts by default, plus ECC  -->
        <eyeCatch>WOFDATA</eyeCatch>
        <physicalOffset>0x39E9000</physicalOffset>
        <physicalRegionSize>0x300000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Hostboot deconfig area (64KB)</description>
        <eyeCatch>HB_VOLATILE</eyeCatch>
        <physicalOffset>0x3CE9000</physicalOffset>
        <physicalRegionSize>0x5000</physicalRegionSize>
        <side>A</side>
        <reprovision/>
        <ecc/>
        <volatile/>
        <clearOnEccErr/>
    </section>
    <section>
        <description>Memory config data (28K)</description>
        <eyeCatch>MEMD</eyeCatch>
        <physicalOffset>0x3CEE000</physicalOffset>
        <physicalRegionSize>0xE000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>SecureBoot Key Transition Partition (16K)</description>
        <eyeCatch>SBKT</eyeCatch>
        <physicalOffset>0x3D02000</physicalOffset>
        <physicalRegionSize>0x4000</physicalRegionSize>
        <side>A</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>HDAT binary data (16KB)</description>
        <eyeCatch>HDAT</eyeCatch>
        <physicalOffset>0x3D06000</physicalOffset>
        <physicalRegionSize>0x8000</physicalRegionSize>
        <side>sideless</side>
        <sha512Version/>
        <readOnly/>
        <ecc/>
    </section>
    <section>
        <description>Ultravisor binary image (1MB)</description>
        <eyeCatch>UVISOR</eyeCatch>
        <physicalOffset>0x3D10000</physicalOffset>
        <physicalRegionSize>0x100000</physicalRegionSize>
        <side>sideless</side>
        <sha512Version/>
        <readOnly/>
    </section>
    <section>
        <description>Boot kernel firmware data (1.8MB)</description>
        <eyeCatch>BOOTKERNFW</eyeCatch>
        <physicalOffset>0x3E10000</physicalOffset>
        <physicalRegionSize>0x1E0000</physicalRegionSize>
        <side>sideless</side>
        <preserved/>
    </section>
</pnor>
OpenPOWER on IntegriCloud