summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/fans
AgeCommit message (Collapse)AuthorFilesLines
2020-09-17fans: Update service start limits for fan watchdogMatthew Barth1-2/+0
It was found that the fan control services were constantly getting restarted due to not failing within the previous start limits. After experimenting with different combinations of limits, using the default values for StartLimitBurst and StartLimitIntervalSec is sufficient. Tested: Changed limits, powered on, watched service fails in journal until fan watchdog monitor started Resolves: https://github.com/openbmc/phosphor-fan-presence/issues/23 (From meta-ibm rev: b8a65368cb39d6d82c4b025b25fdbe868dbbfe89) Change-Id: Ibcb35028e8dbc67d7df70dfeee25d098e6041fe8 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-ibm: Mihawk fan control support 250 soc thermal sensorBen Pai1-0/+50
Fan control must support 250 soc thermal sensor. Tested: Fan speed is automatically controlled when using 250 soc (From meta-ibm rev: 05540e77d337f466bc339715153704edff3f6b88) Change-Id: Ic17854a8556b5878bf506bfafd64762315390c39 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03fans:monitor:witherspoon: Enable JSON configMatthew Barth2-80/+4
Use the installed `config.json` as the fan monitoring configuration to load at runtime. This replaces the need of the build time YAML `monitor.yaml` configuration. Tested: `monitor.yaml` removed from build image staging location Built/powered on image using the `config.json` file (From meta-ibm rev: 27be42e03193352d7c7ee51784448cb06d1b8e2c) Change-Id: I80c268b26dddd820e7c9c640eab2d39452ab3a29 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-30fans:monitor:witherspoon: Install config.json fileMatthew Barth3-0/+135
In prep for switching the witherspoon machine over to using a runtime fan monitoring JSON configuration, install the configuration file into the image now. Tested: Verified both `monitor.yaml` and `config.json` in phosphor-fan Built/installed witherspoon image and config.json file present Verified YAML config still used instead of present JSON config (From meta-ibm rev: 36206800a699a1429d30ad32a36e4f960ac6c7b4) Change-Id: I75d72a2731f201d37d38c9d436eff2af522bc6da Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27rainier: Add fan watchdog fan services protectionMatthew Barth1-0/+6
Configure the fan monitor and fan control services to be protected by the fan watchdog. In the event that any of those services fail to run on the BMC, the fan watchdog would trip and push fans to 100% PWM. (From meta-ibm rev: 0860865b6c1003d5440a2be4990fc399931be92c) Change-Id: I6be11de61cae544089553f8791cf599f98ca04f6 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27rainier: Add fan watchdog BMC protectionMatthew Barth2-0/+7
Configure and include the fan watchdog services to drive the fans to 100% PWM if the BMC loses communication to the fan controller chip at any time (i.e. BMC reset while powered on). (From meta-ibm rev: 1264216bc2f10cf08f697bc1c95f10237c95515a) Change-Id: I18865bdc06c1a2be0c2a83d5e83402b9316ee845 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27ibm-ac-server: Create fan watchdog configsMatthew Barth6-0/+14
Create fan watchdog configs for all ibm-ac-server machines Tested: Built witherspoon and verified appropriate config files in image Built swift and verified appropriate config files in image Built tacoma and verified appropriate config files in image (From meta-ibm rev: ab3b7b8e234134cc4d1123817de64708712cfc1f) Change-Id: I75790b96077575878a9115072b016ad59a2f2420 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27witherspoon: Remove `witherspoon` naming from fan watchdogMatthew Barth7-11/+11
Remove the use of `witherspoon` in the names of the recipe, config files, and services of the fan watchdog. This is in prep to use this same fan watchdog on other machines within meta-ibm that have different configurations. Tested: Witherspoon image matches image prior to change Flash image to Witherspoon and force watchdog to trip (From meta-ibm rev: 80f819efec08f7cc7de6988f64c0c77e20990f05) Change-Id: I77295974397cd4903cd1a723b9ef97ee744d2557 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop40-0/+2845
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>