summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove unused python modules from obmcutilBrad Bishop2016-06-211-5/+1
|/ | | | | | This should help with startup time a little bit. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Merge pull request #107 from bradbishop/deadPatrick Williams2016-06-2113-981/+0
|\ | | | | Remove dead code
| * Remove dead codeBrad Bishop2016-06-2112-981/+0
| | | | | | | | | | | | Removing a bunch of commented out code and unused applications. Signed-of-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
| * Remove built-in.o from repositoryBrad Bishop2016-06-211-0/+0
| | | | | | | | | | | | Added by mistake when pflash was originally imported. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | Merge pull request #108 from bradbishop/cflagsPatrick Williams2016-06-214-10/+10
|\ \ | |/ |/| Enable user-overriable CFLAGS
| * Enable user-overriable CFLAGSBrad Bishop2016-06-214-10/+10
|/ | | | | | | | | 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>
* Merge pull request #96 from anoo1/xstopPatrick Williams2016-06-179-34/+1190
|\ | | | | Add support for checkstop gpio
| * Fix gpioutil toolAdriana Kobylak2016-06-161-0/+3
| | | | | | | | | | | | | | 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 handling to MakefileAdriana Kobylak2016-06-161-0/+1
| | | | | | | | | | | | Add gpio checkstop target to Makefil to build it. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
| * Add checkstop gpio to Barreleye and PalmettoAdriana Kobylak2016-06-162-0/+14
| | | | | | | | | | | | | | Add checkstop gpio pin number and handling to Barreleye and Palmetto platforms. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
| * Autogenerated gdbus files for checkstop gpioAdriana Kobylak2016-06-162-34/+965
| | | | | | | | | | | | | | | | 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 gdbus interface for checkstop gpioAdriana Kobylak2016-06-161-0/+2
| | | | | | | | | | | | Add a gdbus interface to handle the checkstop gpio. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
| * Add handling for checkstop gpioAdriana Kobylak2016-06-162-0/+205
| | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #104 from bradbishop/garrisonPatrick Williams2016-06-162-4/+4
|\ \ | | | | | | Fix Firestone,Garrison i2c addresses for OCC
| * | Fix Firestone,Garrison i2c addresses for OCCBrad Bishop2016-06-152-4/+4
| |/ | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #105 from bradbishop/witherspoonPatrick Williams2016-06-161-0/+649
|\ \ | |/ |/| Initial Witherspoon board configuration
| * Initial Witherspoon board configurationYi Li2016-06-161-0/+649
|/ | | | | | Witherspoon is an IBM branded OpenPOWER system for the HPC market. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Merge pull request #103 from bradbishop/broken-hwmonPatrick Williams2016-06-151-4/+4
|\ | | | | Fix syntax error introduced with 6956bbd
| * Fix syntax error introduced with 6956bbdBrad Bishop2016-06-151-4/+4
|/ | | | Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Merge pull request #102 from bradbishop/broken-cachePatrick Williams2016-06-151-1/+1
|\ | | | | Fix broken attempt at hwmon caching
| * Fix broken attempt at hwmon cachingBrad Bishop2016-06-141-1/+1
|/ | | | | | This repairs a hwmon regression introduced with efc6897. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Merge pull request #101 from bradbishop/refactoringPatrick Williams2016-06-13160-207/+295
|\ | | | | skeleton refactoring
| * Install python workbook to well-known locationBrad Bishop2016-06-109-42/+11
| | | | | | | | | | | | | | This removes the need to pass the system configuration to all the scripts. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
| * Reorganize directory structureBrad Bishop2016-06-10162-173/+292
|/ | | | | | | | | | | | | | | 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>
* Merge pull request #99 from Kenthliu/openbmcPatrick Williams2016-06-101-1/+5
|\ | | | | Fix the sensor scandirectory recovery bug when poll or readattribute fail
| * Fix the sensor scandirectory recovery bug when poll or readattribute failKen2016-06-081-1/+5
| |
* | Merge pull request #82 from bradbishop/deprecatePatrick Williams2016-06-1011-467/+47
|\ \ | |/ |/| Deprecate modules provided by pyphosphor
| * Deprecate Sensors.pyBrad Bishop2016-06-065-230/+8
| | | | | | | | | | | | | | The pyphosphor package provides equivalent function so use that and drop the duplicated code. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
| * Deprecate PropertyCacher.pyBrad Bishop2016-06-063-52/+2
| | | | | | | | | | | | | | The pyphosphor package provides equivalent function so use that and drop the duplicated code. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
| * Deprecate Openbmc.pyBrad Bishop2016-06-0611-192/+44
|/ | | | | | | The pyphosphor package provides equivalent function so use that and drop the duplicated code. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Merge pull request #98 from bradbishop/upload-statePatrick Williams2016-06-063-7/+89
|\ | | | | Inventory upload fixes
| * Add inventory upload state for BarreleyeBrad Bishop2016-06-061-2/+10
| | | | | | | | | | | | | | | | | | 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>
| * Add goto system state wrapper scriptBrad Bishop2016-06-051-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Don't make pointless sensor update method callsBrad Bishop2016-06-051-5/+18
|/ | | | | | | | 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>
* Merge pull request #62 from adamliyi/lookup_fix_0413Patrick Williams2016-05-241-1/+17
|\ | | | | skeleton: add a new dbus method System::getFRUArea(fru_id)
| * skeleton: add a new dbus method System::getFRUArea(fru_id)Yi Li2016-04-151-1/+17
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #86 from anoo1/mbnkskjames2016-05-241-0/+7
|\ \ | | | | | | Read vpd from motherboard and add it to the inventory
| * | Read vpd from motherboard and add it to the inventoryAdriana Kobylak2016-05-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #87 from causten/updatenkskjames2016-05-241-0/+6
|\ \ \ | | | | | | | | Add update rest interface to bmc
| * | | Add update rest interface to bmcChris Austen2016-05-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #95 from causten/idbuttonnkskjames2016-05-243-1/+5
|\ \ \ \ | |/ / / |/| | | Add support for ID_BUTTON gpio in all systems
| * | | Add support for ID_BUTTON gpio in all systemsChris Austen2016-05-243-1/+5
|/ / / | | | | | | | | | | | | | | | 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
* | | Merge pull request #85 from Kenthliu/openbmcnkskjames2016-05-182-0/+6
|\ \ \ | | | | | | | | Pull down GPIOQ7 for unlock identify LED when power on
| * | | Pull down GPIOQ7 for unlock identify LED when power onKen2016-05-182-0/+6
| |/ /
* | | Merge pull request #72 from adamliyi/occ_hardlinknkskjames2016-05-185-26/+63
|\ \ \ | |/ / |/| | [skeleton]: Fix hard-coded path name when creating sensor object
| * | [skeleton]: Fix hard-coded path name when creating sensor objectYi Li2016-05-095-26/+63
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #80 from causten/sensorsnkskjames2016-05-121-4/+4
|\ \ \ | | | | | | | | replace centaur0 with membuf0 for Palmetto.py
| * | | replace centaur0 with membuf0 for Palmetto.pyChris Austen2016-05-121-4/+4
|/ / / | | | | | | | | | | | | All the other systems call it membuf not centaur. Time to fix the palmetto system so test cases can match
* | | Merge pull request #79 from agangidi53/masternkskjames2016-05-111-2/+2
|\ \ \ | | | | | | | | Bug fixes for REST API flags related to updating BMC firmware
| * | | Corrected the check for 'clear_persistent_files'Adi Gangidi2016-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
OpenPOWER on IntegriCloud