From 14dad979f89f3257fd3fcd23c2705d31f896dca3 Mon Sep 17 00:00:00 2001 From: spashabk-in Date: Wed, 23 Aug 2017 09:55:47 -0500 Subject: Create and allow for PNOR SBE Partition to have DD1.0, DD2.0 and DD2.1 Images Include DD2.1 image in SBE pnor partition Extend pnor layout SBE section size cmvc-prereq: 1032604 Change-Id: Ic0ac2144e59f5a12b41731f28f96f413110f1948 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45044 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- src/build/buildpnor/defaultPnorLayout.xml | 30 +++++++++++++-------------- src/build/buildpnor/pnorLayoutFSP.xml | 30 +++++++++++++-------------- src/build/citest/etc/workarounds.postsimsetup | 5 +++++ src/build/mkrules/hbfw/img/makefile | 3 ++- 4 files changed, 37 insertions(+), 31 deletions(-) (limited to 'src') diff --git a/src/build/buildpnor/defaultPnorLayout.xml b/src/build/buildpnor/defaultPnorLayout.xml index 414652c78..79a972d2c 100644 --- a/src/build/buildpnor/defaultPnorLayout.xml +++ b/src/build/buildpnor/defaultPnorLayout.xml @@ -149,10 +149,10 @@ Layout Description
- SBE-IPL (Staging Area) (520K) + SBE-IPL (Staging Area) (752K) SBE 0xFD1000 - 0x82000 + 0xBC000 sideless @@ -161,7 +161,7 @@ Layout Description
HCODE Ref Image (1.125MB) HCODE - 0x1053000 + 0x108D000 0x120000 sideless @@ -170,7 +170,7 @@ Layout Description
Hostboot Runtime Services for Sapphire (4.5MB) HBRT - 0x1173000 + 0x11AD000 0x480000 sideless @@ -179,7 +179,7 @@ Layout Description
Payload (21.375MB) PAYLOAD - 0x15F3000 + 0x162D000 0x1560000 sideless @@ -188,7 +188,7 @@ Layout Description
Special PNOR Test Space (36K) TEST - 0x2B53000 + 0x2B8D000 0x9000 sideless @@ -197,7 +197,7 @@ Layout Description
Special PNOR Test Space (36K) TESTRO - 0x2B5C000 + 0x2B96000 0x9000 sideless @@ -208,7 +208,7 @@ Layout Description
Hostboot Bootloader (28K) HBBL - 0x2B65000 + 0x2B9F000 0x7000 @@ -219,7 +219,7 @@ Layout Description
Global Data (36K) GLOBAL - 0x2B6C000 + 0x2BA6000 0x9000 sideless @@ -227,7 +227,7 @@ Layout Description
Ref Image Ring Overrides (20K) RINGOVD - 0x2B75000 + 0x2BAF000 0x5000 sideless @@ -235,7 +235,7 @@ Layout Description
SecureBoot Key Transition Partition (16K) SBKT - 0x2B7A000 + 0x2BB4000 0x4000 sideless @@ -243,7 +243,7 @@ Layout Description
OCC Lid (1.125M) OCC - 0x2B7E000 + 0x2BB8000 0x120000 sideless @@ -254,7 +254,7 @@ Layout Description WOFDATA - 0x2C9E000 + 0x2CD8000 0xC00000 sideless @@ -263,7 +263,7 @@ Layout Description
FIRDATA (12K) FIRDATA - 0x389E000 + 0x38D8000 0x3000 sideless @@ -271,7 +271,7 @@ Layout Description
Memory Data (24K) MEMD - 0x38A1000 + 0x38DB000 0x6000 sideless diff --git a/src/build/buildpnor/pnorLayoutFSP.xml b/src/build/buildpnor/pnorLayoutFSP.xml index adc8e8fc2..02c551662 100644 --- a/src/build/buildpnor/pnorLayoutFSP.xml +++ b/src/build/buildpnor/pnorLayoutFSP.xml @@ -149,10 +149,10 @@ Layout Description - Used when building an FSP driver
- SBE-IPL (Staging Area) (520K) + SBE-IPL (Staging Area) (752K) SBE 0xFD1000 - 0x82000 + 0xBC000 sideless @@ -161,7 +161,7 @@ Layout Description - Used when building an FSP driver
HCODE Ref Image (1.125MB) HCODE - 0x1053000 + 0x108D000 0x120000 sideless @@ -170,7 +170,7 @@ Layout Description - Used when building an FSP driver
Hostboot Runtime Services for Sapphire (4.5MB) HBRT - 0x1173000 + 0x11AD000 0x480000 sideless @@ -179,7 +179,7 @@ Layout Description - Used when building an FSP driver
Payload (21.375MB) PAYLOAD - 0x15F3000 + 0x162D000 0x1560000 sideless @@ -187,7 +187,7 @@ Layout Description - Used when building an FSP driver
Special PNOR Test Space (36K) TEST - 0x2B53000 + 0x2B8D000 0x9000 sideless @@ -196,7 +196,7 @@ Layout Description - Used when building an FSP driver
Special PNOR Test Space (36K) TESTRO - 0x2B5C000 + 0x2B96000 0x9000 sideless @@ -207,7 +207,7 @@ Layout Description - Used when building an FSP driver
Hostboot Bootloader (28K) HBBL - 0x2B65000 + 0x2B9F000 0x7000 @@ -217,7 +217,7 @@ Layout Description - Used when building an FSP driver
Global Data (36K) GLOBAL - 0x2B6C000 + 0x2BA6000 0x9000 sideless @@ -225,7 +225,7 @@ Layout Description - Used when building an FSP driver
Ref Image Ring Overrides (20K) RINGOVD - 0x2B75000 + 0x2BAF000 0x5000 sideless @@ -233,7 +233,7 @@ Layout Description - Used when building an FSP driver
SecureBoot Key Transition Partition (16K) SBKT - 0x2B7A000 + 0x2BB4000 0x4000 sideless @@ -243,7 +243,7 @@ Layout Description - Used when building an FSP driver
OCC Lid (1.125M) OCC - 0x2B7E000 + 0x2BB8000 0x120000 sideless @@ -255,7 +255,7 @@ Layout Description - Used when building an FSP driver WOFDATA - 0x2B7E000 + 0x2BB8000 0xC00000 sideless @@ -264,7 +264,7 @@ Layout Description - Used when building an FSP driver
FIRDATA (12K) FIRDATA - 0x377E000 + 0x37B8000 0x3000 sideless @@ -272,7 +272,7 @@ Layout Description - Used when building an FSP driver
Memory Data (24K) MEMD - 0x3781000 + 0x37BB000 0x6000 sideless diff --git a/src/build/citest/etc/workarounds.postsimsetup b/src/build/citest/etc/workarounds.postsimsetup index 6095b331a..90c2aab35 100755 --- a/src/build/citest/etc/workarounds.postsimsetup +++ b/src/build/citest/etc/workarounds.postsimsetup @@ -33,4 +33,9 @@ #cp $BACKING_BUILD/src/simu/data/cec-chip/base_cec_chip_file $sb/simu/data/cec-chip #patch -p0 $sb/simu/data/cec-chip/base_cec_chip_file $PROJECT_ROOT/src/build/citest/etc/patches/my_patch_File #pull in new actions in p9_memory.act RTC 171066 +#pull in SBE makefile change for DD2.1 +sbex -t 1032604 +cd $sb/sbei/sbfw/ +mk -a && mk install_all +cd - diff --git a/src/build/mkrules/hbfw/img/makefile b/src/build/mkrules/hbfw/img/makefile index b7a2b1a37..18254d373 100755 --- a/src/build/mkrules/hbfw/img/makefile +++ b/src/build/mkrules/hbfw/img/makefile @@ -176,10 +176,11 @@ CUMULUS_SBE_IMG = p9c.SbePartition.bin P9N_EC10_BIN = ${SBEI_OBJPATH:Fp9n_10.sbe_seeprom.hdr.bin} P9N_EC20_BIN = ${SBEI_OBJPATH:Fp9n_20.sbe_seeprom.hdr.bin} +P9N_EC21_BIN = ${SBEI_OBJPATH:Fp9n_21.sbe_seeprom.hdr.bin} P9C_EC10_BIN = ${SBEI_OBJPATH:Fp9c_10.sbe_seeprom.hdr.bin} SBE_PART_INFO = \ - ${NIMBUS_SBE_IMG}:10=${P9N_EC10_BIN},20=${P9N_EC20_BIN} \ + ${NIMBUS_SBE_IMG}:10=${P9N_EC10_BIN},20=${P9N_EC20_BIN},21=${P9N_EC21_BIN} \ ${CUMULUS_SBE_IMG}:10=${P9C_EC10_BIN} -- cgit v1.2.1