diff options
author | Ilya Smirnov <ismirno@us.ibm.com> | 2018-10-12 10:36:53 -0500 |
---|---|---|
committer | Ilya Smirnov <ismirno@us.ibm.com> | 2018-10-12 10:36:53 -0500 |
commit | 7513c20b56b9c45704508c1912a41f7e9559b3cd (patch) | |
tree | d9cc903192338f2c5e191a563a189d3e5c7584e2 | |
parent | 2e68ed6a605d709e09fe268366565a3f10afec31 (diff) | |
download | pnor-7513c20b56b9c45704508c1912a41f7e9559b3cd.tar.gz pnor-7513c20b56b9c45704508c1912a41f7e9559b3cd.zip |
Create UVISOR Partition for Ultravisor Binary
-rw-r--r-- | p9Layouts/defaultPnorLayout_128.xml | 380 | ||||
-rw-r--r-- | p9Layouts/defaultPnorLayout_64.xml | 11 |
2 files changed, 10 insertions, 381 deletions
diff --git a/p9Layouts/defaultPnorLayout_128.xml b/p9Layouts/defaultPnorLayout_128.xml deleted file mode 100644 index 828777a..0000000 --- a/p9Layouts/defaultPnorLayout_128.xml +++ /dev/null @@ -1,380 +0,0 @@ -<!-- IBM_PROLOG_BEGIN_TAG --> -<!-- This is an automatically generated prolog. --> -<!-- --> -<!-- $Source: pnor/p9Layouts/defaultPnorLayout_128.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>0x8000000</imageSize> - <chipSize>0x8000000</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 (13MB w/o ECC)</description> - <eyeCatch>HBI</eyeCatch> - <physicalOffset>0x425000</physicalOffset> - <physicalRegionSize>0xEA0000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>SBE-IPL (Staging Area) (520K)</description> - <eyeCatch>SBE</eyeCatch> - <physicalOffset>0x12C5000</physicalOffset> - <physicalRegionSize>0xBC000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <sha512perEC/> - <readOnly/> - <ecc/> - </section> - <section> - <description>HCODE Ref Image (1.125MB)</description> - <eyeCatch>HCODE</eyeCatch> - <physicalOffset>0x1381000</physicalOffset> - <physicalRegionSize>0x120000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>Hostboot Runtime Services for Sapphire (6MB)</description> - <eyeCatch>HBRT</eyeCatch> - <physicalOffset>0x14A1000</physicalOffset> - <physicalRegionSize>0x600000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>Payload (1MB)</description> - <eyeCatch>PAYLOAD</eyeCatch> - <physicalOffset>0x1AA1000</physicalOffset> - <physicalRegionSize>0x100000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - </section> - <section> - <description>Bootloader Kernel (15MB)</description> - <eyeCatch>BOOTKERNEL</eyeCatch> - <physicalOffset>0x1BA1000</physicalOffset> - <physicalRegionSize>0xF00000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - </section> - <section> - <description>OCC Lid (1.125M)</description> - <eyeCatch>OCC</eyeCatch> - <physicalOffset>0x2AA1000</physicalOffset> - <physicalRegionSize>0x120000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>Checkstop FIR data (12K)</description> - <eyeCatch>FIRDATA</eyeCatch> - <physicalOffset>0x2BC1000</physicalOffset> - <physicalRegionSize>0x3000</physicalRegionSize> - <side>A</side> - <ecc/> - <reprovision/> - <clearOnEccErr/> - </section> - <section> - <description>CAPP Lid (144K)</description> - <eyeCatch>CAPP</eyeCatch> - <physicalOffset>0x2BC4000</physicalOffset> - <physicalRegionSize>0x24000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>BMC Inventory (36K)</description> - <eyeCatch>BMC_INV</eyeCatch> - <physicalOffset>0x2BE8000</physicalOffset> - <physicalRegionSize>0x9000</physicalRegionSize> - <side>sideless</side> - <reprovision/> - </section> - <section> - <description>Hostboot Bootloader (28K)</description> - <eyeCatch>HBBL</eyeCatch> - <physicalOffset>0x2BF1000</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>0x2BF8000</physicalOffset> - <physicalRegionSize>0x8000</physicalRegionSize> - <side>A</side> - <reprovision/> - </section> - <section> - <description>Permanent Attribute Override (32K)</description> - <eyeCatch>ATTR_PERM</eyeCatch> - <physicalOffset>0x2C00000</physicalOffset> - <physicalRegionSize>0x8000</physicalRegionSize> - <side>A</side> - <ecc/> - <reprovision/> - <clearOnEccErr/> - </section> - <section> - <description>PNOR Version (4K)</description> - <eyeCatch>VERSION</eyeCatch> - <physicalOffset>0x2C08000</physicalOffset> - <physicalRegionSize>0x2000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - </section> - <section> - <description>IMA Catalog (256K)</description> - <eyeCatch>IMA_CATALOG</eyeCatch> - <physicalOffset>0x2C0A000</physicalOffset> - <physicalRegionSize>0x40000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>Ref Image Ring Overrides (128K)</description> - <eyeCatch>RINGOVD</eyeCatch> - <physicalOffset>0x2C4A000</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>0x2C6A000</physicalOffset> - <physicalRegionSize>0x300000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>Hostboot deconfig area (64KB)</description> - <eyeCatch>HB_VOLATILE</eyeCatch> - <physicalOffset>0x2F6A000</physicalOffset> - <physicalRegionSize>0x5000</physicalRegionSize> - <side>A</side> - <reprovision/> - <ecc/> - <volatile/> - <clearOnEccErr/> - </section> - <section> - <description>Memory config data (28K)</description> - <eyeCatch>MEMD</eyeCatch> - <physicalOffset>0x2F6F000</physicalOffset> - <physicalRegionSize>0xE000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>SecureBoot Key Transition Partition (16K)</description> - <eyeCatch>SBKT</eyeCatch> - <physicalOffset>0x2F7D000</physicalOffset> - <physicalRegionSize>0x4000</physicalRegionSize> - <side>A</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> - <section> - <description>HDAT binary data (16KB)</description> - <eyeCatch>HDAT</eyeCatch> - <physicalOffset>0x2F81000</physicalOffset> - <physicalRegionSize>0x8000</physicalRegionSize> - <side>sideless</side> - <sha512Version/> - <readOnly/> - <ecc/> - </section> -</pnor> diff --git a/p9Layouts/defaultPnorLayout_64.xml b/p9Layouts/defaultPnorLayout_64.xml index 4e61c0c..0f22386 100644 --- a/p9Layouts/defaultPnorLayout_64.xml +++ b/p9Layouts/defaultPnorLayout_64.xml @@ -368,7 +368,7 @@ Layout Description <ecc/> </section> <section> - <description>HDAT binary data (16KB)</description> + <description>HDAT binary data (32KB)</description> <eyeCatch>HDAT</eyeCatch> <physicalOffset>0x2F81000</physicalOffset> <physicalRegionSize>0x8000</physicalRegionSize> @@ -377,4 +377,13 @@ Layout Description <readOnly/> <ecc/> </section> + <section> + <description>Ultravisor binary image (1MB)</description> + <eyeCatch>UVISOR</eyeCatch> + <physicalOffset>0x2F89000</physicalOffset> + <physicalRegionSize>0x100000</physicalRegionSize> + <side>sideless</side> + <sha512Version/> + <readOnly/> + </section> </pnor> |