summaryrefslogtreecommitdiffstats
path: root/import/tools/imageProcs
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2016-07-12 11:05:19 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 17:04:16 -0500
commit1f939826fcf21ac0dab1ae4bd8a5558603cac911 (patch)
tree85a69e4a283343b5f9e5ab332fbf4aec2d2ee814 /import/tools/imageProcs
parentdc4545b0a9776d1bfa36dac18911978f1aef31c0 (diff)
downloadtalos-hcode-1f939826fcf21ac0dab1ae4bd8a5558603cac911.tar.gz
talos-hcode-1f939826fcf21ac0dab1ae4bd8a5558603cac911.zip
Add build_tag to xip image header
When releasing an image to FW, we would like to keep track of which release tag was used to build this image. Later on, that release tag can be used to rebuild the same image. Change-Id: I734b9a642e1b1c0a63a1cc25ab9c61beb35b25f3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26930 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Diffstat (limited to 'import/tools/imageProcs')
-rw-r--r--import/tools/imageProcs/cme_image.S7
-rw-r--r--import/tools/imageProcs/pstate_gpe_image.S7
-rw-r--r--import/tools/imageProcs/restore_image.S7
-rw-r--r--import/tools/imageProcs/sgpe_image.S7
4 files changed, 20 insertions, 8 deletions
diff --git a/import/tools/imageProcs/cme_image.S b/import/tools/imageProcs/cme_image.S
index f9ca1ed7..4b0c43ef 100644
--- a/import/tools/imageProcs/cme_image.S
+++ b/import/tools/imageProcs/cme_image.S
@@ -85,12 +85,15 @@ __build_date:
.long 0
__build_time:
.long 0
+__build_tag:
+ .asciz "unknown " # 16 Characters
__header_32_reserved:
- .long 0, 0, 0, 0, 0
+ .long 0
.xip_toc image_size, P9_XIP_UINT32, __image_size
.xip_toc build_date, P9_XIP_UINT32, __build_date
.xip_toc build_time, P9_XIP_UINT32, __build_time
+ .xip_toc build_tag, P9_XIP_STRING, __build_tag
////////////////////////////////////////////////////////////////////
// Other Information - 1-byte aligned; 8 entries; TOC-Indexed
@@ -116,7 +119,7 @@ __header_8_reserved:
__build_user:
.asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters
+ .asciz "unknown " # 40 Characters
__header_string_reserved:
.space 8, 0
diff --git a/import/tools/imageProcs/pstate_gpe_image.S b/import/tools/imageProcs/pstate_gpe_image.S
index 26ced631..6d40a231 100644
--- a/import/tools/imageProcs/pstate_gpe_image.S
+++ b/import/tools/imageProcs/pstate_gpe_image.S
@@ -87,12 +87,15 @@ __build_date:
.long 0
__build_time:
.long 0
+__build_tag:
+ .asciz "unknown " # 16 Characters
__header_32_reserved:
- .long 0, 0, 0, 0, 0
+ .long 0
.xip_toc image_size, P9_XIP_UINT32, __image_size
.xip_toc build_date, P9_XIP_UINT32, __build_date
.xip_toc build_time, P9_XIP_UINT32, __build_time
+ .xip_toc build_tag, P9_XIP_STRING, __build_tag
////////////////////////////////////////////////////////////////////
// Other Information - 1-byte aligned; 8 entries; TOC-Indexed
@@ -118,7 +121,7 @@ __header_8_reserved:
__build_user:
.asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters
+ .asciz "unknown " # 40 characters
__header_string_reserved:
.space 8, 0
diff --git a/import/tools/imageProcs/restore_image.S b/import/tools/imageProcs/restore_image.S
index 325d6593..567b716d 100644
--- a/import/tools/imageProcs/restore_image.S
+++ b/import/tools/imageProcs/restore_image.S
@@ -85,12 +85,15 @@ __build_date:
.long 0
__build_time:
.long 0
+__build_tag:
+ .asciz "unknown " # 16 Characters
__header_32_reserved:
- .long 0, 0, 0, 0, 0
+ .long 0
.xip_toc image_size, P9_XIP_UINT32, __image_size
.xip_toc build_date, P9_XIP_UINT32, __build_date
.xip_toc build_time, P9_XIP_UINT32, __build_time
+ .xip_toc build_tag, P9_XIP_STRING, __build_tag
////////////////////////////////////////////////////////////////////
// Other Information - 1-byte aligned; 8 entries; TOC-Indexed
@@ -116,7 +119,7 @@ __header_8_reserved:
__build_user:
.asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters
+ .asciz "unknown " # 40 characters
__header_string_reserved:
.space 8, 0
diff --git a/import/tools/imageProcs/sgpe_image.S b/import/tools/imageProcs/sgpe_image.S
index b9fd90f0..d7faa212 100644
--- a/import/tools/imageProcs/sgpe_image.S
+++ b/import/tools/imageProcs/sgpe_image.S
@@ -87,12 +87,15 @@ __build_date:
.long 0
__build_time:
.long 0
+__build_tag:
+ .asciz "unknown " # 16 Characters
__header_32_reserved:
- .long 0, 0, 0, 0, 0
+ .long 0
.xip_toc image_size, P9_XIP_UINT32, __image_size
.xip_toc build_date, P9_XIP_UINT32, __build_date
.xip_toc build_time, P9_XIP_UINT32, __build_time
+ .xip_toc build_tag, P9_XIP_STRING, __build_tag
////////////////////////////////////////////////////////////////////
// Other Information - 1-byte aligned; 8 entries; TOC-Indexed
@@ -118,7 +121,7 @@ __header_8_reserved:
__build_user:
.asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters
+ .asciz "unknown " # 40 characters
__header_string_reserved:
.space 8, 0
OpenPOWER on IntegriCloud