| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Move to a new obmc.system module.
Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
These are now provided in a json file.
Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I89215bdaf5aa02d0063b6164454b56a7cc19cb37
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I830decfc523d435c6b9ecdc9ffffec7956c3b85d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I6dc52616ce30660f2e6992f6e1a52d44dfec1cd7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I7ffedd4592dd3efbf1b531ecf3b7fbfd1f95bc0c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Id8d341322f19112d102c9df8a9e6bdb7e2ef6341
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
No longer needed with the move to the shared object.
Change-Id: I36f7d7ba8b3df5ebae67a93ae18f1fa2d5c4d29a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Allow makefiles to add additional libraries.
Change-Id: Ia09e9de2dd1c49d92512bed87bb5d906b258316f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I9df7e3917c3107356b67d2f59301a8bd42f59cc1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
With the move to systemd this script isn't needed anymore.
Change-Id: I90e481ccd720492fce25b62edc5e47d36d6d5a7c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Remove /usr/bin/python as these are not runnable scripts.
Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
select python via /usr/bin/env
Change-Id: I426a8947e277892c3084ef08c246e98b625c3d10
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I44b65bc0c22bc137c2e7daf3f5933de3a1fc0063
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I8ef7c3024c2330acffa7603aee4c7ef295aea1b0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Allow the inventory manager to start with a missing board
config file.
Change-Id: Ifd0e2080348de6ed802505a26c85ddebf355d3c4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ib27c332db35a9e3d5e0bba9d56d5b48966eef9a6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Allow hwmon to at least start without a board config file.
Change-Id: I53114671d91f887be1bf4a4b9207ece68fa2d0ce
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I94fa21938796a694d8bb653b45b7f5379c7e6bc4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I7707fa2d76e4ebc07729e5c95038ef57e2ded626
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I65d56a5597c5e79d4ac48d90b5d7437f50cc8023
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I6ba0bfe7463cf8647d07218174d578f2c96e076a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Allow sensor_mgr to at least start without a board config
file.
Change-Id: I30d7cc7ec10f6d398236245e28192a20ae4f5125
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I67dbe7831e63ffa7729bead55eae01aa2e9d8371
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I7e3113bae4dba0b1d2973df0f2659d3cc33f587f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
No longer required with the switch to systemd for state management.
Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
With the switch to systemd this isn't needed anymore.
A small bit remains allowing the obmcutil cmdline to
continue reporing the familiar states for now.
Change-Id: I4c9a0201e0237fdcbd4f69f0de05c92f223827f0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Start a systemd target for chassis state changes.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I3f02360aeec35ff451d4da8a087c1aeb1e7709e0
|
|
|
|
|
|
|
|
|
|
| |
pgood_wait simply blocks until the power state changes to
the requested state.
The intent is for use from a systemd unit similar to nm-online.
Change-Id: Icf1e18f5d47d6eb2fc424b4614fd196ef3dfd6ee
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I42dafd3235d13ec57f7b15e043bc3fe82fdb4665
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ife1759b1533b37e0a8c94748334ea2c5f02ba873
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I359e5bab739e3b029a3331b0acfbf54e8db1120c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
SystemManager starts multiple child processes when system state changes.
Set parent process to ignore the SIGCHLD signal, to prevent child
processes transforming into zombies when they terminate.
Resolves openbmc/openbmc#206
Change-Id: Ic8baa0cbb97f2df8fcc462a732a4194e4a6d3f8c
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- should only use exponential (10^x) scaling
- purpose of the scale is to identify units
- need adjustment factor for some sensors; internal use only
depends on Id4e1dfad0def21f9f1d341d859c3b2c237dea080
resolves openbmc/openbmc#412
Change-Id: Iaf2d5e30df620212dd3c9e821d6462964520dc44
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The magic sequence triggers the host to boot, so start the
host watchdog timer (which monitors for the host hanging)
right after that.
There's no need to port the check for debug flag because
it's checked as part of the magic sequence.
Resolves openbmc/skeleton#127
Change-Id: Ibad7b73c795c6cc8971bb99b755c8fce2c859f97
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Change the power button behavior to mirror the current behavior
on Power and x86 systems:
On short press: soft power off
On long press: hard power off
Resolves openbmc/openbmc#485
Change-Id: I436c364f6ed072474f942f80d98428df11b4c666
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The inventory properties 'fault' and 'present' were the only
inventory propertiess that were not being cached, so during a
cache restore, these values would be set to default instead
of being restored to their last value.
Resolves openbmc/openbmc#487
Change-Id: I0bab765e45193635872d465b89fa2e19f3111fa0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
| |
Fixes openbmc/openbmc#453
Change-Id: Ia57f5628be0e99e41b3088643c75ce6fa790282a
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I81e847076deffbb191dc9db8503ae11dc555eb2d
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
According to BMC Firmware Specification, on occasion the BMC will be required
to shut down the host due to high ambient or fan fails. A SEL must be
present in this case.
Fixes openbmc/skeleton#64
Change-Id: I3d779fc597961821a7a7f1b0f147314072ae8802
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MAC and UUID values are written in the VPD eeprom by the manufacturer.
These values are mirrored to u-boot. During BMC boot, check that the
values in the VPD eeprom and u-boot are the same. If they are different,
use the VPD eeprom value to update u-boot.
Exception is the MAC when it's been set by the admin to have a locally
administered address. In this case the MAC is not updated.
Updating the MAC takes effect immediately, updating the UUID requires a
BMC reboot.
Change-Id: Ied0f308ed06cd6a45bd618bbb307b2483c6b5b61
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The inventory is persisted across BMC reboots, so load this
data at BMC startup to not need a system power off/on to
load the inventory.
Load the cached values after setting the property values to
default, so that the cached value (if any) overwrites the
default value and the properties return to the same state
they were prior to BMC reboot.
Fixes openbmc/openbmc#487
Change-Id: I9e40b2af6880dbaa4ccc0f7e93c74ecf63a51d6f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
The library function doing the caching now makes the
parent directory if it doesn't exist so also removing
that bit of code from the system manager.
Change-Id: I30a55737a51e698d977dbc3f30208db1d4e0e87e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|