Age | Commit message (Collapse) | Author | Files | Lines |
|
Add the phosphor-regulators monitor services that perform method calls
to phosphor-regulators to enable or disable monitoring of the regulators.
The enable service should be started after power sequencing begins during a
poweron and the disable service startsp immediately at a poweroff to
halt monitoring
Tested:
Monitoring started after power sequencing services and the chassis
is on
Monitoring disabled immediately at poweroff
(From meta-phosphor rev: a51bc302c63971fd30798e7a167a24303843489e)
Change-Id: I1da591b9d895d24ce351867aa4eaa9039a13acbf
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add the phosphor-regulators config service that performs a method call
to phosphor-regulators that would then configure the regulators. This
service should be called immediately at poweron before the power
sequencing begins.
Tested:
Method call occurs before pre-poweron target is set
Power sequencing does not start before this method completes
(From meta-phosphor rev: 3e79686a2476ed1c77b811262dcf1a370c2f6571)
Change-Id: Id30bb149c94281183fa33c761abe5a25bdfdedd8
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 7166750260457a7a4e051d8cba9c4d4a5e48a657)
Change-Id: I53e15eab24e494aec032efb77dadef18f764a9bf
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Some recipes have abstracted the git revision into a separate file
and have a line 'require ${PN}.inc'. The issue with PN is that it
changes to have a -native or -nativesdk for those contexts. The
variable ${BPN} (base package name) should be used instead.
(From meta-phosphor rev: c7d848ec9b524114550f80276f7b5e45b9ad8d46)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib875fd9904b16379b20dc7891087b8e0bf90fe69
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
sdbusplus has changed the package layout so that sdbusplus-native and
sdbus++-native are now ${PYTHON_PN}-sdbus++-native. Update recipes
that need to use sdbus++ (or its associated python modules) or remove
the DEPENDS if it is no longer necessary.
(From meta-phosphor rev: 2bebd1247cb78567441158b152c7a13f476afd4f)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I30f9c2220da9145ef0a7067e067aed1396d8b40d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The JSON configuration file will need to be installed into the datadir
(/usr/share/phosphor-psu-monitor), so add that to the package list.
(From meta-phosphor rev: f363ebfc11b04c9b86c24c0bc3447c912f5fa2ce)
Change-Id: Ib0c602d0ca1d326a804e83358956a54699051b07
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The python scripts in this repo supports both python2 and python3.
Use python3 now since python2 is EOL.
Tested: Verify the recipe builds fine with sdbusplus python2 or python3.
(From meta-phosphor rev: 404e16319c6f9afae5a055c570e24e1a8cfa6e05)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Ic63d65a4ad40db646baa2eab92941dfde850ffe1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The repo runs python to generate code or validate config, which requires
python and the dependent python packages.
Previously that happens to be satisfied by sdbusplus's RDEPENDS. If
sdbusplus is changed to use python3, this repo fails to built because it
lacks of dependency.
See details in
https://lists.ozlabs.org/pipermail/openbmc/2020-February/020771.html
This commit fixes the depends by adding the required python and
python-packages so that it builds fine.
Tested: Verify phosphor-power builds fine with sdbusplus updates to
python3.
(From meta-phosphor rev: b16b3060288f016a68fa780d791d01b625128ff4)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I93ee5afadb01fce42f2dc91edd274278b026eadb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The FILES_${PN}-regulators was incorrectly set without +=, and thus some
files for ${PN}-regulators are not installed.
Fix it by correctly specify the files for ${PN}-regulators.
(From meta-phosphor rev: ae688cfe0bb6951d0897361d7b18984c01111aef)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I35def509124b712e56e54fb8b71a9b595843df0f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
phosphor-power consists of several separated services and utils. All of
them are installed by default.
Split them into separated packages, so that a machine layer could select
which packages are needed.
This is done by define PACKAGE_BEFORE_PN and specify the FILES_ for each
package, and split the phosphor-power-systemd-links-monitor.bb into
separated recipes to install services for the related package.
The phosphor-power-systemd-links.bb is kept for now to avoid build error
on existing systems. It will be removed when the meta-system layers'
changes are done.
Tested: Only include phosphor-power-monitor, verify that only the
related binary and service unit file are installed into the
image.
Include all the packages, verify that all the services and utils
are installed into the image.
(From meta-phosphor rev: 2172cd128215683d1fd425b841e90b515aec04c9)
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I83f436e51b33903a581bfc48541475711467bb61
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add the base phosphor-regulators service that starts the binary and have
bitbake install it to the appropriate location in the image.
Tested:
Service installed and started at BMC standby
(From meta-phosphor rev: fa58fcd708f9d801bfef7a3861f869af596ed8e9)
Change-Id: I1ca3fee421abf5e458cd812df1eadf7a72622516
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Bumped SRCREV to pick up required unit files.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This reverts commit 0feba83637c4f66b55f3752ab2697e6c033e36d2.
Depends-On: I2769f6ac0012fe8849ef266930d8c736a88417ce
(From meta-phosphor rev: 4d2907beaa1f7c421e89f0d68645e4f4cd2d8874)
Change-Id: I2a3272f8fad0de63a3ccd44da194213253b0d3a2
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Package all of the installed phosphor-regulators config files.
Installation of the config files are handled by the meson install
directive from within the phosphor-power/phosphor-regulators repository.
Tested:
All config files are present within an image using phosphor-power
Config files are located at /usr/share/phosphor-regulators in image
(From meta-phosphor rev: 280eeb9d2f3102b6e43d6f6b9a12406d6ecf93b9)
Change-Id: I4fd4ef555b97d800d28e4bf4cfafe32fdd207f27
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This reverts commit 7102a39f018806bb34d14923e4cd8de8dd2160b1.
Reason for revert: Missing dependencies.
(From meta-phosphor rev: 7c73d7d0cfee2455307a3bc16f4fd9d8c7c0882f)
Change-Id: I96ad79ec79679475507bdd6399e4446c6e5de529
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
1. Create a phosphor-psu-monitor package.
2. Add the phosphor-psu-monitor binary to the package.
3. Add the phosphor-psu-monitor.service to the package.
This will allow one to selectively install the refactored power supply
monitor application to systems that want to use it.
(From meta-phosphor rev: 7102a39f018806bb34d14923e4cd8de8dd2160b1)
Change-Id: I107909226299de6fecefb2706bf453588bcc2f7c
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Needed for i2c tools used by phosphor-regulators
(From meta-phosphor rev: 16867e4bc2095918a14e5b9ec653844b68011ad8)
Change-Id: Ia84c187ba20db9895aac4c655215af3f0c11da37
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Following https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-power/+/26406,
the phospor-power repository is using cli11 function. The dependency
was not added to the recipe and Rainier based builds are failing to compile.
Add the missing dependency.
(From meta-phosphor rev: 7a0e57f74e0b8434f3e62817e51b9b9368f4edf4)
Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I08ac6db4284a364b69a25f91c6c20e5587cd598f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There was witherspoon-fault-analysis recipe in meta-ibm. Now the repo
becomes a generic one, phosphor-power, add the recipe in meta-phosphor.
Tested: Verify the build `bitbake phosphor-power` succeeds.
With changes in meta-ibm/meta-witherspoon, verify phosphor-power
is built correctly and the services are installed.
(From meta-phosphor rev: 4d8175e674b521669822da61d09b338f391b38fa)
Change-Id: I4e30bba75a0883c4e431c56a10eef7917b5c46c8
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|