summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add Blackbird support04-16-2019Raptor Engineering Development Team2019-04-301-0/+144
|
* Update IPL progress bar along with LEDsRaptor Engineering Development Team2019-04-271-1/+25
|
* Remove unneccessary import of obmc.system from the LED monitor serviceRaptor Engineering Development Team2019-04-241-1/+0
|
* Update IPL status observer to use new port 81h/82h status codesRaptor Engineering Development Team2019-04-241-116/+68
|
* Recover from BMC reboot by properly setting host and IPL statusRaptor Engineering Development Team2019-04-191-6/+20
| | | | This assumes that if the ATX power is on, the host was previously IPLed
* Reduce polling interval of IPL status observerRaptor Engineering Development Team2019-04-191-1/+1
| | | | This fixes high CPU use on the BMC due to an unneccessarily high IPL status polling rate
* Backport IPL observer and LED handler changesRaptor Engineering Development Team2019-04-192-146/+159
|
* Defer IPL completion notice until skiroot kernel has loadedRaptor Engineering Development Team2019-04-192-36/+56
| | | | Fix up general handling of IPL observation
* Remove race condition in skiboot completion monitorRaptor Engineering Development Team2019-04-191-7/+14
|
* Retry I2C set commands if readback does not match desired valueRaptor Engineering Development Team2019-04-191-9/+44
|
* Work around unstable I2C busRaptor Engineering Development Team2019-04-191-18/+23
| | | | | 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
* Fix IPL monitor failureRaptor Engineering Development Team2019-04-191-27/+9
| | | | | 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.
* Fix corner case where IPL status observer was throwing exceptionRaptor Engineering Development Team2019-04-191-0/+2
|
* Only sound beep once per IPL completionRaptor Engineering Development Team2019-04-191-4/+7
|
* Sound beep on IPL completionRaptor Engineering Development Team2019-04-191-3/+12
|
* Add initial hard PWM based beep utilityRaptor Engineering Development Team2019-04-193-1/+205
|
* Add skiboot state to IPL observer and LED monitor servicesRaptor Engineering Development Team2019-04-192-3/+38
| | | | | This helps reduce issues with the OCCs dropping off the bus during skiboot initialization
* Add very early version of software beep utilityRaptor Engineering Development Team2019-04-193-1/+134
|
* Update IPL status observer to allow IPL complete target holdoffRaptor Engineering Development Team2019-04-191-9/+24
|
* Add systemd trigger on IPL completionRaptor Engineering Development Team2019-04-191-0/+10
|
* Add new IPL status observer and Talos LED driverRaptor Engineering Development Team2019-04-199-0/+460
|
* Add missing fan FRU entries to Talos configuration fileRaptor Engineering Development Team2019-04-191-0/+3
|
* Adjust for Talos™ IIRaptor Engineering Development Team2019-04-199-2201/+1
|
* Revert "Revert "skeleton: Remove obmcutil""Brad Bishop2019-04-163-335/+1
| | | | | | | | | | 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>
* skeleton: Use ioctl gpio handlingAnthony Wilson2019-04-103-217/+90
| | | | | | | | | | | | | 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>
* Revert "skeleton: Remove obmcutil"Brad Bishop2019-04-043-1/+335
| | | | | | | | | Additional changes are required before this can go in. This reverts commit a738350d00b3171a1cbf0a749381b1ac36b4b7f8. Change-Id: Ie16d54d781743960356ad936c12f2a571a1ef8e2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* buttons: Remove legacy button applicationsBrad Bishop2019-03-205-349/+1
| | | | | | | | | | 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>
* skeleton: Remove obmcutilAnthony Wilson2019-01-273-335/+1
| | | | | | | | 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>
* Prevent the reboot command from powering on the host.Alexander Soldatov2018-12-061-6/+2
| | | | | | | | 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 Apache LICENSEBrad Bishop2018-10-311-0/+201
| | | | | | | Add a license terms for skeleton. Change-Id: I8189f8e4465408d67b16ab6408c45ec4ad01d0ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove pciedetectAdriana Kobylak2018-10-043-228/+0
| | | | | | | | | 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>
* pytools: Remove dependency to obmc.systemAdriana Kobylak2018-09-242-6/+60
| | | | | | | | | | | | | | 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>
* pysensormgr: Remove sensor managerAdriana Kobylak2018-08-225-84/+0
| | | | | | | | | | | | | | 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>
* configs: Remove PowerSupplyDeratingSensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | 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>
* configs: Remove PowerSupplyRedundancySensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | 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>
* configs: Remove TurboAllowedSensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | 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>
* configs: Remove BootCountSensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | | | | | | 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>
* configs: Remove the OperatingSystemStatus sensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | 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>
* configs: Remove BootProgressSensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | | | | | | 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>
* fan_control: Move to using xyz.openbmc_project.SensorsAdriana Kobylak2018-08-221-28/+25
| | | | | | | | | | | | | | | | | | 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>
* Remove the GPIOs from S2600wf.pyMatt Spinler2018-08-141-32/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: If579b73b5affbdce14e4fd59547aca6104c310d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Romulus.pyMatt Spinler2018-08-141-60/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I976368b923945719aecaf632168bedba5664921d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Palmetto.pyMatt Spinler2018-08-141-48/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Lanyang.pyMatt Spinler2018-08-141-51/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I37ef1b6a4bb39a9f06bb29e15083a8d94b2f1eda Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Zaius.pyMatt Spinler2018-08-141-53/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: Ia0dc47b0472cc39d1301bdb0ab9178139cc066ff Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Witherspoon.pyMatt Spinler2018-08-141-69/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Point obmcutil chassiskill code at the GPIO JSONMatt Spinler2018-08-141-21/+21
| | | | | Change-Id: Ic4de4f9de2c1755be3430b30ed72dfdbca56f787 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove unnecessary args from GPIO functionsMatt Spinler2018-08-148-19/+17
| | | | | | | | 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>
* Call gpio_inits_done() from GPIO consumersMatt Spinler2018-08-144-0/+5
| | | | | | | | | | 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>
* Remove host control GPIOs from GpioConfigsMatt Spinler2018-08-142-19/+0
| | | | | | | These are not used anymore. Change-Id: I4bf8f0538aafeec768075fd51236a50f1f97b3d8 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud