| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
| |
This should help with startup time a little bit.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Remove dead code
|
| |
| |
| |
| |
| |
| | |
Removing a bunch of commented out code and unused applications.
Signed-of-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
| |
| |
| |
| |
| | |
Added by mistake when pflash was originally imported.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\ \
| |/
|/| |
Enable user-overriable CFLAGS
|
|/
|
|
|
|
|
|
|
| |
Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append
user specified CFLAGS to that.
Use CFLAGS during link.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Add support for checkstop gpio
|
| |
| |
| |
| |
| |
| |
| | |
Fix gpioutil tool to parse commands, this broke with the
skeleton refactoring commit.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
| |
| |
| |
| |
| |
| | |
Add gpio checkstop target to Makefil to build it.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
| |
| |
| |
| |
| |
| |
| | |
Add checkstop gpio pin number and handling to Barreleye and
Palmetto platforms.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
These files are autogenerated from file openbmc_intf.xml.
These changes were generated after adding the checkstop gpio handling
to file openbmc_intf.xml.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
| |
| |
| |
| |
| |
| | |
Add a gdbus interface to handle the checkstop gpio.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add function to handle a checkstop gpio interrupt. Once interrupt
is received, wait an arbitrary time of 30s, and reboot the host
after that time if the gpio interrupt is still set and the system
state indicates the host is running.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\ \
| | |
| | | |
Fix Firestone,Garrison i2c addresses for OCC
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously these were hardcoded via a garrison layer patch.
When skeleton started looking for addresses in the system
configuration file and stopped hardcoding them, the garrison
and firestone files were updated but with the barreleye
addresses.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\ \
| |/
|/| |
Initial Witherspoon board configuration
|
|/
|
|
|
|
| |
Witherspoon is an IBM branded OpenPOWER system for the HPC market.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Fix syntax error introduced with 6956bbd
|
|/
|
|
| |
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Fix broken attempt at hwmon caching
|
|/
|
|
|
|
| |
This repairs a hwmon regression introduced with efc6897.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
skeleton refactoring
|
| |
| |
| |
| |
| |
| |
| | |
This removes the need to pass the system configuration
to all the scripts.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moving to directory per-application layout. This facilitates
building single applications which is useful in the Yocto build
environment since different applications satisfy different OpenBMC
build requirements.
A number of issues are also addressed:
- All applications were pulling in libsystemd and the gdbus libs
irrespective of whether or not they were needed.
- gpio.o duplicated in every application - moved to libopenbmc_intf
- Added install target
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Fix the sensor scandirectory recovery bug when poll or readattribute fail
|
| | |
|
|\ \
| |/
|/| |
Deprecate modules provided by pyphosphor
|
| |
| |
| |
| |
| |
| |
| | |
The pyphosphor package provides equivalent function
so use that and drop the duplicated code.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
| |
| |
| |
| |
| |
| | |
The pyphosphor package provides equivalent function
so use that and drop the duplicated code.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|/
|
|
|
|
|
| |
The pyphosphor package provides equivalent function
so use that and drop the duplicated code.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
Inventory upload fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Insert the inventory upload step into the boot sequence.
The current triggers ( host powered off and bmc boot )
don't handle a BMC reset while the host is running.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A wrapper script for use with the skeleton state management
infrastructure that runs an application and then emits a
goto system state signal. This removes the need for applications
to embed state transition logic.
This is a hack to enable inventory upload until a more complete
skeleton/systemd state management infrastructure is created.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|/
|
|
|
|
|
|
| |
Cut down on dbus traffic by keeping a little cache of hwmon sensor
attributes. Only call the sensor manager if the value has actually
changed.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
skeleton: add a new dbus method System::getFRUArea(fru_id)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This method will be used by ipmi-fru-parser to get fru area names defined
in ID_LOOKUP table. The ID_LOOKUP table defines FRUs that should be
present in the system.
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|\ \
| | |
| | | |
Read vpd from motherboard and add it to the inventory
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The motherboard eeprom is now modeled in the device tree in
Barreleye. Read its vpd with the rest of the eeproms and add
the info to the inventory.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\ \ \
| | | |
| | | | |
Add update rest interface to bmc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currentling /org/openbmc/control/flash/bmc only has updateViaTftp
I am adding the update method to allow for bmc code updates with
requiring a remote tftp server.
Something like this will now work. Ofcourse the update method is not in charge of getting the code on to the bmc server. That's the job of something else (i.e. scp)
curl -k -H "Content-Type: application/json" -x POST -d "{\"data\": [\"/tmp/flash-barreleye\"]}" https://<ip>/org/openbmc/control/flash/bmc/action/update
|
|\ \ \ \
| |/ / /
|/| | | |
Add support for ID_BUTTON gpio in all systems
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
There is a gpio that supports turning a LED in to an identify LED.
Changes where made to Barreleye to support it. This commit adds
the support to the other systems
|
|\ \ \
| | | |
| | | | |
Pull down GPIOQ7 for unlock identify LED when power on
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
[skeleton]: Fix hard-coded path name when creating sensor object
|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch fixes skeleton issue: https://github.com/openbmc/skeleton/issues/33
The non-poll sensors have system specific properties. Define the sensor properties
in System files, and generate sensor object dynamically.
|
|\ \ \
| | | |
| | | | |
replace centaur0 with membuf0 for Palmetto.py
|
|/ / /
| | |
| | |
| | |
| | | |
All the other systems call it membuf not centaur. Time to fix
the palmetto system so test cases can match
|
|\ \ \
| | | |
| | | | |
Bug fixes for REST API flags related to updating BMC firmware
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously: As a part of BMC firmware update via REST API process, "check_persistent_files" flag was being incorrectly checked. As a result persistent file system was cleaned even through "check_persistent_files" flag was left at "0" (default)
Post-Change: Persistent file system was cleaned only if "check_persistent_files" flag is set to "1" by the user.
|