summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/xml
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2016-01-28 07:54:55 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-21 10:53:01 -0400
commit60685e0878ee18e61616c4c10162f746e38f7933 (patch)
treec8264831e159bac5c80733776b9bc026c6ca0599 /src/import/chips/p9/procedures/xml
parentfb9ba37e882c15425e9db071b60aefe5fdda083e (diff)
downloadtalos-hostboot-60685e0878ee18e61616c4c10162f746e38f7933.tar.gz
talos-hostboot-60685e0878ee18e61616c4c10162f746e38f7933.zip
PM: Added hcode image build support for SGPE and CME.
In this commit, nested xip structure of hardware image is traversed and hcode for following platform is copied to to relevant area in HOMER: - SGPE - CME - P9 Self Restore code RTC: 145583 Change-Id: I5127ab5d4e498e1b2db9ae8bcefef933be961855 Original-Change-Id: I8f91e34aff81b4c9218be5a380e3336913cbd7c9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/10675 Tested-by: Jenkins Server Tested-by: Auto Mirror Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Tested-by: Hostboot CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22229 Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/import/chips/p9/procedures/xml')
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/p9_hcode_image_build_attributes.xml33
-rwxr-xr-xsrc/import/chips/p9/procedures/xml/error_info/p9_hcode_image_build_errors.xml105
2 files changed, 138 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/p9_hcode_image_build_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/p9_hcode_image_build_attributes.xml
new file mode 100644
index 000000000..782facfff
--- /dev/null
+++ b/src/import/chips/p9/procedures/xml/attribute_info/p9_hcode_image_build_attributes.xml
@@ -0,0 +1,33 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: chips/p9/procedures/xml/attribute_info/p9_hcode_image_build_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015,2016 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<!--nest_attributes.xml-->
+<attributes>
+<!-- ********************************************************************** -->
+<attribute>
+ <id>ATTR_FUSED_CORE_MODE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ Summarizes the fused status of cores. This is same for all P9 chips
+ in the system. If a core is in a fused state, attribute should read 1
+ else zero. It needs to be populated during ipl but before istep 15.
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+</attribute>
+</attributes>
diff --git a/src/import/chips/p9/procedures/xml/error_info/p9_hcode_image_build_errors.xml b/src/import/chips/p9/procedures/xml/error_info/p9_hcode_image_build_errors.xml
new file mode 100755
index 000000000..9205b1307
--- /dev/null
+++ b/src/import/chips/p9/procedures/xml/error_info/p9_hcode_image_build_errors.xml
@@ -0,0 +1,105 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: chips/p9/procedures/xml/error_info/p9_hcode_image_build_errors.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015,2016 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+<!-- File: p9_hcode_image_build_errors.xml. -->
+<!-- Error definitions for p9_hcode_image_build.C -->
+<hwpErrors>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_IMG_PTR_ERROR</rc>
+ <description>Image pointers passed are either bad or point to same location.</description>
+ <ffdc>HW_IMG_BUF_PTR</ffdc>
+ <ffdc>HOMER_IMG_BUF_PTR</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_HW_IMAGE_INVALID_SIZE</rc>
+ <description>Hardware Image size is not in expected range </description>
+ <ffdc>HW_IMG_SIZE</ffdc>
+ <ffdc>MAX_HW_IMG_SIZE</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_HCODE_INVALID_PHASE</rc>
+ <description>System phase is neither IPL nor Hypervisor</description>
+ <ffdc>SYS_PHASE</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_HCODE_INVALID_TEMP_BUF</rc>
+ <description>Temporary buffer is invalid.</description>
+ <ffdc>TEMP_BUF_PTR</ffdc>
+ <ffdc>TEMP_BUF_SIZE</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_HCODE_INVALID_IMG_TYPE</rc>
+ <description>Invalid image type passed for hcode image build.</description>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_SGPE_BUILD_FAIL</rc>
+ <description>hcode image build procedure failed to add sgpe image</description>
+ <ffdc>SGPE_FAIL_SECTN</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_SELF_RESTORE_BUILD_FAIL</rc>
+ <description>hcode image build procedure failed to add core self restore image</description>
+ <ffdc>SELF_RESTORE_FAIL_SECTN</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+ <rc>RC_P9_CME_BUILD_FAIL</rc>
+ <description>hcode image build procedure failed to add CME image</description>
+ <ffdc>CME_FAIL_SECTN</ffdc>
+ <callout>
+ <procedure>CODE</procedure>
+ <priority>HIGH</priority>
+ </callout>
+ </hwpError>
+ <!-- *********************************************************************** -->
+</hwpErrors>
OpenPOWER on IntegriCloud