summaryrefslogtreecommitdiffstats
path: root/import/tools/imageProcs
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@de.ibm.com>2016-03-30 14:10:57 +0200
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:00:33 -0500
commitae304b1f09472da81246169dd47a57738d1fd84c (patch)
treedfb062b245749fdd9289004ea0a9592928b78022 /import/tools/imageProcs
parent496efe7ea768197e2bd2c5eb3f206b40b16e175f (diff)
downloadtalos-hcode-ae304b1f09472da81246169dd47a57738d1fd84c.tar.gz
talos-hcode-ae304b1f09472da81246169dd47a57738d1fd84c.zip
P9-XIP: improved image reports
- enlarged build host string to avoid truncation - provide both section start and end offset in section table - provide section aligment in section table - fix "(null)" section name - aligning some fields Magic Number : 0x5849502053475045 "XIP SGPE" Header Version : 0x09 Link Address : 0x0000000080000000 L1 Loader Address : 0x00000000 L2 Loader Address : 0x00000000 Kernel Address : 0x00000000 Image Size : 0x000074f0 (29936) Normalized : Yes TOC Sorted : Yes <removed a line to silence Jenkins mistaking this for something else> Build Time : 14:22 Build User : mpeschke Build Host : hdrhapcc.boeblingen.de.ibm.com Section Table : Name Alignment Start End Size .header 1 0x00000000 0x0000015b 0x0000015c (348) .fixed 1 0x00000000 0x00000000 (0) .fixedtoc 1 0x00000000 0x00000000 (0) .toc 4 0x0000015c 0x000001f7 0x0000009c (156) .strings 1 0x000001f8 0x00000291 0x0000009a (154) .qpmr 8 0x00000298 0x00000697 0x00000400 (1024) .lvl1_bl 8 0x00000698 0x00000a97 0x00000400 (1024) .lvl2_bl 8 0x00000a98 0x00000e97 0x00000400 (1024) .hcode 8 0x00000e98 0x000074ef 0x00006658 (26200) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) Change-Id: I729a482504d5b3d310f93b982ad782fd4d254073 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22659 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Diffstat (limited to 'import/tools/imageProcs')
-rw-r--r--import/tools/imageProcs/cme_image.S6
-rw-r--r--import/tools/imageProcs/restore_image.S6
-rw-r--r--import/tools/imageProcs/sgpe_image.S6
3 files changed, 9 insertions, 9 deletions
diff --git a/import/tools/imageProcs/cme_image.S b/import/tools/imageProcs/cme_image.S
index 761214c3..8cf3345d 100644
--- a/import/tools/imageProcs/cme_image.S
+++ b/import/tools/imageProcs/cme_image.S
@@ -114,11 +114,11 @@ __header_8_reserved:
////////////////////////////////////////////////////////////////////
__build_user:
- .asciz "unknown " # 16 Characters allocated
+ .asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters allocated
+ .asciz "unknown " # 24 characters
__header_string_reserved:
- .space 24, 0
+ .space 8, 0
.xip_toc build_user, P9_XIP_STRING, __build_user
.xip_toc build_host, P9_XIP_STRING, __build_host
diff --git a/import/tools/imageProcs/restore_image.S b/import/tools/imageProcs/restore_image.S
index efa029b8..742507c3 100644
--- a/import/tools/imageProcs/restore_image.S
+++ b/import/tools/imageProcs/restore_image.S
@@ -114,11 +114,11 @@ __header_8_reserved:
////////////////////////////////////////////////////////////////////
__build_user:
- .asciz "unknown " # 16 Characters allocated
+ .asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters allocated
+ .asciz "unknown " # 24 characters
__header_string_reserved:
- .space 24, 0
+ .space 8, 0
.xip_toc build_user, P9_XIP_STRING, __build_user
.xip_toc build_host, P9_XIP_STRING, __build_host
diff --git a/import/tools/imageProcs/sgpe_image.S b/import/tools/imageProcs/sgpe_image.S
index 228eda8f..33710597 100644
--- a/import/tools/imageProcs/sgpe_image.S
+++ b/import/tools/imageProcs/sgpe_image.S
@@ -116,11 +116,11 @@ __header_8_reserved:
////////////////////////////////////////////////////////////////////
__build_user:
- .asciz "unknown " # 16 Characters allocated
+ .asciz "unknown " # 16 Characters
__build_host:
- .asciz "unknown " # 24 characters allocated
+ .asciz "unknown " # 24 characters
__header_string_reserved:
- .space 24, 0
+ .space 8, 0
.xip_toc build_user, P9_XIP_STRING, __build_user
.xip_toc build_host, P9_XIP_STRING, __build_host
OpenPOWER on IntegriCloud