| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
This assumes that if the ATX power is on, the host was previously IPLed
|
|
|
|
| |
This fixes high CPU use on the BMC due to an unneccessarily high IPL status polling rate
|
| |
|
|
|
|
| |
Fix up general handling of IPL observation
|
| |
|
| |
|
|
|
|
|
| |
The I2C bus the FPGA is attached to is even less stable than originally thought
Retry reads and use most commonly returned value as an interim workaround
|
|
|
|
|
| |
The I2C bus on which the FPGA resides is somewhat noisy / high traffic. This leads to frequent i2cget failures.
Retry a failed FPGA register access up to 16 times before aborting.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This helps reduce issues with the OCCs dropping off the bus
during skiboot initialization
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c0da84767c00657c0b3b1afff7d9c5c2f1ed5fdb.
We have switched to the bash implementation of obmcutil, so this is no
longer required.
Change-Id: I10e8008e639bbc6d5d1078d7bcb7c0fa575cc62b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that chassiskill is a standalone app and is
using ioctl gpio handling (through the gpioplus library),
the gpio libraries here need to use ioctl as well for
chassiskill to be compatible.
Tested: Verified chassiskill works as intended and checked
that nothing else broke.
Change-Id: I67c431027d31e87c332c3e1771fc2d3423f56652
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Additional changes are required before this can go in.
This reverts commit a738350d00b3171a1cbf0a749381b1ac36b4b7f8.
Change-Id: Ie16d54d781743960356ad936c12f2a571a1ef8e2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
The button applications have moved to their own project here:
https://github.com/openbmc/phosphor-buttons
Remove the legacy rstbutton and pwrbutton appications.
Change-Id: I16d0e364bd748551cf4d33244e07de79e069dedc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
In the effort to remove python from the bmc, obmcutil
has been rewritten in 'sh' and moved to phosphor-state-manager.
Change-Id: I39dd0e09fada7c7036b14316376e451ae3e2d330
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Pushing reset button or sending reboot command
should not power on the host if it was off.
Change-Id: I9e307e7b5d181f94bed7176baad23a95920ed8b2
Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com>
|
|
|
|
|
|
|
| |
Add a license terms for skeleton.
Change-Id: I8189f8e4465408d67b16ab6408c45ec4ad01d0ce
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
The pciedetect app was originally created for the Barreleye
system which is not maintained anymore. This app is not included
on any other system, so remove it.
Change-Id: Id3803f8478e8bc60e4889f4e454ee25d78c5fbc4
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The system manager (obmc.system) is being deprecated and
the GPIOs has moved out of D-Bus (see openbmc/openbmc#3332).
The pytools still depend on the convertGpio function provided
by system manager, so copy that function into the tools that
use it to remove the dependency.
Tested: obmcutil power functions still work, and gpioutil
-l and -p work the same.
Change-Id: Ia09f95312438040908eb15f93ff6d525665f5ab3
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sensor manager was in charge of managing the sensors under
the /org/openbmc/sensors path, but this path is now deprecated
and the sensors have moved to other paths specified by the ipmi
sensor config.yaml file in the openbmc/openbmc repo.
This sensor manager can now be removed.
Tested: Powered on a Witherspoon to the Host OS without ipmi
giving get/set sensor errors.
Change-Id: Ic6a8b95d9dd025ba160669acac134c0b49420a89
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyDerating Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the config.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: I08ca374b131c1ca62f632f4a5ae1475b7090bcfe
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyRedundancy Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the config.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: I4f5bfc4c754d8b1a9e3ebbf7e71106563fbcf3d0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The TurboAllowed sensor is already mapped to
/xyz/openbmc_project/control/host0/turbo_allowed
(Reference: the phosphor-ipmi-sensor-inventory-mrw-config/config.yaml file).
Remove it from the deprecated /org/openbmc/sensors path.
Tested: Powered on a Witherspoon to the Host OS without errors.
Change-Id: I3232f66e338f986a21df8aae5401c97b565cbdd6
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BootCountSensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
Remove it as it's deprecated.
Tested: Verified that the "AttemptsLeft" host property where
the BootSensor value now resides had the default value of 3
and was decremented when the Host didn't boot. Then on a
successful boot this value was set back to 3.
As a confirmation note that the BootCount sensor was no
longer used, it never changed values.
Change-Id: I4627c73774c42bec0046eb4d229a001cef32291b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The Operating System Status sensor has moved from
/org/openbmc/sensors to /xyz/openbmc_project/state/host0.
Remove the sensor from the org path.
Tested: Powered on a witherspoon to the Host OS.
Change-Id: I02d50d0a38485833fd73579c5aec41fd157141d0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The boot progress sensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
(Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files
under the openbmc/openbmc repository).
Remove the deprecated sensor from the configs.
Tested: Verified Witherspoon powered on to the Host OS and that
the BootProgress property in the state manager path got updated
to xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart.
Change-Id: Ibe1393899135c7877d731afe27689ca707068a21
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The org.openbmc.Sensors interface has been replaced with
xyz.openbmc_project.Sensors:
https://github.com/openbmc/docs/blob/master/sensor-architecture.md
Update the fan control app to use the supported sensor interface.
This fan control provides two D-Bus methods that are not used
by any current supported platform, but some platforms still include
this app in their image so update it to serve as a reference.
Also add an empty string as the second argument to the GetObject
method call, otherwise the call fails to find the object.
Tested: Booted Romulus and verified the fan control app started.
Change-Id: I9e576e126a80863f47cab622d0029a389cddb644
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: If579b73b5affbdce14e4fd59547aca6104c310d6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I976368b923945719aecaf632168bedba5664921d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I37ef1b6a4bb39a9f06bb29e15083a8d94b2f1eda
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: Ia0dc47b0472cc39d1301bdb0ab9178139cc066ff
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ic4de4f9de2c1755be3430b30ed72dfdbca56f787
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Now that gpio_init() and read_gpios() doesn't use
D-Bus, they don't need the D-Bus connection parameter.
Change-Id: Id7f3ee6547bed7c0c0eed5d75cba2d6ff239d0fa
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This frees the cJSON structures that were created in
the gpio_init() calls. Doing it this way allows the
JSON to be parsed only once across multiple gpio_init()
calls.
Change-Id: Ia2c37c941b458fe271287b441c30b00dcb67d742
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
These are not used anymore.
Change-Id: I4bf8f0538aafeec768075fd51236a50f1f97b3d8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Finds the GPIO base value to use in the GPIO number calculation.
This is most likely specific to ASPEED BMCs, though as with
the calling code additional support can be added in the
future if required.
Change-Id: Ie0d2b87286ab4bf6b05b61245bd821ab2a9d602a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|