diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2013-01-23 22:29:39 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-01-24 13:08:25 -0600 |
commit | d8360fb69e6f8993e8be2f6899a20c61bbedbb03 (patch) | |
tree | 87432e5755bb50b1adfbb5384b4a17ceedcd500d /src/build/mkrules/hbfw | |
parent | e663eb9fa7ee3f118530de3906b1894a012a92a3 (diff) | |
download | talos-hostboot-d8360fb69e6f8993e8be2f6899a20c61bbedbb03.tar.gz talos-hostboot-d8360fb69e6f8993e8be2f6899a20c61bbedbb03.zip |
Confine Hostboot base image and headers to 512K
Change-Id: I075ef23a61457b0b450edbbf8a7b0e5baa21753e
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3009
Tested-by: Jenkins Server
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/mkrules/hbfw')
-rwxr-xr-x | src/build/mkrules/hbfw/img/makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/build/mkrules/hbfw/img/makefile b/src/build/mkrules/hbfw/img/makefile index 7845a9910..a23d30598 100755 --- a/src/build/mkrules/hbfw/img/makefile +++ b/src/build/mkrules/hbfw/img/makefile @@ -55,17 +55,18 @@ BASE_ECC_IMAGE = hostboot.bin.ecc cp_hbfiles: .SPECTARG ${BASE_IMAGES:@image@cp -f -u ${SRCPATH:F${image}} ${image};@} - echo "000000000018000000000000080000000000000000081000" | xxd -r -ps - sbe.header + echo "00000000001800000000000008000000000000000007EF80" | xxd -r -ps - sbe.header dd if=/dev/zero of=secureboot.header bs=1 count=4K - cat sbe.header secureboot.header ${BASE_IMAGE} > ${BASE_W_HEADER_IMAGE} + dd if=/dev/zero of=hbb.footer bs=1 count=128K + cat sbe.header secureboot.header ${BASE_IMAGE} hbb.footer > hostboot.stage.bin + head -c 524288 hostboot.stage.bin > ${BASE_W_HEADER_IMAGE} currentsb -chain ecc --inject ${BASE_IMAGE} --output ${BASE_ECC_IMAGE} --p8 ecc --inject ${BASE_W_HEADER_IMAGE} --output ${BASE_W_HEADER_ECC_IMAGE} --p8 - clobber_cp_hbfiles: rm -f ${BASE_IMAGES} ${BASE_W_HEADER_IMAGE} {BASE_W_HEADER_ECC_IMAGE} \ - sbe.header secureboot.header + sbe.header secureboot.header hb.footer hostboot.stage.bin ################################################# |