summaryrefslogtreecommitdiffstats
path: root/configs/Palmetto.py
Commit message (Collapse)AuthorAgeFilesLines
* GPIO abstraction for power and host controlLei YU2017-01-121-12/+24
| | | | | | | | | | | | | | | | | | | | In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstraction. The changes include: 1. Add host control related GPIOs in gpio_configs and update system_manager.py 2. Update control_host_obj.c to use the abstracted GPIOs 3. Update GPIO_CONFIGS for all machines and add host control related GPIOs power_gpio will be renamed to gpio_configs in next commit; Resolves openbmc/openbmc#814 Change-Id: I7832065d495d7d64c5df2f5b177005b97e68900a Signed-off-by: Lei YU <mine260309@gmail.com>
* op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION stateYi Li2016-11-181-4/+7
| | | | | | | | | | | | When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14). This fix applies to Firestone and Garrison. Partially resolves openbmc/openbmc#315 Change-Id: Ic71c81406ac188b34df89569e2264ea0b94406f3 Signed-off-by: Yi Li <adamliyi@msn.com>
* 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>
* 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-11/+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>
* palmetto: remove frusBrad Bishop2016-09-231-45/+0
| | | | | | | These are now provided in a json file. Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fix some hardcoded inventory pathsMatt Spinler2016-09-211-22/+21
| | | | | | | | | | | | | 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>
* 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-133/+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-1/+1
| | | | | | | | | | | | | - 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>
* 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>
* Add the missing binary into Palmetto config fileVishwa2016-06-301-0/+6
| | | | | | | | | | | Palmetto.py did not have discover_system_state.py and this patch is to update that. discover_system_state.py is responsible for looking at power restoration policy set by the user and then taking appropriate actions when BMC comes back from any reboot / power cycle and reaches BMC_READY state. Actions could be : 1) Leave the system in power off state. 2) Power on the box. 3) Restore the last state which can be either #1 or #2 above.
* 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/+327
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