#
130ac97c |
| 14-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
power-sequencer: Replace Argument class with CLI11
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I8f48a1fb18ed2c190c8292317e883b05754a5558
|
#
40247cce |
| 06-Sep-2019 |
Andy YF Wang <Andy_YF_Wang@wistron.com> |
Add CPLD class for Mihawk platform
If PGOOD signal is abnormal when chassis power_on, read Mihawk's CPLD-register via I2C to confirm the error.
First, confirm whether the power_on_error signal is 1
Add CPLD class for Mihawk platform
If PGOOD signal is abnormal when chassis power_on, read Mihawk's CPLD-register via I2C to confirm the error.
First, confirm whether the power_on_error signal is 1 when chassis power_on(1 means abnormal). If the signal is 1, read the error-code-register to analysis reason.
Second, runtime to confirm whether the power_ready_error signal is 1 after chassis power_on(1 means abnormal). If the signal is 1, read the error-code-register to analysis reason and shutdown the chassis.
Tested: Use command "obmcutil chassiskill" to trigger PGOOD error action analysis during chassis power on.
Signed-off-by: Andy YF Wang <Andy_YF_Wang@wistron.com> Change-Id: I5f9c0d508627324a6c784ded125c28f0437bf52d Signed-off-by: Alvin Wang <alvinwang@msn.com>
show more ...
|
#
d1bc4cec |
| 13-Dec-2019 |
Brandon Wyman <bjwyman@gmail.com> |
Update .clang-format to latest version from docs
Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: Ie6e7f43e7554429704dca86b21320c90aed18791
|
#
ab093328 |
| 09-Oct-2019 |
Lei YU <mine260309@gmail.com> |
Refactor: rename namespace witherspoon to phosphor
This repo now becomes phosphor-power, rename namespace witherspoon to phosphor to make it generic.
Signed-off-by: Lei YU <mine260309@gmail.com> Ch
Refactor: rename namespace witherspoon to phosphor
This repo now becomes phosphor-power, rename namespace witherspoon to phosphor to make it generic.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Icb9f8a7c33065add99f2bf42ed55745a28fa0424
show more ...
|
#
f0f02b9a |
| 25-Oct-2018 |
Matt Spinler <spinler@us.ibm.com> |
Start using .clang-format
Used the one from docs/style/cpp.
Change-Id: I3bdc2b353bf18a437266b362d8205b8463a9ce2b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
e5a8b473 |
| 18-Oct-2018 |
William A. Kennington III <wak@google.com> |
event: Remove in favor of sdeventplus
Use the new library provided to all openbmc projects instead of rolling our own managed pointer.
Tested: Compiled
Change-Id: I4993d4340e0e0aa5898e73ef815baa81
event: Remove in favor of sdeventplus
Use the new library provided to all openbmc projects instead of rolling our own managed pointer.
Tested: Compiled
Change-Id: I4993d4340e0e0aa5898e73ef815baa81b0e8a2bc Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
78c5c2b0 |
| 14-Dec-2017 |
Matt Spinler <spinler@us.ibm.com> |
Change interval units to milliseconds
Allow the monitoring intervals to be specified in milliseconds instead of seconds in order to handle polling intervals less than a second.
Change-Id: I3ef078df
Change interval units to milliseconds
Allow the monitoring intervals to be specified in milliseconds instead of seconds in order to handle polling intervals less than a second.
Change-Id: I3ef078df29ef2866920f00103710b02dbde6fcb2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
a8269652 |
| 19-Sep-2017 |
Matt Spinler <spinler@us.ibm.com> |
Shutdown system on GPU over-temps
Resolves openbmc/openbmc#1726
Change-Id: If3263678bc03df7714f31aa097f38ee6c09389f4 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
7084927e |
| 22-Aug-2017 |
Matt Spinler <spinler@us.ibm.com> |
Monitor UCD90160 for faults at runtime
Add the RuntimeMonitor class that will monitor the UCD90160 faults in 2 ways:
1) Watch for the PowerLost signal, meaning system PGOOD was lost. When it oc
Monitor UCD90160 for faults at runtime
Add the RuntimeMonitor class that will monitor the UCD90160 faults in 2 ways:
1) Watch for the PowerLost signal, meaning system PGOOD was lost. When it occurs, analyze the chip for errors and then issue a proper shutdown so a faulted device doesn't keep getting power.
2) Poll on an interval for nonfatal errors that need to be logged but don't cause a PGOOD loss.
The main executable can now launch either the PGOODMonitor or the RuntimeMonitor based on commandline arguments.
Change-Id: If2856f173d5d6288d8333538334b4b4cb4a60097 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
b2d72511 |
| 22-Aug-2017 |
Matt Spinler <spinler@us.ibm.com> |
Derive PGOODMonitor from DeviceMonitor
Adding this base class so that PGOODMonitor can fulfill its true purpose, which is checking the UCD90160 for errors on PGOOD failures.
Change-Id: Ie0637676ae5
Derive PGOODMonitor from DeviceMonitor
Adding this base class so that PGOODMonitor can fulfill its true purpose, which is checking the UCD90160 for errors on PGOOD failures.
Change-Id: Ie0637676ae5239c677d60f14d738ff9709d2b7b0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
56d90a89 |
| 14-Aug-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fill in witherspoon-pseq-monitor main()
Call run() on an instance of the PGOODMonitor class.
Change-Id: I1ec693ece7dd6034c513d2ca6b294e5b0a1e0e6d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
afb39132 |
| 14-Aug-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add witherspoon-pseq-monitor framework
This application is for monitoring the power sequencer chip for faults.
Change-Id: I6b18fcba75ae0206311e4bcafdebad27221b0796 Signed-off-by: Matt Spinler <spin
Add witherspoon-pseq-monitor framework
This application is for monitoring the power sequencer chip for faults.
Change-Id: I6b18fcba75ae0206311e4bcafdebad27221b0796 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|