2b7c1bfd | 09-Sep-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Change the entity type for system
In the current pldm code, we are using a number 11521 for representing a system and this value is not in the Spec and is vendor defined(OEM).
Changing it to Logica
Change the entity type for system
In the current pldm code, we are using a number 11521 for representing a system and this value is not in the Spec and is vendor defined(OEM).
Changing it to Logical Chassis (32813), so the BMC tree would start with logical chassis as a parent , and under that we would have physical chassis.
Tested By : 1. Entity Association PDR { "nextRecordHandle": 73, "responseCount": 26, "recordHandle": 72, "PDRHeaderVersion": 1, "PDRType": "Entity Association PDR", "recordChangeNumber": 0, "dataLength": 16, "containerID": 1, "associationType": "Physical", "containerEntityType": "[Logical] System chassis (main enclosure)", "containerEntityInstanceNumber": 1, "containerEntityContainerID": 0, "containedEntityCount": 1, "containedEntityType[1]": "[Physical] System chassis (main enclosure)", "containedEntityInstanceNumber[1]": 1, "containedEntityContainerID[1]": 1 }
2. FRU Record PDR { "nextRecordHandle": 2, "responseCount": 20, "recordHandle": 1, "PDRHeaderVersion": 1, "PDRType": "FRU Record Set PDR", "recordChangeNumber": 0, "dataLength": 10, "PLDMTerminusHandle": 0, "FRURecordSetIdentifier": 1, "entityType": "[Logical] System chassis (main enclosure)", "entityInstanceNumber": 1, "containerID": 0 }
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I0a2aa5a9e3da4ea860bb3fa43322e8889e666d2f
show more ...
|
be06bc92 | 20-Sep-2021 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Update CPU entity info for sensor LEDs
Testing Results: Change-Id: I4f6740bd38d8debfef50c73e59fe31ac63ab0fc8 ----------------
CPU Identify LED ==============
pldmtool platform getpdr -d 224 {
Update CPU entity info for sensor LEDs
Testing Results: Change-Id: I4f6740bd38d8debfef50c73e59fe31ac63ab0fc8 ----------------
CPU Identify LED ==============
pldmtool platform getpdr -d 224 { "nextRecordHandle": 225, "responseCount": 27, "recordHandle": 224, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 17, "entityType": "[Physical] Processor", "entityInstanceNumber": 3, "containerID": 4, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Identify State(17)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Identify State Unasserted(1)", "Identify State Asserted(2)" ] }
pldmtool platform GetStateSensorReadings -i 17 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Normal" }
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cpu1_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 17 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
CPU fault LED =============
pldmtool platform getpdr -d 323 { "nextRecordHandle": 324, "responseCount": 27, "recordHandle": 323, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 116, "entityType": "[Physical] Processor", "entityInstanceNumber": 1, "containerID": 4, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Operational Fault Status(10)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Normal(1)", "Stressed(2)" ] }
pldmtool platform GetStateSensorReadings -i 116 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cpu0_fault xyz.openbmc_project.Led.Group Asserted b false
pldmtool platform GetStateSensorReadings -i 116 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Normal"
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com> Change-Id: Idea70b18a994923e8d6d13416a09c9b8bc0a384e
show more ...
|
20b5de4a | 06-Sep-2021 |
Sridevi Ramesh <sridevra@in.ibm.com> |
Update dimm & pcieslot entity info for sensor LEDs.
Note: separate commit is pushed for effecter LEDs.
Testing Result: Change-Id: I9df38e10668a83650fd821e4a52f4c010801a2bd ----------------
Example
Update dimm & pcieslot entity info for sensor LEDs.
Note: separate commit is pushed for effecter LEDs.
Testing Result: Change-Id: I9df38e10668a83650fd821e4a52f4c010801a2bd ----------------
Example for dimm update: -----------------------
{ "nextRecordHandle": 263, "responseCount": 27, "recordHandle": 262, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 55, "entityType": "[Physical] Memory Chip", "entityInstanceNumber": 32, "containerID": 3, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Identify State(17)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Identify State Unasserted(1)", "Identify State Asserted(2)" ] } busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 55 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
}
"nextRecordHandle": 364, "responseCount": 27, "recordHandle": 363, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 156, "entityType": "[Physical] Memory Chip", "entityInstanceNumber": 32, "containerID": 3, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Operational Fault Status(10)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Normal(1)", "Stressed(2)" ] }
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_fault xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 156 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
Example for cable card update for effecter LED -------------------------------------------------
pldmtool platform getpdr -d 103 { "nextRecordHandle": 104, "responseCount": 27, "recordHandle": 103, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 13, "entityType": "[Physical] Connector", "entityInstanceNumber": 1, "containerID": 10, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Identify State(17)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Identify State Unasserted(1)", "Identify State Asserted(2)" ] }
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 13 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
pldmtool platform getpdr -d 204 { "nextRecordHandle": 205, "responseCount": 27, "recordHandle": 204, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 114, "entityType": "[Physical] Connector", "entityInstanceNumber": 1, "containerID": 10, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "Operational Fault Status(10)", "possibleStatesSize[0]": 1, "possibleStates[0]": [ "Normal(1)", "Stressed(2)" ] }
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_fault xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 114 -r 0 { "compositeSensorCount": 1, "sensorOpState[0]": "Sensor Enabled", "presentState[0]": "Sensor Normal", "previousState[0]": "Sensor Unknown", "eventState[0]": "Sensor Warning" }
Change-Id: Ib3643aa34ca6538e56e13e6950cc64b59fa2bc5e Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
show more ...
|