summaryrefslogtreecommitdiffstats
path: root/configs/Barreleye.py
Commit message (Collapse)AuthorAgeFilesLines
* Add hwmon0 config in Palmetto.py and Barreleye.pyLei YU2016-10-201-0/+5
| | | | | | | | | | | | Both Palmetto.py and Barreleye are missing hwmon0 in HWMON_CONFIG, which results in `Unhandled hwmon` warning log flood. Add hwmon0's config (i2c 0-0068 for RTC ds3231's temperature) to fix the issue. Resolves openbmc/openbmc#608 Change-Id: Ief6a13e2cec64fbc25348c715d81bf1e2f1f5564 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add fanctl to skeletonYi Li2016-10-071-0/+12
| | | | | | | | | | | | | | | | | fanctl replaces pyfanctl. It provides fan control service with dbus object "/org/openbmc/control/fans". Currently there are two methods: setMax() to set all fans' speed to maximum, and updatePresent() to update the "Present" status of inventory objects: "/org/openbmc/inventory/system/chassis/fan*". In future, more methods will be added, like setting fan speed based on temperature sensor reading. Fixes openbmc/openbmc#93 Change-Id: Ic65089f5d0538cd5e17cfcd9f27e652ae6080ec5 Signed-off-by: Yi Li <adamliyi@msn.com>
* configs: Add POWER_CONFIG for machinesXo Wang2016-10-041-0/+11
| | | | | | | | | | 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
* configs: Remove gpio code from config filesBrad Bishop2016-09-231-12/+0
| | | | | | | Move to a new obmc.system module. Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* inventory: Move INVENTORY_ROOT to inventory moduleBrad Bishop2016-09-231-2/+0
| | | | | Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* configs: Remove unused variablesBrad Bishop2016-09-231-6/+0
| | | | | Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* python: add vim modelinesBrad Bishop2016-09-231-0/+2
| | | | | Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* configs: remove interpreterBrad Bishop2016-09-061-2/+0
| | | | | | | Remove /usr/bin/python as these are not runnable scripts. Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove APPS and CALLBACKS from board config filesBrad Bishop2016-08-311-212/+0
| | | | | | | No longer required with the switch to systemd for state management. Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* fix sensor scales for HWMON devicesEdward A. James2016-08-221-72/+73
| | | | | | | | | | | | | - 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>
* Add logic to sync/preserve MAC and UUIDAdriana Kobylak2016-08-081-0/+14
| | | | | | | | | | | | | | 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>
* Remove unused CACHE_PATH variable from configsBrad Bishop2016-07-261-1/+0
| | | | | | | | | 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>
* Remove workbook dependency from download mgrBrad Bishop2016-07-101-1/+0
| | | | | | | | The download path for temporary files isn't a property of the board. Hardcode /tmp into the application. Change-Id: Ib375ddee9a4c50aa8817980562fbd5b1191b5542 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove Product and Chassis area from IOBoardAdriana Kobylak2016-07-011-2/+0
| | | | | | | | Remove Product and Chassis area for IO board vpd since only board area is present in the latest version of the IO eeprom. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add checkstop gpio to Barreleye and PalmettoAdriana Kobylak2016-06-161-0/+7
| | | | | | | Add checkstop gpio pin number and handling to Barreleye and Palmetto platforms. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Reorganize directory structureBrad Bishop2016-06-101-0/+771
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>
OpenPOWER on IntegriCloud