Skip to content

Commit

Permalink
Self Restore: Integrated build with rest of the EKB build flow.
Browse files Browse the repository at this point in the history
Self restore binary used to get built by a shell script standalone.
It used to get checked in to EKB. Hardware image build infrastructure
used to just pick that binary and insert it into the hardware image.
This commit augments the EKB build flow by incorporating a capability
to build self restore binary like any other executable generated
during EKB build. Syntax to build binary:
   ekb build p9_core_restore_routines

Key_Cronus_Test=PM_REGRESS

Change-Id: I63abaafb398de14c33ad8f36580d5a6d9b72f6c2
Original-Change-Id: I68b2587eab2798b7b8a2a188187767fa53aaf12f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55259
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
  • Loading branch information
premsjha authored and op-jenkins committed Sep 19, 2018
1 parent 2187a72 commit 5477b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions import/tools/imageProcs/restore_image.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HCODE Project
#
# COPYRIGHT 2016,2017
# COPYRIGHT 2016,2018
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -37,7 +37,7 @@ $(eval $(call BUILD_DD_LEVEL_CONTAINER,$1,cpmr_header))

# files to be appended to image
$(eval $(IMAGE)_FILE_CPMR=$$($(IMAGE)_DD_CONT_cpmr_header))
$(eval $(IMAGE)_FILE_SELF=$(ROOTPATH)/chips/p9/procedures/utils/stopreg/selfRest.bin)
$(eval $(IMAGE)_FILE_SELF=$(ROOTPATH)/output/images/utils/stopreg/p9_core_restore_routines/p9_core_restore_routines.bin)

# dependencies for appending image sections in sequence:
# - file to be appended
Expand Down

0 comments on commit 5477b13

Please sign in to comment.