From 95c3ddc9290ba5549b10a8092648abb9d0b6cb97 Mon Sep 17 00:00:00 2001 From: Ilya Smirnov Date: Thu, 15 Feb 2018 14:58:17 -0600 Subject: Insert Debug Data Into hb prime Code Path Intermittent FSP CI singing tool errors have been observed lately where the signing tool fails for a reason yet not known for certain. Displaying the OpenSSL verison during FSP CI should help to see if OpenSSL is being updated correctly in the failing cases with LD_PRELOAD. Change-Id: I6ac79ef8474d2043125ba4c90b235a6c19856519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54178 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- src/build/mkrules/hbfw/img/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build/mkrules/hbfw/img') diff --git a/src/build/mkrules/hbfw/img/makefile b/src/build/mkrules/hbfw/img/makefile index 4bea92a38..01be54af3 100755 --- a/src/build/mkrules/hbfw/img/makefile +++ b/src/build/mkrules/hbfw/img/makefile @@ -249,7 +249,7 @@ gen_default_images: ${GEN_DEFAULT_IMAGES_DEPS} # result [hbbl][pad:8:if-applicable][securerom-size:8][securerom] # Call script to generate final bin files for default images - export LD_PRELOAD=${SIGNING_LIBS} && ${GEN_PNOR_IMAGE_SCRIPT} ${DEFAULT_PARAMS} ${BUILD_TYPE_PARAMS} ${KEY_TRANSITION_MODE_PARAMS} ${SIGN_MODE_ARG} + export LD_PRELOAD=${SIGNING_LIBS} && echo "Fetching OpenSSL version(1):" && openssl version && ${GEN_PNOR_IMAGE_SCRIPT} ${DEFAULT_PARAMS} ${BUILD_TYPE_PARAMS} ${KEY_TRANSITION_MODE_PARAMS} ${SIGN_MODE_ARG} clobber_cp_hbfiles: rm -f ${ALL_DEFAULT_IMAGES} @@ -420,7 +420,7 @@ ZZ2U_HBD_FINAL_IMG = ZZ-2U.HBD.bin gen_system_specific_images_bypass_cache : dump-secureboot-config # Call script to generate final bin file for chip/system specific images - export LD_PRELOAD=${SIGNING_LIBS} && ${GEN_PNOR_IMAGE_SCRIPT} ${SYSTEM_SPECIFIC_PARAMS} ${BUILD_TYPE_PARAMS} ${SIGN_MODE_ARG} + export LD_PRELOAD=${SIGNING_LIBS} && echo "Fetching OpenSSL vesion(2):" && openssl version && ${GEN_PNOR_IMAGE_SCRIPT} ${SYSTEM_SPECIFIC_PARAMS} ${BUILD_TYPE_PARAMS} ${SIGN_MODE_ARG} #for NIMBUS fake pnor skip version header .if (${FAKEPNOR} != "") -- cgit v1.2.1