summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/fans
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-fan.inc: bump versionPatrick Williams2017-06-131-1/+1
| | | | | Change-Id: Ic83c36f6e731cb6186725ec84ce45788234e8388 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Fix up recipes to address missing fan appsBrandon Wyman2017-06-121-1/+1
| | | | | | | | | | | Change to use the "softer" default value for PACKAGECONFIG by default. Change to append extra paths in bbappend for Witherspoon. Fix up/change some names in bbappend file for Witherspoon. Resolves openbmc/openbmc#1765 Change-Id: I316e1e857b008ccd67e922698ee7e0a9c5d222fc Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-06-091-1/+1
| | | | | Change-Id: I1399938297ee3d14b70f26e4d2253471e67264fb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Create recipe files for phosphor-cooling-typeBrandon Wyman2017-06-081-8/+6
| | | | | | | | | | | Adding service file for this application. Environment file for Witherspoon. This is currently the only system known to really need this check for water cooling property to be set/updated. Resolves openbmc/openbmc#370 Change-Id: I978de38d09111c38d77e1ca4b287724243acf0a9 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-06-071-1/+1
| | | | | Change-Id: I8d9dae999b207ff9cf5d6a8672385124483a1a65 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Install events yaml for fan controlMatthew Barth2017-06-053-0/+19
| | | | | | | | | | | | Updated the fan control recipe files to include the events config yaml file. For witherspoon, an events yaml file was added initially supporting the fan degraded events of missing or containing a nonfunctional fan resulting in the fans running at full speed. Resolves openbmc/openbmc#944 Change-Id: I5cbc69694d2a05ec2d5daab55f045e1e28764828 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-06-041-1/+1
| | | | | Change-Id: I0f005531592f69e91f6f3697adfd693e3b389ce9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan: Fix a whitespace errorBrad Bishop2017-06-031-1/+1
| | | | | Change-Id: I499e8fd282cb7db33dbc88ad2c36aa52b9b94f86 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-301-1/+1
| | | | | Change-Id: I6e515c49b63523b4f554fb1fbf03002848b63cf4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-241-1/+1
| | | | | Change-Id: I5f0eeebb79aaff96e95ef8d25defbc296d3f16f8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-221-1/+1
| | | | | Change-Id: Ib40ccc624a101607ac1b45bed5a59109f76034a1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Make use of obmc-fan-control-ready@.targetMatt Spinler2017-05-224-12/+29
| | | | | | | | | | | | | | | | | | | | | | This involves the following: * Start the fan-control-init@.service on a power on. * That service will set fans to full speed, delay for a bit, and then start the obmc-fan-control-ready target. * This target will start the fan monitor and real fan control services. * On a power off, the target and these services will be deactivated. Doing it this way ensures the fans will have had time to ramp up from a cold start before applications start looking at them. Currently, on a reboot at runtime the same thing will occur. The watchdog would have already brought the fans to high speed, so this will extend that time at full speed by another 20 (or similar, it's configurable) seconds, ensuring we know what speed the fans are at. Resolves openbmc/openbmc#1567 Change-Id: I73a1f91f0efaf319df97b59334073116d45f40c3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-151-1/+1
| | | | | Change-Id: Ieff2a1cf20b2c7329db046caa23df5dadc7e6221 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Install phosphor-fan-monitor app and serviceMatt Spinler2017-05-123-2/+35
| | | | | | | Resolves openbmc/openbmc#1346 Change-Id: I9abac19b18b02158ff4fdae6e94406b64957cefb Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Install fan monitor yamlMatt Spinler2017-05-112-0/+17
| | | | | | | | | | | | | The phosphor-fan-monitor-config-native recipe will install the fan monitor configuration yaml so other recipes can use it. To install a system specific version of the yaml, a .bbappend in that system's layer should be used, otherwise an empty yaml file will be installed. Change-Id: I310704846915320b5644eda1d5b933471436b2f9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Install phosphor-fan-control app and serviceMatt Spinler2017-05-113-10/+39
| | | | | | | | | | | | Also move the fan presence and fan control services into obmc-power-chassis-on.target so they start as soon as power comes on so it covers cases when the boot stops at obmc-chassis-poweron.target. Resolves openbmc/openbmc#1445 Change-Id: Idc271a2d770d85bc1a4d51d8d1473ca8d0c73889 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Recipes for installing fan definition yamlMatt Spinler2017-05-053-0/+46
| | | | | | | | | | | | | | | | | | This provides the phosphor-fan-control-fan-config virtual to define the fans required by phosphor-fan-control. On systems with the MRW, phosphor-fan-control-fan-config-mrw-native.bb will be used and will run a perl script to generate the yaml from data in the MRW XML. On systems without the MRW, if nothing else is done a default fans.yaml file will be installed into the correct location by phosphor-fan-control-fan-config-native.bb. To install a system specific version, put it into that system's layer along with a .bbappend of this recipe. Change-Id: I36889a33e16a456a04b94aba7326dd674bfd2904 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Recipes for installing fan zone yamlMatt Spinler2017-05-052-0/+17
| | | | | | | | | | | | | | Provides the virtual/phosphor-fan-control-zone-config virtual. By default, it will install an empty zones.yaml file into the directory needed by the phosphor-fan-control compile. To provide a system specific fan zone yaml, put one in that system's layer and install it with a .bbappend, which is what is being done in this commit for Witherspoon. Change-Id: Ie58fc9eb7b39cecffa39905266542bae16c0f977 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-051-1/+1
| | | | | Change-Id: I99d62b1aeb581d86d4493fe5e246031b3639ab69 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan.inc: bump versionPatrick Williams2017-05-021-1/+1
| | | | | Change-Id: I714b0263dcfdf7e2ef23ce2f91875caa8182125f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan: Fix SRC_URI and SRC_REV from renameBrandon Wyman2017-04-291-2/+2
| | | | | | | | Commit bd9931fc changed SRC_URI to 'bradbishop'. Revert to 'openbmc' and set SRC_REV to a valid commit. Change-Id: I16f6720140458c659a6598c301fa95ce18062814 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Rename phosphor-fan-presenceBrad Bishop2017-04-286-56/+70
| | | | | | | | | A number of fan related applications are hosted by a single git repository. Rename the recipe from phosphor-fan-presence to phosphor-fan to cut down on confusion. Change-Id: Ie9cdabb96d070c2f3666ff83c7ca37b0f152a2b3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Refactor action target names Host-start-stopJosh D. King2017-04-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Removed CHASSIS_FMT and CHASSIS_LINK_FMT because they are no longer needed. CHASSIS_POWER_FMT_2 did not change because its used for obmc-chassis-reset. Deleted files obmc-chassis-start@.target and obmc-chassis-stop@.target because they are no longer needed. I moved over their contents to obmc-host-start and obmc-host-stop. Updated phosphor-state-manager.bb and skeleton-rev.bbclass to have correct commit id. Change-Id: I26cba4153038f39d60e8d450a05969a216848abe Signed-off-by: Josh D. King <jdking@us.ibm.com>
* Add stub for phosphor-chassis-cooling-typeBrad Bishop2017-04-171-2/+8
| | | | | | | | Add a stub recipe for this package under development. Add the libev package to all images via runtime dependency. Change-Id: I59ed1a556f08979a70d506d38a9bf267c3e9a220 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* fans: Add sdbusplus as a runtime dependencyBrad Bishop2017-04-121-1/+2
| | | | | | | | | This was mistakenly removed when the phosphor-fan-presence recipe was udpated to provide more than the default $PN package. Add sdbusplus back as an rdepends for ${PN}-tach. Change-Id: I8f6b1d588d3be12e9e2c7f9f2ad27cc913e52f7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fans: Add libevdev to imageBrad Bishop2017-04-041-0/+1
| | | | | | | | | Add a dependency on libevdev in support of development of the phosphor-cooling-type application, which will use libevdev + gpio_keys. Change-Id: I436f9329dd64935b88b9f75375065eed618c45dd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Provide the phosphor-fan-presence config YAMLMatt Spinler2017-03-284-6/+55
| | | | | | | | | On MRW based systems, this YAML will be generated from the MRW XML, otherwise the example YAML provided by the phosphor-fan-presence repository will be used in the build. Change-Id: I1bf914a7e26067f62f2b2bf8b7ba1ba43591c5dc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan-presence.bb: bump versionPatrick Williams2017-03-271-1/+1
| | | | | Change-Id: I8aec1d5fe8319eb2b77cdbab56870bc986c6c599 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan-presence.bb: bump versionPatrick Williams2017-03-211-1/+1
| | | | | Change-Id: I4ff2ebcf6a080bf265fc62db0f22ab287d7e3a0e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan-presence.bb: bump versionPatrick Williams2017-03-211-1/+1
| | | | | Change-Id: I14837827bd9e5ab77b6e8aafd4366c13d9394fb6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move object_mapper per dbus path conventions.Patrick Williams2017-03-201-1/+1
| | | | | | | | | | | | | | | | | | phosphor-fan-presence.bb: bump version phosphor-inventory-manager.inc: bump version phosphor-ipmi-host.bb: bump version skeleton-rev.bbclass: bump version phosphor-led-manager.inc: bump version phosphor-mapper.bb: bump version phosphor-ipmi-fru.inc: bump version phosphor-state-manager.bb: bump version phosphor-logging.bb: bump version openpower-fru-vpd.inc: bump version Resolves openbmc/openbmc#1112. Change-Id: Iaf32b0e828dc4f2da021eae9b8e1d440042841d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add phosphor-fan-presence to bitbakeMatthew Barth2017-03-152-0/+52
| | | | | | | | Created phosphor-fan-presence recipe along with service file to run the phosphor-fan-presence-tach daemon. Change-Id: I7211d51eaf48648e7bf2f838edee49ecadb534fb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Change obmc-phosphor-fan to use fanctlPatrick Williams2016-10-102-8/+5
| | | | | | | | | | A new fanctl module is added in skeleton to replace pyfanctl. fanctl is written in C instead of python. Partially resolves openbmc/openbmc#93 Change-Id: I404176f3d526027abac089a4c168240ba6ae69b1 Signed-off-by: Yi Li <adamliyi@msn.com>
* remove manager classesBrad Bishop2016-09-141-1/+3
| | | | | | | | | | | The value added by these classes is minimal and lowers the flexibility available to clients using them when it comes to packaging. Rename recipe virtuals - obmc-phosphor seems redundant. Align package virtual names with best practices (virtual-package). Change-Id: I34c3cb03f6b1d2aaa734ed02078b388667f70917 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Update service unit descriptionsBrad Bishop2016-09-131-1/+1
| | | | | | | Going for consistency: Phosphor xxx Change-Id: I04778ed868874ef5004724bc6b31adc4aa2367ad Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Use systemd substitutionsBrad Bishop2016-09-131-2/+2
| | | | | | | | Make use of the new substitution feature in the Phosphor systemd bitbake class. Change-Id: I2db85347809ef557a53e92af3ffcf17c8003b3ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Drop obmc-phosphor- prefix from recipe collectionsBrad Bishop2016-09-127-0/+106
Given that these are already in the recipes-phosphor directory this seemed redundant. Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud