diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2017-06-27 14:51:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 14:51:58 -0500 |
commit | 660174c2c376cec27ab08893a488febb5b058a61 (patch) | |
tree | 54f828e1b239a0662da39a7ed3e6fa69dacc9611 | |
parent | 72509b808f8857504a571eb9de6176e101307249 (diff) | |
parent | 29e66c0251f02805ff6133864fc32dc52eb7de38 (diff) | |
download | pnor-660174c2c376cec27ab08893a488febb5b058a61.tar.gz pnor-660174c2c376cec27ab08893a488febb5b058a61.zip |
Merge pull request #66 from sannerd/align64K_volatile_tag
Add volatile tag and align 64MB to 64K erase block
-rw-r--r-- | p9Layouts/defaultPnorLayout_128.xml | 3 | ||||
-rw-r--r-- | p9Layouts/defaultPnorLayout_32.xml | 4 | ||||
-rw-r--r-- | p9Layouts/defaultPnorLayout_64.xml | 40 |
3 files changed, 29 insertions, 18 deletions
diff --git a/p9Layouts/defaultPnorLayout_128.xml b/p9Layouts/defaultPnorLayout_128.xml index f0ead0a..f086fdd 100644 --- a/p9Layouts/defaultPnorLayout_128.xml +++ b/p9Layouts/defaultPnorLayout_128.xml @@ -58,6 +58,8 @@ Layout Description <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 </section> --> @@ -306,5 +308,6 @@ Layout Description <side>A</side> <reprovision/> <ecc/> + <volatile/> </section> </pnor> diff --git a/p9Layouts/defaultPnorLayout_32.xml b/p9Layouts/defaultPnorLayout_32.xml index febb5e5..5d2ce2d 100644 --- a/p9Layouts/defaultPnorLayout_32.xml +++ b/p9Layouts/defaultPnorLayout_32.xml @@ -58,6 +58,8 @@ Layout Description <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 </section> --> @@ -304,6 +306,8 @@ Layout Description <physicalOffset>0x2AFE000</physicalOffset> <physicalRegionSize>0x5000</physicalRegionSize> <side>A</side> + <reprovision/> <ecc/> + <volatile/> </section> </pnor> diff --git a/p9Layouts/defaultPnorLayout_64.xml b/p9Layouts/defaultPnorLayout_64.xml index 06768fb..0a10d84 100644 --- a/p9Layouts/defaultPnorLayout_64.xml +++ b/p9Layouts/defaultPnorLayout_64.xml @@ -58,6 +58,8 @@ Layout Description <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 </section> --> @@ -160,7 +162,7 @@ Layout Description <section> <description>HCODE Ref Image (1.125MB)</description> <eyeCatch>HCODE</eyeCatch> - <physicalOffset>0x101A000</physicalOffset> + <physicalOffset>0x1020000</physicalOffset> <physicalRegionSize>0x120000</physicalRegionSize> <side>A</side> <sha512Version/> @@ -169,7 +171,7 @@ Layout Description <section> <description>Hostboot Runtime Services for Sapphire (4.5MB)</description> <eyeCatch>HBRT</eyeCatch> - <physicalOffset>0x113A000</physicalOffset> + <physicalOffset>0x1140000</physicalOffset> <physicalRegionSize>0x480000</physicalRegionSize> <sha512Version/> <side>A</side> @@ -178,21 +180,21 @@ Layout Description <section> <description>Payload (1MB)</description> <eyeCatch>PAYLOAD</eyeCatch> - <physicalOffset>0x15BA000</physicalOffset> + <physicalOffset>0x15C0000</physicalOffset> <physicalRegionSize>0x100000</physicalRegionSize> <side>A</side> </section> <section> <description>Bootloader Kernel (15MB)</description> <eyeCatch>BOOTKERNEL</eyeCatch> - <physicalOffset>0x16BA000</physicalOffset> + <physicalOffset>0x16C0000</physicalOffset> <physicalRegionSize>0xF00000</physicalRegionSize> <side>A</side> </section> <section> <description>Nvram (576K)</description> <eyeCatch>NVRAM</eyeCatch> - <physicalOffset>0x25BA000</physicalOffset> + <physicalOffset>0x25C0000</physicalOffset> <physicalRegionSize>0x90000</physicalRegionSize> <side>A</side> <preserved/> @@ -201,7 +203,7 @@ Layout Description <section> <description>OCC Lid (1.125M)</description> <eyeCatch>OCC</eyeCatch> - <physicalOffset>0x264A000</physicalOffset> + <physicalOffset>0x2650000</physicalOffset> <physicalRegionSize>0x120000</physicalRegionSize> <side>A</side> <ecc/> @@ -209,7 +211,7 @@ Layout Description <section> <description>FIRDATA (12K)</description> <eyeCatch>FIRDATA</eyeCatch> - <physicalOffset>0x276A000</physicalOffset> + <physicalOffset>0x2770000</physicalOffset> <physicalRegionSize>0x3000</physicalRegionSize> <side>A</side> <ecc/> @@ -218,7 +220,7 @@ Layout Description <section> <description>CAPP Lid (144K)</description> <eyeCatch>CAPP</eyeCatch> - <physicalOffset>0x277A000</physicalOffset> + <physicalOffset>0x2780000</physicalOffset> <physicalRegionSize>0x24000</physicalRegionSize> <side>A</side> <ecc/> @@ -226,7 +228,7 @@ Layout Description <section> <description>Secure Boot (144K)</description> <eyeCatch>SECBOOT</eyeCatch> - <physicalOffset>0x27AA000</physicalOffset> + <physicalOffset>0x27B0000</physicalOffset> <physicalRegionSize>0x24000</physicalRegionSize> <side>sideless</side> <ecc/> @@ -235,7 +237,7 @@ Layout Description <section> <description>BMC_INV (36K)</description> <eyeCatch>BMC_INV</eyeCatch> - <physicalOffset>0x27DA000</physicalOffset> + <physicalOffset>0x27E0000</physicalOffset> <physicalRegionSize>0x9000</physicalRegionSize> <side>sideless</side> <reprovision/> @@ -243,7 +245,7 @@ Layout Description <section> <description>Hostboot Bootloader (22.5K)</description> <eyeCatch>HBBL</eyeCatch> - <physicalOffset>0x27EA000</physicalOffset> + <physicalOffset>0x27F0000</physicalOffset> <physicalRegionSize>0x6000</physicalRegionSize> <side>sideless</side> <ecc/> @@ -251,7 +253,7 @@ Layout Description <section> <description>Temporary Attribute Override (32K)</description> <eyeCatch>ATTR_TMP</eyeCatch> - <physicalOffset>0x27FA000</physicalOffset> + <physicalOffset>0x2800000</physicalOffset> <physicalRegionSize>0x8000</physicalRegionSize> <side>A</side> <reprovision/> @@ -259,7 +261,7 @@ Layout Description <section> <description>Permanent Attribute Override (32K)</description> <eyeCatch>ATTR_PERM</eyeCatch> - <physicalOffset>0x280A000</physicalOffset> + <physicalOffset>0x2810000</physicalOffset> <physicalRegionSize>0x8000</physicalRegionSize> <side>A</side> <ecc/> @@ -268,14 +270,14 @@ Layout Description <section> <description>PNOR Version (4K)</description> <eyeCatch>VERSION</eyeCatch> - <physicalOffset>0x281A000</physicalOffset> + <physicalOffset>0x2820000</physicalOffset> <physicalRegionSize>0x1000</physicalRegionSize> <side>A</side> </section> <section> <description>IMA Catalog (256K)</description> <eyeCatch>IMA_CATALOG</eyeCatch> - <physicalOffset>0x282A000</physicalOffset> + <physicalOffset>0x2830000</physicalOffset> <physicalRegionSize>0x40000</physicalRegionSize> <side>A</side> <ecc/> @@ -284,7 +286,7 @@ Layout Description <section> <description>Ref Image Ring Overrides (128K)</description> <eyeCatch>RINGOVD</eyeCatch> - <physicalOffset>0x286A000</physicalOffset> + <physicalOffset>0x2870000</physicalOffset> <physicalRegionSize>0x20000</physicalRegionSize> <side>A</side> </section> @@ -293,7 +295,7 @@ Layout Description <!-- We need 266KB per module sort, going to support 10 sorts by default, plus ECC --> <eyeCatch>WOFDATA</eyeCatch> - <physicalOffset>0x288A000</physicalOffset> + <physicalOffset>0x2890000</physicalOffset> <physicalRegionSize>0x300000</physicalRegionSize> <side>A</side> <ecc/> @@ -301,9 +303,11 @@ Layout Description <section> <description>Hostboot deconfig area (64KB)</description> <eyeCatch>HB_VOLATILE</eyeCatch> - <physicalOffset>0x2B8A000</physicalOffset> + <physicalOffset>0x2B90000</physicalOffset> <physicalRegionSize>0x5000</physicalRegionSize> <side>A</side> + <reprovision/> <ecc/> + <volatile/> </section> </pnor> |