diff options
| author | Martin Peschke <mpeschke@de.ibm.com> | 2016-04-14 14:41:14 +0200 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 16:01:40 -0500 |
| commit | 1d5767cf40255109eb6f540f0d7ca3d7a91ba785 (patch) | |
| tree | 88da576b0c04b2d276d759a1e0cbae39a12b698e /import/tools/imageProcs | |
| parent | f984fe919217e83fb078daa972ddb70887d6703c (diff) | |
| download | talos-hcode-1d5767cf40255109eb6f540f0d7ca3d7a91ba785.tar.gz talos-hcode-1d5767cf40255109eb6f540f0d7ca3d7a91ba785.zip | |
Auto HW image generation framework
-Moved generic XIP image build recipes to tools/build/image.dir
-Updated existing makefiles to enable users to create an unsigend
hardware image using "ekb build hw_image"
The hw_image.bin built with this commit contains dummy sections
for some sub images, actual content will be added in later commits.
Change-Id: I9b5e7e716378cf93a10ca1fb21e930425281e946
RTC:149766
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23243
Tested-by: Jenkins Server
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Diffstat (limited to 'import/tools/imageProcs')
| -rw-r--r-- | import/tools/imageProcs/cme_image.mk | 7 | ||||
| -rw-r--r-- | import/tools/imageProcs/restore_image.mk | 9 | ||||
| -rw-r--r-- | import/tools/imageProcs/sgpe_image.mk | 13 |
3 files changed, 18 insertions, 11 deletions
diff --git a/import/tools/imageProcs/cme_image.mk b/import/tools/imageProcs/cme_image.mk index 66150868..fbf11265 100644 --- a/import/tools/imageProcs/cme_image.mk +++ b/import/tools/imageProcs/cme_image.mk @@ -22,8 +22,9 @@ # permissions and limitations under the License. # # IBM_PROLOG_END_TAG + IMAGE=cme_image -$(call APPEND_EMPTY_SECTION,vect,1024) -$(call APPEND_EMPTY_SECTION,cme_image_header,1024) -$(call APPEND_EMPTY_SECTION,hcode,1024) +CME_IMAGE_DEPS=$$($(IMAGE)_PATH)/.cme_image.normalize.bin.built + +$(call APPEND_EMPTY_SECTION,hcode,1024,$(CME_IMAGE_DEPS)) $(call BUILD_IMAGE) diff --git a/import/tools/imageProcs/restore_image.mk b/import/tools/imageProcs/restore_image.mk index ebee547d..9895aca3 100644 --- a/import/tools/imageProcs/restore_image.mk +++ b/import/tools/imageProcs/restore_image.mk @@ -23,6 +23,11 @@ # # IBM_PROLOG_END_TAG IMAGE=restore_image -#$(call XIP_TOOL,append,.cpmr,$(ROOTPATH)/chips/p9/procedures/ppe_closed/cme/stop_cme/obj/stop_cme/cpmr_header.bin) -$(call XIP_TOOL,append,.self_restore,$(ROOTPATH)/chips/p9/procedures/utils/stopreg/selfRest.bin) + +SELF_REST_TARGET=$(ROOTPATH)/chips/p9/procedures/utils/stopreg/selfRest.bin + +SELF_REST_DEPS=$$($(IMAGE)_PATH)/.restore_image.normalize.bin.built + +$(call XIP_TOOL,append,.self_restore,$(SELF_REST_DEPS),$(SELF_REST_TARGET)) + $(call BUILD_IMAGE) diff --git a/import/tools/imageProcs/sgpe_image.mk b/import/tools/imageProcs/sgpe_image.mk index 5c757f06..ad1661b6 100644 --- a/import/tools/imageProcs/sgpe_image.mk +++ b/import/tools/imageProcs/sgpe_image.mk @@ -23,10 +23,11 @@ # # IBM_PROLOG_END_TAG IMAGE=sgpe_image -$(call APPEND_EMPTY_SECTION,qpmr,1024) -$(call APPEND_EMPTY_SECTION,lvl1_bl,1024) -$(call APPEND_EMPTY_SECTION,lvl2_bl,1024) -$(call APPEND_EMPTY_SECTION,vect,1024) -$(call APPEND_EMPTY_SECTION,sgpe_image_header,1024) -$(call XIP_TOOL,append,.hcode,$(ROOTPATH)/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/obj/stop_gpe/stop_gpe.bin) + +STOP_GPE_DEPS=$$($(IMAGE)_PATH)/.sgpe_image.normalize.bin.built + +$(call APPEND_EMPTY_SECTION,qpmr,1024,$(STOP_GPE_DEPS)) +$(call APPEND_EMPTY_SECTION,lvl1_bl,1024,$$($(IMAGE)_PATH)/.$(IMAGE).append.qpmr) +$(call APPEND_EMPTY_SECTION,lvl2_bl,1024,$$($(IMAGE)_PATH)/.$(IMAGE).append.lvl1_bl) +$(call APPEND_EMPTY_SECTION,hcode,1024,$$($(IMAGE)_PATH)/.$(IMAGE).append.lvl2_bl) $(call BUILD_IMAGE) |

