Age | Commit message (Collapse) | Author | Files | Lines |
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Use nonarch_base_libdir instead of base_libdir, because the files are
always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the
files end up in the wrong spot.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
|
|
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
The Altitude measurement is from the computation of
the DPS310 pressure sensor with this
"Expression": "44330.0 * (1.0 - ((P0/101325.0) ^ (1/5.255)))"
Tested: busctl introspect xyz.openbmc_project.VirtualSensor \
/xyz/openbmc_project/sensors/altitude/Altitude returned
results consistent with location of the Rainier system.
Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: I07b83dd6b8f4ccf0755ccbdc81c40976a3e571cd
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
The IBM rainier machine name is being replaced with the generic p10bmc.
Change-Id: I43d08c3be45d8cc8b03914b9bc257df2668e9fe0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Everest has the max31785 at a different i2c address that is behind a
mux, so install its hwmon config at that associated location.
Tested:
Hwmon instance for the max31785 starts successfully on Everest
(From meta-ibm rev: cd84eb53a79edcabddd5e7720f9e0389f4e96151)
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ide9ca8bd76d708ef9453dc7d02526dfbb1dd8a30
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add the max31785 fan controller device to hwmon.
(From meta-ibm rev: 71404ba4966e32bb4ed9a120062d669ed642d851)
Change-Id: I4b2cd1c5379e76ccf40f52dc6ceca6a98f931f40
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The max31785-msl application is now a package within the phosphor-hwmon
recipe, so that package needs to be enabled and installed on
`ibm-ac-server` alias of machines which have a max31785 chip. These
machines require that the minimum ship level(msl) be verified on them
using this application.
Tested:
Built phosphor-hwmon package after enabling max31785-msl package
Verified application, config file, and service existed in image
(From meta-ibm rev: 33184059fa07ca12e11fb9e8dde2d6a31e1f029e)
Change-Id: I186fb6ca930e4107738d4ed90d31b6233be3d6f2
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The phosphor-virtual-sensor code recently started checking the values of
the upper/lower warning/critical thresholds for the virtual sensors and
prints to the journal if they are exceeded. If the threshold values to
use aren't specified in the JSON file, it will just set them to zero so
any nonzero sensor value will trigger the trace.
So, even though code will not use the threshold values for the virtual
ambient temperature sensor, put some into the JSON anyway that should
never be exceeded to avoid these traces. If the temperature does happen
to go outside the range of between 0 and 100, then seeing the trace may
be interesting anyway.
(From meta-ibm rev: 9fdb9598d0eee4d9820962320391bb9f7e4568ea)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1c6c5f1faaaf58599a3840eed6ec4749a70a1364
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Rainier is only using the hwmontempsensor dbus-sensors service for now,
so remove the other ones. Without this, 8 other services would be
running at BMC ready state.
(From meta-ibm rev: b51345ced440ca935f8678d8521a690301e63db5)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: If60d9a0ba585c029877c5fda77b5085cec394d04
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Use the virtual-sensor application to put a virtual ambient temperature
sensor on D-Bus. Currently, it just mirrors the value of the TMP275
ambient temperature sensor, but in the future the output will be based
on all three temp sensors on the panel after the remaining two show up
on D-Bus.
(From meta-ibm rev: f43eab1e5637cf87a38ca2e9a6acc33e5db3a0c3)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I187d88c7e1245c7014aee8b9b6c0840daf1e622d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Remove executable permissions from the `70-max31785-hwmon.rules` file to
eliminate the systemd-udevd warning that its marked executable.
(From meta-ibm rev: 46984b5eda5c40e63cb9fab6aa5e667cec7f5b68)
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ic7405ed73f2d7875c57696ae4e5b30e380502fd6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Mihawk cannot read the 250 soc sensor on the riser, this is because dts
defines pca9545riser@70 instead of pca9545@70.
(From meta-ibm rev: 731297ebde0eb4272d39260a30cd5f5b1f4e6f1a)
Change-Id: Ibcb72ef6be7c953cc35cc216e8cc45e283949e61
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Mihawk can use up to eight 250-soc.
Tested:
The user can see the temperature when using 250-soc.
(From meta-ibm rev: 74b7557b08ed2582861cd7da390d84371ec2ff86)
Change-Id: I17b0d969d0902f6470287c6164f542ad84412f7d
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|