Skip to content

Commit

Permalink
Enable CFM testing of new target data
Browse files Browse the repository at this point in the history
  Create CFM attribute and target xml files.
  Used for Concurrent Firmware Maintenance testing.

Change-Id: Ie2c1fe468bb533f40863a1b15a2cb9577eeb6220
RTC:181484
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62027
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
cvswen authored and dcrowell77 committed Jul 18, 2018
1 parent a0ee54b commit c2acd29
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 0 deletions.
90 changes: 90 additions & 0 deletions src/usr/targeting/common/xmltohb/attribute_types_cfm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!-- IBM_PROLOG_BEGIN_TAG -->
<!-- This is an automatically generated prolog. -->
<!-- -->
<!-- $Source: src/usr/targeting/common/xmltohb/attribute_types_cfm.xml $ -->
<!-- -->
<!-- OpenPOWER HostBoot Project -->
<!-- -->
<!-- Contributors Listed Below - COPYRIGHT 2012,2018 -->
<!-- [+] International Business Machines Corp. -->
<!-- -->
<!-- -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
<!-- you may not use this file except in compliance with the License. -->
<!-- You may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. See the License for the specific language governing -->
<!-- permissions and limitations under the License. -->
<!-- -->
<!-- IBM_PROLOG_END_TAG -->

<attributes>

<!-- =====================================================================
CONCURRENT FIRMWARE UPDATE ATTRIBUTE TYPES
Contains the definition of attributes used to test CFM
================================================================= -->

<attribute>
<description>
CFM test attribute - volatile-zeroed
</description>
<id>CFM_TEST_VZ</id>
<persistency>volatile-zeroed</persistency>
<readable></readable>
<simpleType>
<uint32_t>
</uint32_t>
</simpleType>
</attribute>

<attribute>
<description>
CFM test attribute - volatile writeable
</description>
<id>CFM_TEST_V_WR</id>
<persistency>volatile</persistency>
<readable></readable>
<writeable></writeable>
<simpleType>
<uint32_t>
<default>0x33EFE76B</default>
</uint32_t>
</simpleType>
</attribute>

<attribute>
<description>
CFM test attribute - non-volatile read-only
</description>
<id>CFM_TEST_NV_RO</id>
<persistency>non-volatile</persistency>
<readable></readable>
<simpleType>
<uint32_t>
<default>0x75804084</default>
</uint32_t>
</simpleType>
</attribute>

<attribute>
<description>
CFM test attribute - non-volatile writeable
</description>
<id>CFM_TEST_NV_WR</id>
<persistency>non-volatile</persistency>
<readable></readable>
<writeable></writeable>
<simpleType>
<uint32_t>
<default>0x90359461</default>
</uint32_t>
</simpleType>
</attribute>

</attributes>
50 changes: 50 additions & 0 deletions src/usr/targeting/common/xmltohb/target_types_cfm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!-- IBM_PROLOG_BEGIN_TAG -->
<!-- This is an automatically generated prolog. -->
<!-- -->
<!-- $Source: src/usr/targeting/common/xmltohb/target_types_cfm.xml $ -->
<!-- -->
<!-- OpenPOWER HostBoot Project -->
<!-- -->
<!-- Contributors Listed Below - COPYRIGHT 2012,2018 -->
<!-- [+] International Business Machines Corp. -->
<!-- -->
<!-- -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
<!-- you may not use this file except in compliance with the License. -->
<!-- You may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. See the License for the specific language governing -->
<!-- permissions and limitations under the License. -->
<!-- -->
<!-- IBM_PROLOG_END_TAG -->

<attributes>

<!-- =====================================================================
CONCURRENT FIRMWARE UPDATE TARGETS
Contains the definition of CFM target type extensions
to add CFM attributes to common target types
================================================================= -->

<targetTypeExtension>
<id>sys-sys-power9</id>
<attribute><id>CFM_TEST_VZ</id></attribute>
<attribute><id>CFM_TEST_V_WR</id></attribute>
<attribute><id>CFM_TEST_NV_RO</id></attribute>
<attribute><id>CFM_TEST_NV_WR</id></attribute>
</targetTypeExtension>

<targetTypeExtension>
<id>chip-processor</id>
<attribute><id>CFM_TEST_VZ</id></attribute>
<attribute><id>CFM_TEST_V_WR</id></attribute>
<attribute><id>CFM_TEST_NV_RO</id></attribute>
<attribute><id>CFM_TEST_NV_WR</id></attribute>
</targetTypeExtension>

</attributes>

0 comments on commit c2acd29

Please sign in to comment.