| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Define the conditions that may be used when
defining fan zones.
The current conditions check the cooling types on
the chassis because the Witherspoon fan zones are
different based on if water cooling is used or not.
Change-Id: I850b9f04bafb79f36526b6d355b556005b2336be
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The i2cget/i2cset commands in this script can theoretically
interfere with the linux hwmon driver state so the bind/unbind
around running the i2c commands was added as a defensive measure.
But in reality the linux ucd9000 driver does not touch the GPIO registers
so there is no chance of any interference.
Remove the bind/unbind steps which have had issues in the past and
isntead use '-f' argument to i2cget/i2cset to allow the script to
run even when the hwmon driver is loaded.
Change-Id: I0b3748e263a0578b3da533d75fa2f3ccc3a68b09
Signed-off-by: Robert Lippert <rlippert@google.com>
|
|
|
|
|
|
|
|
| |
This recipe is no longer needed on DD1 due to host firmware
changes that limit the PCIe speed to gen2.
Change-Id: I5bab73a7955b491d50666c3bc2564bfecb03e3fe
Signed-off-by: Robert Lippert <rlippert@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated the fan control recipe files to include the events config yaml
file. For witherspoon, an events yaml file was added initially
supporting the fan degraded events of missing or containing a
nonfunctional fan resulting in the fans running at full speed.
Resolves openbmc/openbmc#944
Change-Id: I5cbc69694d2a05ec2d5daab55f045e1e28764828
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
When phosphor-ipmi-host supports returning sensor data, this is
the file it will use to build the cpp map and provide the information.
This has been tested on my platform via ipmitool from the host.
Change-Id: Ie5b0696935d23d6f50c9f62ddb583618a9f3ff91
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
| |
Change-Id: Ic10fd5cd466344eed6dc8009cc841fccfec0e046
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Testing: Used this version to change the register during a BIOS
flashing, and it worked as expected.
Change-Id: I13e59f6917d535647679cc84ff5c62ed1602ad4d
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
| |
Change-Id: I3983dead1b61a110aff086a7c3078aff438fe006
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Add native recipe to copy application error yamls to
known location.
Change-Id: I9a776a8fe29f681ffa48bed6e1b37e6b934a0d52
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the do_install block was added to add the script files,
the binary from the git repository was no longer installed
in the package. Replace with do_install_append.
Also remove the duplicated source variable S.
And reorder the recipe to make it cleaner.
Closes openbmc/openbmc#1713
Change-Id: Iae814884a1b90dd15ea9ead010d4e26f22aa7ca1
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ic6f30f29b3f19945e8954f690542f8fb44874a4c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I4152506e3b3d0a6e8bbe76f25c8fae7119f93009
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A ubiattach is the first step for any ubi operations. If this
service fails, it could be that the pnor chip is formatted
differently, as with the case of flashing it with pflash.
Enhance the service to:
Check if the chip is formatted as a ubi device.
If it's not, format it as ubi with a new ubiformat script.
Reattempt the attach.
This allows a pnor code update without the user having
to manually reformat the chip.
Closes openbmc/openbmc#1637
Change-Id: Id73b5eae40af68cd49e0ba0deb56efc36bd03981
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: If857b64b2841cc9331cc0a8cfbce2b96b9f79845
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
phosphor-gpio-monitor is a generic GPIO monitor application which
can be used for any purpose where a GPIO needs to be monitored for
certain state. Due to this need, it has been added to obmc package
group.
Change-Id: I8e11e8d5567d6f4c56479b335d1f6bd9b39401fd
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: Id50cb6ddecc5e6075f6d4c926c9ed46e31b45fbb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I3918ae32ff0a10fc38cd45be89782275661c76b8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I38816e67a105a6265a8a7933e6d66b95f850f03b
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Latest FSI code changes paths, so we need to update the bind/unbind/scan
paths.
Change-Id: Ia1d8c5f31a8f0c8a69ca03121741a3ba35761c3a
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Perform the opposite operations in reverse order as the
ubimount service file. Create two service files to remove
the rw UBI volumes:
A template service file that takes the version id and
removes the pnor-rw-<versionid> volumes. This can be
used by the Object.Delete interface implementation
to remove a software version.
A service file that removes the single pnor-prsv volume.
This and the template service file can be called by
the FactoryReset interface implementation to remove
all read-write volumes.
Closes openbmc/openbmc#1615
Change-Id: I079eb0fdb7e444434f57abf0421f55864dfb9703
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to create a UBI volume for the read-write (rw) pnor
partitions, create a UBI volume for the preserved (prsv) pnor
partitions to store the host data that should be preserved during
a code update. This volume has a common name instead of a unique
id because only one copy (the active one) needs to be available
in the system.
Add checks to only execute the commands to create the volumes if
needed (they don't exist). This is needed since the preserved one
doesn't need to be created after it's first created.
Change-Id: Ib21d7d5343f3cb48ff71edca29631249dc5717a0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie14f4135c05ea60ee484b323b79a3937b19b6084
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
This provides configurations for phosphor-hwmon to provide fans and
temperature sensors. They also need to be in the devicetree, but this
is where they would be if they were.
Change-Id: I33911818d0a315dc156bff28c70ec3e91403f0bb
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
| |
Change-Id: Id7f80f5078ae3ebe003fb344b3cece1f172aa3e9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Include python native so that sdbus++ can be used to generate error.hpp
and error.cpp from error yaml files.
Change-Id: Ic7ba8d81b24ebe556147b57d962f5a25173fb201
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
| |
mboxd has been fixed so this workaround is no longer needed
Change-Id: I1eca65558c446e982174f1c4af2f484b8fe5c3b8
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involves the following:
* Start the fan-control-init@.service on a power on.
* That service will set fans to full speed, delay for a bit, and then
start the obmc-fan-control-ready target.
* This target will start the fan monitor and real fan control services.
* On a power off, the target and these services will be deactivated.
Doing it this way ensures the fans will have had time to ramp up from a
cold start before applications start looking at them.
Currently, on a reboot at runtime the same thing will occur. The watchdog
would have already brought the fans to high speed, so this will extend
that time at full speed by another 20 (or similar, it's configurable)
seconds, ensuring we know what speed the fans are at.
Resolves openbmc/openbmc#1567
Change-Id: I73a1f91f0efaf319df97b59334073116d45f40c3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1427
Change-Id: I2f09f02d1c5dd84395f614f9bd91fe74e0b9e082
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Create recipe for the openpower-pnor-code-mgmt repo.
Move the pnor-specific service files from the phosphor
layer to the open-power one.
Add the new openpower-software-manager to packagegroups.
Change-Id: Iab47b82e6872f7f92aed6260c51eaf0acf744aeb
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Idb259b3cbf80930b7f821625006bd1575bfe83d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ic33f7e7d40180b6421721778e07a24846f00410f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
LampTest currently expects all the LEDs to be blinking.
This change is for Barreleye and Palmetto.
Change-Id: I78573124f312195d250b4feebf4cb77249cc1c74
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This was just a temporary service that bypassed hwmon and
programmed the fan controller chip directly. Now that the real
fan control is going in, this can be removed.
Change-Id: I0b9e85d89ca097faabccb1744862a58a0776be72
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1266
Change-Id: Iebf502f778a2d62c7a8cfeedc7fcee7dd3857c8b
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
ConditionFileExists doesn't exist. This commit updates the run
condition for cfam_override@.service to ConditionPathExists,
which does exist and is the appropriate condition for the service.
Resolves openbmc/openbmc#1582
Change-Id: I24f233bc61c1d6c93ea8c237ab85da365c5d6220
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The phosphor-fan-monitor-config-native recipe will
install the fan monitor configuration yaml so other
recipes can use it.
To install a system specific version of the yaml,
a .bbappend in that system's layer should be used,
otherwise an empty yaml file will be installed.
Change-Id: I310704846915320b5644eda1d5b933471436b2f9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add yaml to define the phosphor-fan-monitor
behavior.
A possible future improvement would be generate part
or all of this file from the MRW, especially the
inventory piece. This is being skipped for now due
to time constraints.
Change-Id: Ia38f8c40d31fca54abcd9c616981fb040cf57b14
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ic6ee08100116b49f19572edf67fdd9ffa707b813
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit e1dcc23 mentions that the clock generator output
configuration fixup should be started before trying to
send any FSI transactions, so we need to re-order it to
prevent race condition.
Resolves openbmc/openbmc#1519
Change-Id: I11edb6ddf1982cbdda713707599fa62de51bcea4
Signed-off-by: John Wang <hsienchiang@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This YAML defines properties of the Witherspoon fan
zones. The actual fans in the zones will be obtained
from a separate file, which will be generated from the
MRW on systems that use it or else manually created.
The two files will be taken as inputs by a python parser
to generate C++ structures.
The zone field is the fan zone number.
The cooling_profiles field defines the profile that matches
the profile in the MRW, so in addition to the zone number
matching, the parser also has to check that the cooling
profile matches before saying a fan is valid for this zone.
The initial_speed field is the speed the fans should be set
to on application startup.
Future commits will add more functionality to the file.
Change-Id: I579b2c44933e1dc7aa26209016c01f66b2cc1dff
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
The cfam recipe is already in p9.inc, but won't
get installed without this change.
Change-Id: I497fd3b2d722137a8024a3098dd153723cf94b55
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provides the virtual/phosphor-fan-control-zone-config virtual.
By default, it will install an empty zones.yaml file into the
directory needed by the phosphor-fan-control compile.
To provide a system specific fan zone yaml, put one in that system's
layer and install it with a .bbappend, which is what is being done
in this commit for Witherspoon.
Change-Id: Ie58fc9eb7b39cecffa39905266542bae16c0f977
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This recipe will add the new program phosphor-discover-system-state
to new builds. Additionally, the old Python state manager is
removed from the build since discover_system_state.py was the last
thing in it.
Resolves openbmc/openbmc#773
Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I4dea557d5e347f898c2296409ee4bf4adb3d1958
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
occ-control now runs sdbus++ and hence needs to include python
Change-Id: Ief2b0c126b3f94aeeebc467bf9acb03a956b4b27
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: Ia04d42fbab321cc7daeebf88b1b41653c19dfa41
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
Add Romulus-specific override for obmc-console.conf containing the
'local-tty' configuration option.
This enables obmc-console-server to relay the LPC-controlled VUART to
another ttyS0/UART1
Change-Id: Ib56d5c34154a38721eb6379cc3636cbf24f34fea
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* Added cooling zone information to the fans.
* Gave the TMP275 a hwmon name so it will start
being recognized by phosphor-hwmon.
Change-Id: I54da1677973b52de1594c6011e4a302fb56558fd
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This resolves openbmc/openbmc#1279 in the same way as the
Zaius patch at cd021293f1264ace3b0833e63a3f9b4a20fd1ef4.
Also, add baud-rate change per Zaius change at
dbf3fba037a7c791084b87e0de4e88316386de3c.
Change-Id: I59fddac17f0015fcf33c94aa8161dcfd81864cd4
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Remove the watchdog workaround patch from meta-romulus;
And remove the patch itself since no machine is using it anymore.
Change-Id: I2a1d8cbce3637562a35f738fce8c6bea2738528c
Signed-off-by: Lei YU <mine260309@gmail.com>
|