summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/power
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop19-707/+0
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>
2020-04-10meta-ibm: add missing phosphor power configurationBrad Bishop1-2/+2
There were a couple _${PN} (package name) style overrides added to DEPENDS and EXTRA_OEMESON with 438174de3490. The package being built is only addeed to OVERRIDES during the packaging task. DEPENDS and EXTRA_OEMESON are used during the configure task. The result is DEPENDS and EXTRA_OEMESON are not updated as intended. (From meta-ibm rev: 4e1950490e3329c1f9f193cba7f2739df6456c59) Change-Id: I7a902ad4ca07cb590cd1bad5f5d1046ecaa9d63e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17meta-witherspoon: Use separated phosphor-power packagesLei YU1-3/+3
phosphor-power recipe is splitted into separated packages. In packagegroup-obmc-apps.bbappend, define POWER_SERVICE_PACKAGES_AC_SERVER to include the packages for IBM AC servers and POWER_SERVICE_PACKAGES_RAINIER for rainier server. The package cold-redundancy is not included yet because the repo does not install the files yet. In phosphor-power bbappend, use separated packages as well. It also add phosphor-power to install the psu.json in witherspoon's phosphor-power bbappend, which is needed for multiple packages. Tested: Verify all the ac-server services and utils are installed into Witherspoon's image as before. (From meta-ibm rev: 438174de3490d800181ecd26ac162c6ebe442194) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I76808e92de7cf144ba2a3b7a455af582eaad3d33 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-02Witherspoon-Tacoma: Update power supply configsBrandon Wyman2-0/+12
The GPIO lines for the power supplies changed from Witherspoon to Witherspoon-Tacoma. The power supply presence lines are GPIOH3 and GPIOE5 (key 59 and 37). The power supply input history sync is on GPIOE6 (38). Tested: witherspoon-tacoma 2.8.0-dev-1205-g01aee77e4 chassison fails Flash custom image with these changes witherspoon-tacoma 2.8.0-dev-1272-g22036b442 chassison succeeds (From meta-ibm rev: e023c109f4a53212ee8ea880a82dd7f0432b8f1c) Change-Id: I0cf1afa738036c5cceb13a9df85c23ff660b97be Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-11meta-witherspoon: Fix missing power-supply-monitor configsLei YU1-1/+3
The power-supply-monitor configs were installed by SYSTEMD_ENVIRONMENT_FILE_${PN}, which is defined in obmc-phosphor-systemd.bbclass. phosphor-power recipe does not inherit obmc-phosphor-systemd, results in the files installed by SYSTEMD_ENVIRONMENT_FILE_${PN} are not installed at all. Fix this issue by inherit obmc-phosphor-systemd in the bbappend. Tested: Verify the witherspoon build includes the power-supply-monitor configs. (From meta-ibm rev: d4374bf93e5927ccadb9de954384096ffb8590ec) Change-Id: Iaa3a04694c7b591d349a32529a0afef16239203d Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07Add phosphor-power to Rainier image buildJim Wright1-0/+31
When Rainier was removed from AC server builds, the phosphor-power repository was dropped from the image. Add phosphor-power to Rainer builds. (From meta-ibm rev: 5bbf75e279cfd7d3cf77b8d49c69fe338f97ee72) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I9c0105396d9b50d65abc2338eab46ae84bee209e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07meta-witherspoon: Use phosphor-power recipeLei YU14-96/+50
phosphor-power recipe is added in meta-phosphor, replace witherspoon-pfault-analysis with phosphor-power. Add "psuDevices" in psu.json for witherspoon and swift. Tested: Verify witherspoon build is OK, the phosphor-power related binaries and the services are installed correctly. (From meta-ibm rev: 9422171d261d155b903295cd7c0c5aedbab535a0) Change-Id: I2706ac9e9bff11b943ae6861bebd67e67d0bee15 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-05phosphor-power: srcrev bump aff6548e90..5ea8b552faAndrew Geissler1-1/+1
Gunnar Mills (1): Update sensor-architecture.md link Jim Wright (2): Make GPIOAnalysis section optional in power sequencer YAML Update example power sequencer YAML Shawn McCarney (4): Create stubs for regulator Device, Rail, and Rule Conform regulator methods to acronym conventions Add explicit keyword to regulator constructors Create regulators IDMap class (From meta-ibm rev: 5f84ff75820207d4fb64979c303b719de971b453) Change-Id: If52910de726d3083da3b4e1b0142650f30dc2988 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-04Remove extra forward slash from Witherspoon YAMLJim Wright1-1/+1
In the Witherspoon power sequencer YAML, the device path contains an extra forward slash. Remove the unneed character. (From meta-ibm rev: a68a95377dbee8779eeb5174e07f62cf335ce37b) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I40d368bd36b573c000ec9352350e3a0f7c1a1926 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-04Remove dummy entry from Rainier power seq YAMLJim Wright1-10/+1
Following https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/26667, the GPIOAnalysis section is optional and unneeded on Rainier. Remove dummy entry. (From meta-ibm rev: 3b36c0bf33426ea4a900287619ae13054ac8f810) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I02048ff2fa8a07dc89787939b4241381460c3166 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-29phosphor-power: srcrev bump bd4b86d398..aff6548e90Andrew Geissler1-1/+1
Lei YU (2): Add power-utils README: Add description for psu json config (From meta-ibm rev: 9fa69399ca7eebdf1c4eef979e308d968b842f37) Change-Id: I5d37e3eccb9b2b6c9739cd55a01c7b7384ce1f44 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-29meta-witherspoon: Add psu.json for phosphor-powerLei YU2-0/+31
The service psu-monitor in phosphor-power now requires psu.json to run. Otherwise it fails due to unable to open and parse the JSON file. Install psu.json for Witherspoon so it works OK. Tested: On Witherspoon, the psu-monitor services are started correctly, and the PSU model, serial, etc are correct in inventory. (From meta-ibm rev: 19034168062473250be4e8faafbd85b0d029c0d9) Change-Id: Ia647f3d540e3ed685ab134ae42aef67e32fc5e81 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-21phosphor-power: srcrev bump f94b1133a8..bd4b86d398Andrew Geissler1-1/+1
Lei YU (2): Move services into repo Update MAINTAINERS (From meta-ibm rev: 3ef4cbbfb136130da1858221f8ba4808568949cf) Change-Id: Iecc77b4a2f2f06214d082b74d075afe8f9e9ccb7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-18phosphor-power: srcrev bump 7dc31bb1f7..f94b1133a8Andrew Geissler1-1/+1
George Liu (1): Update to get PSU Asset information from parsing JSON file Lei YU (2): Refactor: rename namespace witherspoon to phosphor Refactor: move get pmbus access type to utility Shawn McCarney (9): Add Shawn McCarney as a maintainer Initial documentation for regulator config files Document hardware objects in regulator config file Document operations in regulator config file Document rule and action in regulator config file Document I2C actions in regulator config file Document PMBus actions in regulator config file Document logic actions in regulator config file Document utility actions in regulator config file (From meta-ibm rev: b360259adc3a494162b52ab01be5601ad622d750) Change-Id: Ic96cd6513930a6031fe6baa293ade1a9154c0e80 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-17phosphor-power: srcrev bump b3853e2d3a..7dc31bb1f7Andrew Geissler2-1/+2
Add nlohmann-json dependency to fix build failure. George Liu (1): Add an example JSON file based on power-supply Lei YU (1): Add loadJSONFromFile() in utility (From meta-ibm rev: 78be06623cc1da4d36d9dbaf47323596d5389bf4) Change-Id: I7c37738ed6638920c290548c2f3a3caaa1bdefb0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-16ibm: wspoon-pfault-analysis: Use EXTRA_OEMESONMatt Spinler1-1/+1
As this repository now uses meson, the bitbake variable to pass in options to the build needs to change to the meson one. Tested: witherspoon-tacoma now uses the correct UCD90160 YAML file instead of the default example one. (From meta-ibm rev: 6017c7fa7084eeae49c67f44dd045835f224d070) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5eef042e20759a52376cadc0810e357552307890 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-16Fix Rainier power sequence build errorJim Wright1-0/+10
The 'GPIOAnalysis' section of the power sequence YAML file is not optional. Add a dummy section to allow for successful builds. (From meta-ibm rev: 5af0bcc9a13ae14caa9d37095018393fef6d715b) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I2e93739a31d3653f04efedff54a46f231537199b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-09Change to /sys/bus/i2c/devices/... paths.Jim Wright3-9/+9
Per review comments, change device paths to symlinks thought to be more stable. (From meta-ibm rev: ad75a64d9b120f9b9ed0453acca1da2bf119e78e) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I925dac346368a0a40fa64948ac7f640c33f15019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02Add Rainier system power sequencer supportJim Wright1-0/+200
Add Rainier system power sequencer configuration file. (From meta-ibm rev: 65ba7af3ef1f36b4b77c5776478b59d1a7bf2334) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Ia55257b24e1e5095bbd9db24fbf67e5968c4f9cc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-01meta-ibm: Point WPFA at phosphor-powerBrad Bishop1-2/+2
witherspoon-pfault-analysis is promoted to phosphor-power: https://lists.ozlabs.org/pipermail/openbmc/2019-August/017729.html This patch does the first migration step which is to point this recipe at the canonical repository. A subsequent step could be adding a phosphor-power recipe in OpenBMC's meta-phosphor. (From meta-ibm rev: de9a39f0a56410de046a260b51ca7ff9f162b12c) Change-Id: Ib6af976ac3b82d37f96dea4b45bba730ca98753d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19witherspoon-pfault-analysis: srcrev bump 817f8a7a82..b3853e2d3aAndrew Geissler2-2/+2
Brad Bishop (3): build: fix some warnings build: add support for building with meson build: drop autotools (From meta-ibm rev: 23d2feff13ee457a36f13bb6d615d0a11cc2428b) Change-Id: Icb648c74c18d203318692cfb5febc8672a437b95 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop2-2/+2
IBMBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-ibm rev: cbbb0e5b4e44d831fce5daafd13272d401440f40) Change-Id: Ib214f92b2c384e3eb2a1f53ecf4b21034438d001 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14witherspoon-pfault-analysis: srcrev bump 5b2964fa8e..817f8a7a82Andrew Geissler1-1/+1
Aatir Manzur (1): Power supply input faults resolution (From meta-ibm rev: bc9be1c977fcea7543aab6f2ffd51372bb3e805f) Change-Id: I46d82875b474abe1af478e8bbfd7d1141d2d5c3d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-27witherspoon-pfault-analysis: srcrev bump 5c0ce17511..5b2964fa8eAndrew Geissler1-1/+1
Matt Spinler (1): Fix association path when resolving input faults (From meta-ibm rev: aa31db48bd98f4d22b8b0b6a6316aefcd4bc5daa) Change-Id: I3813ee4174d6aeebc6c7014d4b7d059e65b9ad99 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-25witherspoon-pfault-analysis: srcrev bump 03c19db6a8..5c0ce17511Andrew Geissler1-1/+1
Matt Spinler (2): Update .gitignore Don't try to read GPIOs when no device path (From meta-ibm rev: adf123779de48ee17f2d8c53f4e3d865e575c2f9) Change-Id: Ia97046f0d856266907831be9fc552d6d750d14f9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23swift: Fix IO expander I2C pathsMatt Spinler1-4/+4
There are two directory names in the path that are different based on the I2C bus. (From meta-ibm rev: d4f13c672063f32ce6aafdaaf63ce34e79f7a4b5) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I37288264ff5098f75780c243b47f46f312f98854 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27Put dbus monitor policies in one placeMatthew Barth2-232/+0
To better organize the policies(and the configurations) that are used by phosphor-dbus-monitor, all of them are now located under the `dbus` directory. This moves toward a more understandable and centralized scheme for the recipe(s) used to configure and build phosphor-dbus-monitor. (From meta-ibm rev: 4b80c4f2b3a62d8084fc43f95177e299d53387ae) Change-Id: Ie99c5dbe55c2295fc5cd7b5e7722cc10064e1b71 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27swift: Add dbus monitor policy configurationsMatthew Barth1-3/+3
Swift has two power supplies, same as Witherspoon, therefore will use the same power supply policy configuration. Swift and Witherspoon will also share the event policy configuration for OCC throttling. The thermal policy configuration will be shared between Swift and Witherspoon, but may change for air cooled Swift to not also shutdown at 3 or more cores over 115C. The fan policy configurations will be different for Swift, therefore they will be separate. At this time, there are some areas unknown on how fan presence and functional states will be handled for both air and water cooled Swift machines, so these are configured to be the same. Tested: Built witherspoon phosphor-dbus-monitor resulting in no image change Built swift phosphor-dbus-monitor resulting in correct policies (From meta-ibm rev: fd06a2cbfd5f6e43aba4887ae1398984410d52cc) Change-Id: I1125f00ecd51c23aac2da4cd2a47432ac3bc2de7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27Make dbus monitor policies machine specificMatthew Barth2-1/+1
Policy configurations will be loaded by machine within the system meta layer (in this case meta-witherspoon). This allows different machines to have different policies and/or different policy configurations. The .bbappend can be used to alter which policies are used on a machine. The thought here being that most machines within the same system meta layer would use the same policies. However these policies would likely have different configurations, this is where each machine would have its own policy configuration which would be loaded per the policy recipe. Tested: Built witherspoon phosphor-dbus-monitor resulting in no image change Built swift phosphor-dbus-monitor where no polices exist now (From meta-ibm rev: 6275fda44b3fd1a039f6aef55e920b542b8135ef) Change-Id: I9c86e9eb15756236e1e802f18345fb8c7ab5400a Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27Remove `witherspoon` from recipe file namesMatthew Barth2-0/+0
Remove `witherspoon` from recipe file names, which includes the directory containing the policy configuration files. Tested: Built witherspoon phosphor-dbus-monitor resulting in no image change (From meta-ibm rev: c8562bc0066f8657d2fbb5c1962826e686a7f652) Change-Id: I7d7d247865bc2f8432e01a46caa43cc8770ae100 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27meta-ibm: Remove phosphor-dbus-monitor native recipesMatthew Barth1-13/+0
The native recipes are no longer used after the switch to non-native recipes in the meta-phosphor layer. Tested: Built witherspoon phosphor-dbus-monitor resulting in no image change Built swift phosphor-dbus-monitor resulting in no image change (From meta-ibm rev: c50b717ce219342c4730d3f029712d5a7d10da07) Change-Id: I0026c06592921d0f1633bd3a24e6cd0530d3cc19 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-26meta-ibm: phosphor-dbus-monitor non-nativeMatthew Barth1-0/+17
Create the phosphor-dbus-monitor non-native recipes to allow the switch from native to non-native within the meta-ibm layer. Upon switching to the non-native recipe in meta-phosphor, these non-native recipes will then replace the native recipes in providing the policy configuration files(yaml). Tested: Built witherspoon phosphor-dbus-monitor resulting in no image change (From meta-ibm rev: 0ca32c6b6d0566a29756ecd05ffb748764296a27) Change-Id: Idf800c0d537b6051c3bc263908d9bbb2bc6ab2de Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-19Different PS I2C addresses for wspoon vs swiftMatt Spinler4-0/+12
Since the power supply I2C addresses are swapped between the 2 systems, there needs to be separate config files. (From meta-ibm rev: 7b91758259c860052d5f292a86a56c0d18884616) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I3eb8ec881a7e4d7887c79a53ef142ee2f948b53f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10Swift: Swap power supply I2C bus addresses.Matt Spinler2-4/+4
The top supply, PS0, is 0x68, and PS1 is 0x69. (From meta-ibm rev: c4df414e0284f1859ff1c709eb84eace6d848e87) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4a9f38830f86b18932a918119bafaf1f5bd5d72a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10Swift: Fix UCD90160 device pathMatt Spinler1-1/+1
More than 1 directory in the path is dependent on the I2C bus. (From meta-ibm rev: dc4b6022d75a5ed50588c71f1890f5cb7df0dcd4) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Iec2026ab941e735e684b939bca40482a7c603150 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10Swift: Run power-workarounds after PGOODMatt Spinler2-0/+11
On swift, the VRMs that power-workarounds.sh touches can't communicate until the system has been powered on. Rearrange the services to make this happen. (From meta-ibm rev: b5980e57561bc2f161bd61965551c1a3e1323131) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I0ac7fb6adaa0de18feb525259f991e99c147e244 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-04witherspoon-pfault-analysis: srcrev bump 9c7897ce91..03c19db6a8Andrew Geissler1-1/+1
Brandon Wyman (7): Use YAML for UCD definitions Fill in example YAML file based on Witherspoon Update script and template to parse index and path Update to get RailNames from parsing YAML Update to get GPIConfigs from parsing YAML Update to get GPIOAnalysis from parsing YAML Add YAML and error function for MEM_GOODx faults (From meta-ibm rev: a97929f0835cb2d4106e63ca7ddc33ce72f3f7aa) Change-Id: I83a10984a83916107f864d7c54209c1f1ab4f367 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29YAML updates for Swift MEM_GOODx fault isolationBrandon Wyman1-2/+90
Use new memGoodError() function to analyze MEM_GOOD0 and MEM_GOOD1 faults for isolation. Add GPIOAnalysis sections to the YAML file to use the two PCA9539 devices that will be used to isolate and make the appropriate call outs. (From meta-ibm rev: bbca98df7f6d46709a840b5054f14eb0371851ad) Change-Id: Ieff5dfb9d514891f3ee3e1267256b165f69e7a08 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-29Recipe updates for power sequencer YAML filesBrandon Wyman4-0/+216
Add YAML file for Witherspoon power sequencer information. Add YAML file for Swift power sequencer information. Add native recipe to pull in YAML files. Update recipe to set appropriate configuration variable for YAML file to use based on machine configuration. Depends-On: I54958ce49496464e601ff9c6f2b081ee8d2c07be gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/20513 (From meta-ibm rev: b5b193f18604177387d7ad0fd196415cd9098f51) Change-Id: I415f8226f23098b4e4af0a7dc1e9374c9699a327 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-17witherspoon-pfault-analysis: srcrev bump 05be4a92c2..9c7897ce91Andrew Geissler1-1/+1
Brandon Wyman (1): Cleanup: Use filesystem instead of experimental (From meta-ibm rev: bc6ebec149b2cc8ccd38ddb9775bb7da32b2670b) Change-Id: Ie232b23cc55e42b6e24d905205255e49bc78a006 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16Remove witherspoon prefix from pfault-analysisBrandon Wyman8-26/+26
Remove the witherspoon prefix from the witherspoon-pfault-analysis based recipes for applications and service files to avoid confusion when these are reused by Swift. Point to latest commit of witherspoon-pfault-analysis. Requires: I4c7275c3b14b3b3724abb98b8d43610df4f9c2a3 https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/19399 (From meta-ibm rev: fe3a464e30811d89cad55aab795523fd6152b5a8) Change-Id: Ic73d31809794b5033126549044d7e4ff00653118 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-ibm: move all services to multi-user.targetPatrick Venture2-2/+2
Instead of obmc-standby.target, use multi-user.target. (From meta-ibm rev: 85cff8cc9e66049d8ac26271c13f82d894ac572f) Change-Id: I03c3d41c031343fa584511889c70e3def92cb83d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-ibm: Fix explicit dependencies antipatternBrad Bishop1-6/+0
Out of the box bitbake examines built applications, automatically adds runtime dependencies and thus ensures any library packages dependencies are automatically added to images, sdks, etc. There is no need to list them explicitly in a recipe. Dependencies change over time, and listing them explicitly is likely prone to errors - the net effect being unnecessary shared library packages being installed into images. Consult https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS for information on when to use explicit runtime dependencies. (From meta-ibm rev: fa99caa61ecd28325e9070f268a51a5b52363bc4) Change-Id: Icc97d4b33635caf127a17e70ba6c23f1367eb735 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-24witherspoon-pfault-analysis: srcrev bump 61a0419381..57bee329bbAndrew Geissler1-1/+1
Matt Spinler (1): Fix I2C dev path for the 5.0 kernel (From meta-ibm rev: 80abb9c6b7dd19f45fbe938ed4dd4cc6b35847f4) Change-Id: Id63f95173dc2f35492236f6955189b74ece9971a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-14witherspoon-pfault-analysis: srcrev bump ac9d5c32bb..61a0419381Andrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-ibm rev: 0c2b21cbc707892efb9e7aa45ca188d5cc033adc) Change-Id: I4ba6965e541704ad3638ae4926c0587c456ea1b0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-19witherspoon-pfault-analysis: srcrev bump d3e4dad309..ac9d5c32bbAndrew Geissler1-1/+1
William A. Kennington III (1): power_supply: Fix duplicate variant value (From meta-ibm rev: 5a1746cd57881bb5587dfede04f79074506dc70d) Change-Id: I0d420aacebcc8ca14b34392c913f21b07f3de746 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-ibm: master refresh baedc91099..a00d9b8a84Brad Bishop2-2/+4
Update meta-ibm to master HEAD. Patrick Venture (21): meta-ibm: add IBMBASE meta-ibm: romulus: chassis: avsbus-control: set LICENSE field meta-ibm: romulus: chassis: vrm-control: set LICENSE field meta-ibm: romulus: gpio: id-button: set LICENSE field meta-ibm: romulus: ipmi-fru-read-inventory-native: set LICENSE field meta-ibm: romulus: ipmi-inventory-map-native: set LICENSE field meta-ibm: romulus: ipmi-inventory-sel-native: set LICENSE field meta-ibm: romulus: led-manager-config-native: set LICENSE field meta-ibm: romulus; phosphor-logging-callouts-native: set LICENSE field meta-ibm: witherspoon: chassis: avsbus-control: set LICENSE field meta-ibm: witherspoon: chassis: vrm-control: set LICENSE field meta-ibm: witherspoon: events-policy-native: set LICENSE field meta-ibm: witherspoon: fan-policy-native: set LICENSE field meta-ibm: witherspoon: fan-watchdog: set LICENSE field meta-ibm: witherspoon: thermal-policy-native: set LICENSE field meta-ibm: witherspoon: inventory-cleanup-native: set LICENSE field meta-ibm: witherspoon: power-supply-policy-native: set LICENSE field meta-ibm: witherspoon: power-supply-sync: set LICENSE field meta-ibm: palmetto: ipmi-inventory-map-native: set LICENSE field meta-ibm: palmetto: led-manager-config-native: set LICENSE field meta-ibm: dbus-interfaces-mapper-config-native: set LICENSE field Change-Id: Ic74e30b1cdd013c7d293dffc9423035632f92e43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-ibm: witherspoon-pfault-analysis-error-native: drop extra licensePatrick Venture1-1/+0
Drop obmc-phosphor-license from recipe, the LICENSE field is set in the included piece. (From meta-ibm rev: 5043cc99626e03e21659f815d1c177ddb3789f39) Change-Id: Ia519f385407fab16cf7526762ba90dde787bf1f4 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-01witherspoon-pfault-analysis: srcrev bump 1a0c9176a3..d3e4dad309Andrew Geissler1-1/+1
Matt Spinler (2): Start using .clang-format Remove unused is_method_error calls (From meta-ibm rev: e89474036a6e5d51cac3cd82e1c15b08bb1c24fb) Change-Id: I23374f865cd93b66c09ded726a27ab24d9c2856c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-27meta-ibm: witherspoon-pfault-analysis: rename as gitPatrick Venture1-0/+1
Rename witherspoon-pfault-analysis.bb as _git per OE norms. (From meta-ibm rev: c2133c2aa8cac5935acd4cbf980659041c6c6721) Change-Id: I65da94d525e2e52265c611144504b5047bff5d67 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>