summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/fans
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05phosphor-pid-control: srcrev bump 991cf8757b..e2ec0f618aAndrew Geissler1-1/+1
Patrick Venture (1): clang-format: fix pointer alignment, sort using (From meta-phosphor rev: c5d21afea33c774961762bda445d7f01a536d730) Change-Id: I0ea244ce43e6f2670f73e22582c7501e6f315f81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-01phosphor-pid-control: srcrev bump da4a5dd133..991cf8757bAndrew Geissler1-1/+1
Patrick Venture (1): clang-format: always break template declarations (From meta-phosphor rev: 655f0aa9f1eecd3fe8fc18cbdc9a7b61a2fa38d6) Change-Id: Ibd33b6b42c5b650fd41a6998595c3fddfeba5e65 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-fan-presence: srcrev bump 86be476bfb..ecd4bc7bf2Andrew Geissler1-1/+1
Andrew Geissler (1): Add -flto to CXXFLAGS (From meta-phosphor rev: 7aefde2c1c20dac9271fab604c203dbe615de349) Change-Id: I2dcb4e619c1c81b50697864689acb72b08b82f4c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-pid-control: srcrev bump 40be36ac31..da4a5dd133Andrew Geissler1-1/+1
Patrick Venture (1): add .clang-format (From meta-phosphor rev: 2cc612c2f8a3d2ca01e3fc43c0434184cd625d0f) Change-Id: Ic033237071af7c8e413f48c8531319be721367bc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-31phosphor-pid-control: srcrev bump 64f072a74c..40be36ac31Brad Bishop1-1/+1
Patrick Venture (1): add missing gmock header: read|write interface mock (From meta-phosphor rev: 2d789d810dc9b74817760473ea25d631c0183ff5) Change-Id: If44eb6054745b5e42594059cd92ae31ebd7c6fa7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I10692dea155377dcd8558ae57e69948e6995ded0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2018-08-21phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7ab76637af5a601b92f3fbcd31f5c39af49f6f0d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-09phosphor-pid-control: enable OEM IPMI handlerPatrick Venture1-7/+6
Enables installing the OEM IPMI handler for phosphor-pid-control that allows setting it in manual mode, or checking if it's in fail-sade mode. Change-Id: I4e4f31977aa30ae8ef245f78ece02518ec015aca Signed-off-by: Patrick Venture <venture@google.com>
2018-08-06Fix license md5James Feist1-1/+1
When building md5 doesn't match. Change-Id: If62d914ea0aea7ad64b984117722efae090f7a09 Signed-off-by: James Feist <james.feist@linux.intel.com>
2018-08-06phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I62224749ad1b62df2d3b3b17de5f09f142115846 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-03phosphor-pid-control.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I607117ca3cf54afe689129d18bab150c2e9ad2a6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-07-27recipes-phoshor: fans: add phosphor-pid-controlPatrick Venture1-0/+53
Initial phosphor-pid-control recipe. This installs the swampd daemon. It is expected that each platform will provide their own start-up service at present because of current dependencies on dbus. Change-Id: I5ea4b31a99580b42f33488878cc1ec97dd94e582 Signed-off-by: Patrick Venture <venture@google.com>
2018-07-17phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I07e4095903ca89884d172657472b2a83d4ae8697 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-06-25Remove use of mapper callBrad Bishop1-2/+2
Replace invocations of mapper call with a call to busctl and mapper get-service. This provides equivalent functionality but opens the door for dropping a systemd patch we have carried for some time. Change-Id: Iea0cce89341939b49b095d1f5010415578331d4d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-14obmc-phosphor-fand.bb: inherit pkgconfigBenjamin Fair1-0/+1
The Makefile for obmc-phosphor-fand uses pkg-config but the recipe file wasn't making sure that command was available during the build, leading to errors. Resolves openbmc/openbmc#3017 Tested: Built obmc-phosphor-fand for evb-ast2500 without errors. Change-Id: Id1dc3c327f84d7f662210a29c96d4a93e4bc4600 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2018-05-31phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I2dee3beda647910b1aef1f3e8175f94ced760475 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-23phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I236aa8eaf6ba76ed09abd19b32d64cbd240f939f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-22phosphor-fan: Favor ALLOW_EMPTYBrad Bishop1-4/+2
A number of recipes remove PN from the package list. While this seems to work it is unconventional and puts us into dusty corners of oe-core/bitbake. Adopt a more conventional approach with ALLOW_EMPTY_${PN} = "1". Change-Id: I412bee4ef838c44af36260aa90f6a275751bd904 Tested: Built phosphor-fan and validated package contents Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-05-17phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I5e669986cba828a2a02c8561ba289fb97a65d00c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-16phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I6a2c46bb112d4df8d8ced2ef70dfc355ef5c71b6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-11phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I46e24004aa415fce7090542bc0155aacfa1224f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-10phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I907f19b2ceba152fae894ba39ec541e09ec24e37 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I97914bf606c4b4e30da2bea7734ece8792ca3378 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-13phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I8f702e0db614a59b566bf042e066e82345ec0d2b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-14wspoon: Support more than one group per eventMatthew Barth1-1/+1
Update to list groups per event along with not requiring the zone conditions be defined for an event that should be generated for all. Tested: Generated code contains events in correct conditions Single group event generation remains unchanged Two groups within event included in same generated event Resolves openbmc/openbmc#2630 Change-Id: I35502f7fa361c93f367f940c260a160742f160b1 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2018-03-07wspoon: MAX31785revA fan controller workaroundMatthew Barth1-1/+1
The MAX31785revA specification does not match how it functions. The MAX31785revA's functionality reports the rotor feedback speeds in a slow/fast relationship instead of rotor positions, therefore the fan*_0 object will always represent the slowest rotor. In combination with how the MAX31785revA latches its TACHSEL = 0 during a speed transition, it made it difficult to fault isolate the rear rotor of a fan. Using a combination of the fan monitor trust groups on all fan rotors and enabling a delay timer to determine when a fan rotor becomes functional, fan monitor is able to correctly reflect each fan rotor and fan enclosure's functional state in inventory. Fan faults are unable to be monitored on all fans when transitioning to a target speed. Tested: Each fan rotor's functional state is updated when blocked Correct amount of time to mark a fan nonfunctional is still honored A fan is functional after remaining in spec for 5 seconds Resolves openbmc/openbmc#2798 Change-Id: I834d63f6082eae4cb03ec501f0fb8272a9f5b673 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2018-03-01Keep fan services running until poweroff completesMatthew Barth5-5/+5
All the fan services associated with controlling, monitoring and presence detection of fans need to remain active until a poweroff completes. This helps ensure thermal safety while a system is in transition to a powered off state. With the introduction of this new target (which runs last in the power off path), need to move the host reset service to running after it to ensure the power on in the reboot path does not start until the last power off target runs. Resolves openbmc/openbmc#2762 Change-Id: I4ca671d2c7de66e8bfa4bba607b06c88c0a6e7f9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2018-03-01phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I1cdb11a84cd74f2bb807c0367d7bcd98107f554d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01Add missing build dependenciesBrad Bishop1-0/+1
Add some missing sdbusplus dependencies. Uncovered by Yocto 2.3 per-recipe sysroot feature. Tested: Built effected recipes under Yocto 2.3 Change-Id: I165165af96b9a57e8975d7fb8bf5934702759008 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01Add missing pkgconfig dependenciesBrad Bishop1-0/+1
A number of skeleton recipes were missing pkgconfig dependencies. Exposed by Yocto 2.3 per-recipe sysroots feature. Change-Id: I514a95d08e199b395355341fec586b2af11428b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-01-30Use variables for MRW XML filename and pathMatt Spinler2-2/+4
Create an mrw-xml bbclass that has variables for the MRW XML filename and path to it. Then, changes all users of the MRW XML to inherit that class and use those variables. The filename will default to ${MACHINE}.xml if it hasn't already been set to something else, such as in a .conf file. This is done so that the file can be something other than ${MACHINE}.xml. Change-Id: Ia7021e5a5d5e7946829e58688250aa64250cb00e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-01-30phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I5582513508ddef5ee70c9e98c1c25db10e8b2703 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-30phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I30898201c6fab8aa658e4483b7926cb54c92e475 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-25phosphor-fan.inc: bump versionv2.1Andrew Geissler1-1/+1
Change-Id: Ie5ce4f97ee3885fa064d056e4dc4eec3acbb0c6b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-24phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Iba7d09a2ab9d7658d40b8b4c69ea1d9d14d8b945 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-12phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ieed5d68fb8bc35a4a863855009fc8ee35b2a6925 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-12wspoon: Update fan control to latest levelMatthew Barth1-1/+1
Use the latest level of fan control without enabling service monitoring functionality to pick up all changes that allow enabling fan control on air cooled Witherspoons. Since no events are defined to use the service monitoring functionality, this should not impact active fan control. Change-Id: I51c3f8ed3cb8f0db6daa5385f410bce0d6ffd2b5 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-11-13phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ia4aef881aa3a91216bc5374901b4e860602dba57 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-10Update fan init servicesMatthew Barth3-4/+4
Change the fan monitor and control init services to be wanted instead of required for the power on target. This allows the system to continue to power on if these were to fail. Change-Id: Ic3caf31f6fb1b8b4462f49e2733af3d6d8f686ad Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-11-01phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I6573e97b7e426979aca89413be64ecf15774b744 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-11Add tach trust groups to witherspoon monitor YAMLMatt Spinler1-1/+1
These will be used to specify that the 2nd rotor tach values shouldn't be trusted when all of them are zero, because that just means the fans are moving to a new target. Resolves openbmc/openbmc#2336 Change-Id: I4b2ca6bb732d214dca67096817612025e1319226 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-10-11phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I9af2a7936cd98cfbd89ae328011478425f5846a7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-09-29phosphor-fan.inc: bump versionPatrick Williams1-1/+1
Change-Id: I07b9475f6c6a68ff95e3d1f5ab2821db300814a6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-27phosphor-fan.inc: bump versionPatrick Williams1-1/+1
Change-Id: Ide89345884b6aba31cbd608ecccd65d7aa6b5ea0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-26phosphor-fan.inc: bump versionPatrick Williams1-1/+1
Change-Id: I83f40ecfaee0c4a70c2a5836d01ce4ca2dc32e87 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-26witherspoon - Update events.yaml formatMatthew Barth1-1/+1
Resolves openbmc/openbmc#2159 Change-Id: I90241ef261233868448f0d6d934ee0d5a4a0b68a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-08-28Add phosphor-fan-monitor init serviceMatthew Barth3-6/+20
Updated the phosphor-fan-monitor service file to invoke the fan monitoring application in 'monitor' mode (actively updating the functional states of fans). Created a phosphor-fan-monitor-init service to invoke the fan monitoring application in 'init' mode where the fans are set to functional, such as at poweron. Resolves openbmc/openbmc#2187 Change-Id: If6d1763d69d69f55b7c69bd8b6496f6c9af70589 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-08-25phosphor-fan.inc: bump versionPatrick Williams1-1/+1
Change-Id: Id78c5abb388823d229b27dfc3dce3dd17f936499 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-25Enable BMC patching from the /usr/local pathMichael Tritz7-7/+14
This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-08-21phosphor-fan.inc: bump versionPatrick Williams1-1/+1
Change-Id: I0c4de2a8468d2227ad57c27e6471074aa41498bd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>