4088ec38 | 22-Sep-2016 |
Xo Wang <xow@google.com> |
configs: Add POWER_CONFIG for machines
Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds.
These are based on exi
configs: Add POWER_CONFIG for machines
Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds.
These are based on existing per-machine patches to op-pwrctl.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124
show more ...
|
3f87de8b | 22-Sep-2016 |
Xo Wang <xow@google.com> |
system_manager, libobmc-intf: Add power GPIO configuration interface
This adds a dbus call (in org.openbmc.managers.System) and C binding (in libopenbmc-intf) to read a POWER_CONFIG from the Python
system_manager, libobmc-intf: Add power GPIO configuration interface
This adds a dbus call (in org.openbmc.managers.System) and C binding (in libopenbmc-intf) to read a POWER_CONFIG from the Python system configuration that abstracts GPIO functionality (power good, reset, etc) from their net names in GPIO_CONFIG.
This should eventually replace machine-specific patches to op-pwrctl that define their own power and reset lines.
Change-Id: I56eaaf60ef852b68124e4a765942243ad17d06ac Signed-off-by: Xo Wang <xow@google.com>
show more ...
|
eb27fa9f | 29-Sep-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Formatting only fix
Change-Id: I4fa54f7f707f001c03ce06718a83781e2e6f173c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
520f8b05 | 06-Sep-2016 |
Ratan Gupta <ratagupt@in.ibm.com> |
Fix for Power Restore Policy
This fix is to make the Restore_last_state of Power Restore Policy to working properly.
eg:- if the last state is Host_powered_on/off and system goes for pdu reboo
Fix for Power Restore Policy
This fix is to make the Restore_last_state of Power Restore Policy to working properly.
eg:- if the last state is Host_powered_on/off and system goes for pdu reboot then system should reach to the Host_Powred_On/Off state.
Fixes openbmc/openbmc#196
Change-Id: If4bdb65a21452d7aa041312fcdbb1daa1b1b0424 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
a7ac805b | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove gpio code from config files
Move to a new obmc.system module.
Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
7e5ec46d | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: Move INVENTORY_ROOT to inventory module
Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
ef3a3ce8 | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove unused variables
Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
53066750 | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
python: add vim modelines
Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
3d13c285 | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
palmetto: remove frus
These are now provided in a json file.
Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
cad44d68 | 21-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
Fix some hardcoded inventory paths
Modify hardcoded inventory paths to match the ones generated by the machine readable workbook.
Note the FRU_INSTANCES array is no longer used and will be removed
Fix some hardcoded inventory paths
Modify hardcoded inventory paths to match the ones generated by the machine readable workbook.
Note the FRU_INSTANCES array is no longer used and will be removed with a separate commit.
Resolves openbmc/openbmc#563.
Change-Id: I7af395f08551692f03c95c151bfbbae9e33dee00 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
6be71f4a | 16-Sep-2016 |
Timothy Pearson <tpearson@raptorengineering.com> |
Remove explicit vuart enable from startup_hacks.sh
Newer kernels always enable the vuart device and do not expose the enable file for the vuart device.
Change-Id: Id8d341322f19112d102c9df8a9e6bdb7e
Remove explicit vuart enable from startup_hacks.sh
Newer kernels always enable the vuart device and do not expose the enable file for the vuart device.
Change-Id: Id8d341322f19112d102c9df8a9e6bdb7e2ef6337 Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
show more ...
|
f327ddd8 | 13-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: add missing json import
Change-Id: I89215bdaf5aa02d0063b6164454b56a7cc19cb37 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
f47f5faa | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use super to construct dbus.service.Object
Change-Id: I830decfc523d435c6b9ecdc9ffffec7956c3b85d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
7a4d77a8 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
chassis: pep8 fixes
Change-Id: I6dc52616ce30660f2e6992f6e1a52d44dfec1cd7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
cf984155 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
hwmon: pep8 fixes
Change-Id: I7ffedd4592dd3efbf1b531ecf3b7fbfd1f95bc0c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
df32eea6 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
flash_bios: reap children
Change-Id: Id8d341322f19112d102c9df8a9e6bdb7e2ef6341 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
26be0690 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
op-flasher: Remove pflash tree
No longer needed with the move to the shared object.
Change-Id: I36f7d7ba8b3df5ebae67a93ae18f1fa2d5c4d29a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
275524ee | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
op-flasher: use dynamic libflash
Replace the old statically linked snapshot of libflash with the real shared library.
Resolves: openbmc/openbmc#542 Change-Id: I3b6f634d17951c714ebc571518ad5067eaf44
op-flasher: use dynamic libflash
Replace the old statically linked snapshot of libflash with the real shared library.
Resolves: openbmc/openbmc#542 Change-Id: I3b6f634d17951c714ebc571518ad5067eaf44e97 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
2c4ed183 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
gdbus: Append LDLIBS
Allow makefiles to add additional libraries.
Change-Id: Ia09e9de2dd1c49d92512bed87bb5d906b258316f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
0f608de9 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: add missing module imports
Change-Id: I9df7e3917c3107356b67d2f59301a8bd42f59cc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
14c8286a | 15-Aug-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add ability to load inventory from file instead of hardcoding.
This commit allows inventory_items.py to load the inventory from /usr/share/inventory/inventory.json instead of using the hardcoded arr
Add ability to load inventory from file instead of hardcoding.
This commit allows inventory_items.py to load the inventory from /usr/share/inventory/inventory.json instead of using the hardcoded array in <System>.py. A future commit will generate inventory.json from the machine readable workbook XML for at least one system.
If the code can't load the json file, it will fall back to the hardcoded array, which at this point we know is always present.
Even though pyinventorymgr will probably be rewritten in C++ at some point, this series of commits illustrates how the OpenBMC can utilize a data-driven design, and this component was chosen as it takes a minimal amount of changes.
Change-Id: Ie749a068d6f47c5671677b21ff3ef5418739f161 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
e2c68b31 | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove goto_system_state
With the move to systemd this script isn't needed anymore.
Change-Id: I90e481ccd720492fce25b62edc5e47d36d6d5a7c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
9a0aaed0 | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: remove interpreter
Remove /usr/bin/python as these are not runnable scripts.
Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
de6ed120 | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
system_manager: cleanup
select python via /usr/bin/env
Change-Id: I426a8947e277892c3084ef08c246e98b625c3d10 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
34c3bf9e | 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
bmcupdate: pep8 fixes
Change-Id: I44b65bc0c22bc137c2e7daf3f5933de3a1fc0063 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |