summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi
AgeCommit message (Collapse)AuthorFilesLines
2018-04-24openpower-ipmi-oem.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I9fbf94ebb374a764bc4afdff9b4293a89bc75830 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16openpower:added "mutability"Jayanth Othayoth1-0/+2
Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: I3dcc27526adc2a5d6b1206e8beee66093220763a Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2018-03-23Clean up stale obmc-phosphor-utils referencesBrad Bishop1-1/+0
There were a number of places that inherited this class but did not use it. A number of classes that did use it did not inherit it. This was possible because the class was pulled in by the distro configuration but that has been removed here as well. Tested: Built and verified a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I73511cdcc609875b4fe016967c1b84c5200fb703
2018-03-13Remove obmc-openpower-* machine featuresBrad Bishop2-2/+2
The openpower layer supports a usage pattern of building non openpower systems with the openpower layer included in the layer configuration (introduced with 008b81bb). As a part of 008b81bb a number of distro and machine features were added. As with MRW and UBI before it, these features are distro policy and not machine features. As such remove the machine features. Additionally converge the three feature variants down to a single openpower feature since there aren't any in-tree systems that don't enable all three. Add a distro override and fix up combined feature checks to use this override instead for improved readability. Add a new distro configuration that enables these features and point all Openpower sample local.conf files to this new distro config. Tested: Built and validated Witherspoon, Palmetto images Change-Id: Ifa3df61fbe1803f00c38956c265604ba91d7d127 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-21ipmi: Move ipmi sensor config recipeBrad Bishop1-0/+1
The sensor config recipe is a native recipe. Native recipes do not build packages and therefore cannot be a packagegroup. Do not inherit packagegroup and remove references to variables without meaning in native context like PACKAGES. Rename the recipe to reflect its status as a native recipe. Move the recipe to the ipmi namespace since it isn't a packagegroup. Fix up the associated bbappend in the OpenPower layer. This eliminates a number of "manifest-foo:populate_sysroot not found" build warnings. Change-Id: Id56896efaa7e11a2427047d896ee36e69139de31 Tested: Built a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-14FRU: Add Entity ID in the host FRU inventory yamlRatan Gupta1-0/+6
This commit also adds the entityID and entityInstance property for BMC FRUS config yaml. These attributes are required to pass it through Get SDR command. Currently we support two types of record format through Get SDR 1) FULL Record. 2) FRU Record. Resolves openbmc/openbmc#2823 Change-Id: Ie7424fbc493dde5070a2c65c74ba83565154b9d4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2018-02-13ipmi volatile sensor: Add name pattern fieldAdriana Kobylak1-0/+1
With openbmc commit b9717cebd3a26f94d2fe8767fcd4c2ddab2f05ab, a new ipmi sensor field called sensorNamePattern was added to the yaml files. Need it for the volatile sensor as well. Change-Id: I423fc321f361faea383b9e3f350db1813ed46776 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-02-13Add Volatile sensor to ipmi inventoryAdriana Kobylak1-0/+15
Add the Volatile sensor to the openpower ipmi sensor mrw config. The Volatile sensor will be set by the hostboot code. Part of openbmc/openbmc#2397 Change-Id: Ic6d492326707a5f277e399c722be43311bb563f4 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-02-06sensor: Modify config for sensor to add additional fieldsTom Joseph1-0/+1
Added entity ID, entity instance and sensor naming pattern to the generated sensor yaml. Resolves openbmc/openbmc#2612 Change-Id: Ie4dc9548833cb30126e873a7597b2be9b1ea7f79 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-01-16meta-openpower: Predicate packages on MACHINE_FEATURESXo Wang1-1/+1
Change packages enabled by meta-openpower to be enabled if and only if both its corresponding feature string (obmc-openpower, obmc-openpower-extra, obmc-openpower-legacy) are present in both MACHINE_FEATURES and DISTRO_FEATURES. Fixes openbmc/openbmc#2652. Change-Id: Ife1a9b08e94bd85a888d584a0caa4dbfa6a172c0 Signed-off-by: Xo Wang <xow@google.com>
2017-10-26Copy the error yaml's for logging manager parsingTom Joseph2-0/+20
Resolves openbmc/openbmc#2380 Change-Id: I9eb6a203e030d0e11141df2dcf099d9d23b9ebf1 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-10-26Move SRC_URI and SRC_REV to the .inc fileTom Joseph2-4/+9
Add suuport to run sdbus++ to generate code from error yaml. Change-Id: I5bc8e5d7c0d6f511e0022fea812bdab3e833f894 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-10-26openpower-ipmi-oem.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Iad35b57c3cd5b25efea42177474cc159062b8150 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-26Change the NetFn for Partial Add eSEL command.Tom Joseph1-1/+1
Resolves openbmc/openbmc#2510 Change-Id: I0b36c49c5fc0d6e6146ea499a9b2daf24dd95c10 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-10-25openpower-ipmi-oem.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Id28a1a02dac4349a67bdb25ecbdbbf47cb290b1a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-12ipmi: sensor config yaml updatesDhruvaraj Subhashchandran1-8/+9
When marking a unit as functional both functional state and presence need to be checked to avoid marking non-present units as functional. There was a change in yaml structure for accomodating fix for marking non-present units as functional. All these yamls are not sorted by sensor id, so it will easier for a future script based change. Change-Id: I122d652de32ba4f323ee7b31a59078d86e158246 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-09-26Inventory: Add type-only inventory interfaces to config filesMarri Devender Rao1-0/+6
Added object specific type-only interfaces to the host ipmi and vpd layout files. Applications can watch on these interfaces to determine if the interested inventory objects are created. Change-Id: Ibea36f07a5e3ee75f084e96ce1e45b3e5766e414 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-08-17openpower-ipmi-oem.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ica5b38fe0305a60c384e01e984bf1e6c5803ce0f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-17openpower-ipmi-oem: add recipe DEPENDsPatrick Williams1-0/+11
Change-Id: I039ec6edad495ee5afe22ed703257ea9e2f7f49f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-16ipmi sensors: fix d-bus mappings in input yamlDeepak Kodihalli1-2/+1
A system specific YAML file helps map ipmi sensors to corresponding d-bus objects. This YAML was using the sensor type as the key. This was an issue because there is a possibility of different sensors, with the same sensor type, mapping to different d-bus objects and interfaces. While still maintaining the sensor number as the key in the "output" YAML (generated by an MRW parser), use the sensor instance name as the key in the input YAML. This helps to have 1x1 mappings between sensors and d-bus objects. Resolves openbmc/openbmc#2130. Change-Id: I3e87fa88d8622615f1a21aa46084f7082dcc4d0f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-08-08Configuration yaml changes for virtual sensorsDhruvaraj Subhashchandran2-0/+31
Change-Id: I270a62022340d6be382091a6595859dafdb634ae Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-06-16openpower-ipmi-oem.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ic83f9f63146fad3355c0b377553a49d0fd337ab1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-07Fix the mapping of IPMI chassis info area part numberRatan Gupta1-4/+1
This fix maps the chassis info area partnumber to the model property of dbus object. Resolves openbmc/openbmc#1729 Change-Id: I3974065bb8e3cfc5d5ac9a827546ec8095f717e0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-02-22Inventory: Map chassis fru dataRatan Gupta1-84/+103
Make the association for chassis. Update mrw revision due to co-req with script changes. Change-Id: I42ef9edbf9714d302d7afe2a0851f5ca6f2fe579 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-21IPMI Whitelisted commands for FRU and OEM repositoriesTom Joseph2-0/+8
The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem is added. Only the IPMI whitelisted listed commands are allowed in restricted mode. The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem are added as native packages and host-ipmid depends on those. Change-Id: Ic4184773656567eb0dffa30ef29f8bc3ced3aff4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-02-17Inventory: map custom IPMI propertiesRatan Gupta1-1/+8
Here we are mapping the EC(Engineering Change) property of the processor, which comes as a custom field in the ipmi fru packet. Change-Id: Id136433ed4b33669eae3e50562a4f6517330fc08 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-02-14Changes to conform to IPMI FRU specDeepak Kodihalli1-14/+13
Change-Id: I5b0a32c24bcca0b1210926a2c68531b81464ad3c Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-02-02ipmi: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop2-0/+102
This virtual provides a configuration file that describes host firmware implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe for Hostboot on OpenPower systems. Set the default provider to the example. Set the default on OpenPOWER systems to the hostboot recipe. Change-Id: Iff56c5c0c2ea8aec7ecaa5a5d981da6f88a894f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-01IPMI: Update versions on all packages.Patrick Williams1-1/+1
openpower-ipmi-oem.bb: bump version phosphor-ipmi-fru.inc: bump version phosphor-ipmi-host.bb: bump version phosphor-net-ipmid.bb: bump version Change-Id: I565647887f0a8eefceeb0fd6e57372aab02b1b92 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-01Create symlink for IPMI Provider librariesTom Joseph1-1/+6
The IPMI provider libraries are installed into /usr/lib/ipmid-providers. If the provider library is applicable for host-ipmid channel then soft link is created to /usr/lib/host-ipmid. In this way the soft links are created for the provider library to the corresponding directory. Change-Id: I586bc830efd2b1d1ff1941181d1aa8d9a400f628 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-01-25Rename host-ipmid -> phosphor-ipmi-hostBrad Bishop1-1/+1
Attempt at consistant naming convention of ipmi recipes. Change-Id: I9828503a61bccd83dc0294a3dca2db2d9981593b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-25op-ipmi-oem: Improve descriptionBrad Bishop1-2/+2
Reword the description and summary to more accurately reflect what the recipe is - a plugin to the Phosphor IPMI framework that handles OpenPOWER OEM commands. Change-Id: I196b1d20a8c6a39880de93b844fa0884e6a1b9c1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-25ipmi-oem: Rename openpower ipmi oem recipeBrad Bishop1-0/+20
Rename host-ipmid-oem to openpower-ipmi-oem as this is an OpenPower specific IPMI plugin. Move to the OpenPOWER layer. Change-Id: Idf0de216a4a49f6ad377001052abfce13dd20aaf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>