summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
authorGlenn Miles <milesg@ibm.com>2019-04-05 18:09:23 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-17 12:56:14 -0500
commit1654f76c7fd26c0a96d0ed5286c997c6393bd8d5 (patch)
tree5498eefd9caaa4d520ff8d1af4da1ac6f7cdd4a9 /src/usr/pnor
parentd0c71ff0ce912f12a7a8e1af4e0ea95e0d1fbf11 (diff)
downloadtalos-hostboot-1654f76c7fd26c0a96d0ed5286c997c6393bd8d5.tar.gz
talos-hostboot-1654f76c7fd26c0a96d0ed5286c997c6393bd8d5.zip
Populate OCMBFW partition with packaged image
-Adds pkgOcmbFw.pl script for packaging image from microsemi with header containing SHA512 hash of image. Script can also be used to verify existing header and parse/display header contents. -Changed dist.targets.mk to copy pkgOcmbFw.pl tool into fsp/op environments. -Changes to mkrules/hbfw/img/makefile to create 4k fake image (zero filled) and add header to file prior to signing and creating pnor partition. This is done for axone-simics only. -Minor changes to hostboot pnor code to recognize the OCMBFW PNOR partition. Change-Id: I21cd15af9ab63517491ad1897afd3a2223db0dd6 RTC: 193924 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75669 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/pnor_utils.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/pnor/pnor_utils.C b/src/usr/pnor/pnor_utils.C
index 68df913e0..cd7c9f98f 100644
--- a/src/usr/pnor/pnor_utils.C
+++ b/src/usr/pnor/pnor_utils.C
@@ -450,6 +450,7 @@ const char * PNOR::SectionIdToString( uint32_t i_secIdIndex )
"CENHWIMG", /**< PNOR::CENTAUR_HW_IMG : Centaur HCODE ref image */
"HDAT", /**< PNOR::HDAT : Hdat Data */
"EECACHE", /**< PNOR::EECACHE : Cached data from various EEPROMs */
+ "OCMBFW", /**< PNOR::OCMBFW : OCMB image */
#endif
};
OpenPOWER on IntegriCloud