diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2016-06-24 15:35:43 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-25 13:06:48 -0400 |
commit | 2f56430b2249e3d60e918fd6c4a80df7b57adecc (patch) | |
tree | a4f81f3807893b92494d8f3f634e2cf8d68dc60a /src/build | |
parent | 57e91dce34fcad03ad98fa1f8216d459444d0618 (diff) | |
download | talos-hostboot-2f56430b2249e3d60e918fd6c4a80df7b57adecc.tar.gz talos-hostboot-2f56430b2249e3d60e918fd6c4a80df7b57adecc.zip |
HBRT Increase Size
Increase HBRT section in PNOR from 3.375MB to 4.5MB using space from Payload.
Change-Id: Ieabfcf9279b723e03a167c35664f9b74407d4a7a
RTC: 155384
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26275
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build')
-rw-r--r-- | src/build/buildpnor/defaultPnorLayout.xml | 10 | ||||
-rwxr-xr-x | src/build/mkrules/hbfw/img/makefile | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/build/buildpnor/defaultPnorLayout.xml b/src/build/buildpnor/defaultPnorLayout.xml index fa693d6b9..eb992ff34 100644 --- a/src/build/buildpnor/defaultPnorLayout.xml +++ b/src/build/buildpnor/defaultPnorLayout.xml @@ -165,19 +165,19 @@ Layout Description <ecc/> </section> <section> - <description>Hostboot Runtime Services for Sapphire (3.375MB)</description> + <description>Hostboot Runtime Services for Sapphire (4.5MB)</description> <eyeCatch>HBRT</eyeCatch> <physicalOffset>0xA35000</physicalOffset> - <physicalRegionSize>0x360000</physicalRegionSize> + <physicalRegionSize>0x480000</physicalRegionSize> <sha512Version/> <side>sideless</side> <ecc/> </section> <section> - <description>Payload (22.5MB)</description> + <description>Payload (21.375MB)</description> <eyeCatch>PAYLOAD</eyeCatch> - <physicalOffset>0xD95000</physicalOffset> - <physicalRegionSize>0x1680000</physicalRegionSize> + <physicalOffset>0xEB5000</physicalOffset> + <physicalRegionSize>0x1560000</physicalRegionSize> <side>sideless</side> <ecc/> </section> diff --git a/src/build/mkrules/hbfw/img/makefile b/src/build/mkrules/hbfw/img/makefile index 7773c1254..1f09dd4c5 100755 --- a/src/build/mkrules/hbfw/img/makefile +++ b/src/build/mkrules/hbfw/img/makefile @@ -126,8 +126,8 @@ cp_hbfiles: .SPECTARG sha512sum ${HBRT_IMAGE} | awk '{print $$1}' | xxd -pr -r >> ${HBRT_SHA_IMAGE} dd if=${HBRT_SHA_IMAGE} of=${TEMP_IMAGE} ibs=4k conv=sync cat ${HBRT_IMAGE} >> ${TEMP_IMAGE} - # HBRT partition size w/o ECC = 2MB (2048K) - dd if=${TEMP_IMAGE} of=${HBRT_HEADER_IMAGE} ibs=2048K conv=sync + # HBRT partition size w/o ECC = 4MB (4096K) + dd if=${TEMP_IMAGE} of=${HBRT_HEADER_IMAGE} ibs=4096K conv=sync ecc --inject ${HBRT_HEADER_IMAGE} --output ${HBRT_ECC_HEADER_IMAGE} --p8 # Add version header w/ HBI sha hash echo -en VERSION\\0 > ${EXT_SHA_IMAGE} @@ -187,7 +187,7 @@ cp_hbfiles: .SPECTARG dd if=/dev/zero bs=256K count=1 | tr "\000" "\377" > ${TEMP_IMAGE} ecc --inject ${TEMP_IMAGE} --output ${CVPD_ECC_IMAGE} --p8 # PAYLOAD partition - dd if=/dev/zero bs=20480K count=1 | tr "\000" "\377" > ${TEMP_IMAGE} + dd if=/dev/zero bs=19456K count=1 | tr "\000" "\377" > ${TEMP_IMAGE} ecc --inject ${TEMP_IMAGE} --output ${PAYLOAD_ECC_IMAGE} --p8 rm ${TEMP_IMAGE} # Remove offset from start of Bootloader image for HBBL partition |