Revision Date Author Comments
# 25478fa2 01-Aug-2023 Shawn McCarney <shawnmm@us.ibm.com>

pseq: Create Bonnell configuration file

Create the power sequencer configuration file for Bonnell systems. This
file identifies the PMBus rails and the GPIO lines/pins that should be
checked when a

pseq: Create Bonnell configuration file

Create the power sequencer configuration file for Bonnell systems. This
file identifies the PMBus rails and the GPIO lines/pins that should be
checked when a pgood failure occurs.

On Bonnell systems no GPIO lines need to be checked.

Tested:
* Configuration file loading
* Verified file is found on Bonnell systems using D-Bus property
* Verified file is loaded successfully without errors
* Verified all rails in file are stored in C++ data structures
* Verified having empty pin array does not cause an error
* Tested where file contains a syntax error
* Verified error message is written to journal
* Verified no error log created
* pgood detection
* Verified system powers on cleanly when no pgood error is present
* chassison
* Verified chassis is powered on
* Verified no error logs created
* Verified no error messages written to the journal
* poweron
* Verified system is powered on
* Verified no error logs created
* Verified no error messages written to the journal
* Verified system powers off cleanly when no pgood error is present
* chassisoff
* Verified chassis is powered off
* Verified no error logs created
* Verified no error messages written to the journal
* poweroff
* Verified system is powered off
* Verified no error logs created
* Verified no error messages written to the journal
* Test where a pgood error is detected in a rail
* Verified pgood failure is detected
* Verified error message written to the journal
* Verified GPIO values written to the journal
* Verified error log is created
* Tested with a pgood error on each rail in the config file
* Test where pgood failure occurs during power on attempt
* Test where pgood failure occurs after system was successfully
powered on

Change-Id: I431d2dd7e99f2a99bbab936d6fad03af5654886f
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>

show more ...