summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* Remove pci_reset from witherspoon configAndrew Geissler2017-09-121-5/+1
| | | | | | | | | | | This pci_reset config causes intermittent network drop issues on witherspoon. openbmc/openbmc#2288 tracks getting to root cause of this network issue. Resolves openbmc/openbmc#2228 Change-Id: I3275f9b231c125cea45e3fa0cd302469343bd654 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Correct the PS Derating & PS redundancy sensor numbers.Tom Joseph2017-09-011-4/+4
| | | | | Change-Id: I5db50fc156005aa901714e370cf75a4d5455d4cb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* configs: Remove all HWMON_CONFIGs and sensorsBrad Bishop2017-07-068-714/+0
| | | | | | | | The xyz sensor namespace is fully functional. Remove legacy HWMON_CONFIGs and association sensor references. Change-Id: I71ce7627e72d23f3729690260103e925e4d11329 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Create Lanyang configKen Chen2017-05-021-0/+400
| | | | | Change-Id: Ie5ef0cfea6edf4242f9962be8a752b7a0f2c2ba7 Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
* Fix Romulus power and reset buttonLei YU2017-04-061-2/+2
| | | | | | | | | | | | The POWER_BUTTON and RESET_BUTTON direction needs to be set to `both`, otherwise there is no interrupt generated and thus the buttons do not work. Change the direction to `both` fix the issue. Fixes openbmc/openbmc#1437 Change-Id: If586dd2e44aa2a8790f045d1e37f4d8f3ea210c8 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add IPMI Sensor support for Power Supply Derating.Jayanth Othayoth2017-03-291-1/+3
| | | | | Change-Id: I099198a74fc84024eb24e84985df67f0738a0627 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add IPMI sensor for Turbo Allowed.Jayanth Othayoth2017-03-281-0/+2
| | | | | Change-Id: I2b84147e4dae5bb0ef1ea4b58b80e3bd152f5389 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Added Power Supply Redundancy Sensor support for WitherspoonDhruvaraj S2017-03-271-0/+3
| | | | | Change-Id: Ie007597516d9da00b6bbe6be56084bf4ac790a19 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Romulus.py: Fix some sensor numbersLei YU2017-03-091-82/+133
| | | | | | | | | | | Sync sensor numbers with hostboot. Note: * Some sensors are not avaialbe yet so commented; * OCC is not enabled yet so they are unchanged. Change-Id: I51373f73e5e399dbfe2c3fbdcd1abadd84b669d3 Signed-off-by: Lei YU <mine260309@gmail.com>
* configs: don't use old sysfs path for i2c devicesJoel Stanley2017-03-066-11/+11
| | | | | | | | | | | | | | | | | | | | | The Machine.py files in skeleton hard code the sysfs path to the devices. The hardcoded paths use the old i2c-adapter directory which is only around for old userspace. From the Kconfig help text: Say Y here if you intend to run lm-sensors 3.1.1 or older, or any other user-space package which expects i2c adapters to be class devices. If you don't know, say Y. Symbol: I2C_COMPAT [=y] Type : boolean Prompt: Enable compatibility bits for old user-space Instead use /sys/bus/i2c/devices. Fixes openbmc/openbmc#1252 Change-Id: Iaa9ef96e150084d9a605d5cab8053ddc910cfeaf Signed-off-by: Joel Stanley <joel@jms.id.au>
* Witherspoon.py: Fix some sensor numbersMatt Spinler2017-02-211-23/+24
| | | | | | | | Fixed a few sensor numbers to match reality. Didn't fix them all, as this is all being refactored anyway. Change-Id: Ic01fd7493aa77292401b1daf175019556b0431fc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Zaius.py: Fix sensor numbersMatt Spinler2017-02-071-71/+119
| | | | | | | | | | | | | Change the sensor numbers to match what hostboot is using. The correct BootProgressSensor is required for the checkstop reboot monitor to work. This also involved adding some new inventory objects for the additional cores on P9 so that all cores can have their presence property correctly set on their corresponding inventory objects. Change-Id: I509b14abcf6bf28ffb5b3d96b342394e159f3090 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Define the checkstop GPIO for ZaiusMatt Spinler2017-02-071-1/+2
| | | | | | | Required so the BMC can detect a checkstop and reboot the host. Change-Id: I39dfc46b5173bd581b857851f41f388d2bd5ea79 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* zaius-config: Update GPIOs for EVT2Xo Wang2017-01-121-5/+1
| | | | | | | | | | | Remove unused (and now incorrect) FSI data and clock pins. Update reset pushbutton pin. Reset button will not work on the new pin as interrupts on GPIO port AA are pending a kernel fix. We're retiring EVT1 boards in favor of EVT2. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib34a7ff81d9ad3013d128c827e4e8b4e9e030946
* GPIO abstraction for power and host controlLei YU2017-01-127-91/+169
| | | | | | | | | | | | | | | | | | | | 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>
* Remove host0 from BMC_STARTING dependencyMatt Spinler2016-12-153-3/+0
| | | | | | | | /org/openbmc/control/host0 doesn't exist on p9 systems Change-Id: I4d7ea3ab97ae58f258851e1accc1e46c28f0e80a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* configs/Zaius: Add HWMON_CONFIG stub for UCD monitor, remove other devicesXo Wang2016-12-071-88/+4
| | | | | | | | | Add UCD I2C name to remove these warnings from the hwmon poller: "WARNING - hwmon: Unhandled hwmon: /sys/class/hwmon/hwmon0/" Remove other devices copied and pasted from another config. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id964535f17c278d9b3d8a7a540394b2d751ee610
* Cleanup Witherspoon GPIO configureYi Li2016-12-011-43/+24
| | | | | | | | | | | * remove GPIO configures not used by any code * add SOFTWARE_PGOOD * add net-name as comments Partially resolves openbmc/openbmc#648 Change-Id: I61f317abde182acb52841aab5b628b122c2f5546 Signed-off-by: Yi Li <adamliyi@msn.com>
* op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION stateYi Li2016-11-186-21/+35
| | | | | | | | | | | | 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>
* Fix GPIO and remove unused ones from Romulus.pyLei YU2016-11-161-34/+10
| | | | | | | | | | | | | | | 1. Remove unused GPIO configs; 2. Add comments of GPIO names in schematic for CRONUS_SEL, POWER_BUTTON, RESET_BUTTON; 3. Fix the GPIO configs for BMC_THROTTLE, IDBTN; The GPIO names are hard-coded for now and some of them conflict with P8. A future task will abstract the GPIO names so we can use names in schematic. Once the task is done, this file will be updated to use GPIO names in schematic. Change-Id: Id14b64c2546ae0538bb5a04c535f310f6933c97b Signed-off-by: Lei YU <mine260309@gmail.com>
* Add Romulus configJoel Stanley2016-10-311-0/+375
| | | | | | | | This is a dual socket Power9 OpenPower machine manufactured by IBM. Change-Id: I4e20f3c90880a08b5adb35775ee6e3ca6944814f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Lei YU <mine260309@gmail.com>
* config: Zaius: Add FSI mux selector GPIOXo Wang2016-10-311-0/+2
| | | | | | | | Add CRONUS_SEL to Zaius.py so it can be driven high (selects the BMC for FSI). Signed-off-by: Xo Wang <xow@google.com> Change-Id: I13da51f63872e37ccc963967f3bfb8135c0a6b38
* Add hwmon0 config in Palmetto.py and Barreleye.pyLei YU2016-10-202-0/+10
| | | | | | | | | | | | 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: Zaius: Fix GPIO for RESET_BUTTONXo Wang2016-10-121-1/+1
| | | | | | | Incorrectly set to ball name rather than GPIO designator. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ibf246a4b7523c60e61386a9e5e95ab6de8255acd
* 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>
* Add Zaius board configurationXo Wang2016-10-051-0/+412
| | | | | | | | | | | Zaius is a POWER9 machine announced at the 2016 OpenPOWER summit. Notable differences from Witherspoon in this initial board configuration include Zaius's lack of I2C connections to OCC, lack of external memory buffers, and lack of power capping support. Change-Id: Iadf582b185d3128022659b33b9b0cecc8492f82c Signed-off-by: Xo Wang <xow@google.com>
* configs: Add POWER_CONFIG for machinesXo Wang2016-10-045-0/+66
| | | | | | | | | | 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-235-65/+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-235-10/+0
| | | | | Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* configs: Remove unused variablesBrad Bishop2016-09-235-33/+0
| | | | | Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* python: add vim modelinesBrad Bishop2016-09-235-0/+10
| | | | | 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-065-10/+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-315-765/+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-225-265/+266
| | | | | | | | | | | | | - 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-265-5/+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-105-5/+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 checkstop gpio to Firestone, Garrison, WitherspoonAdriana Kobylak2016-07-053-0/+24
| | | | | | | | | Firestone, Garrison, and Witherspoon were missing the checkstop gpio handling. Add the checkstop handler process and the gpio pin number per the system schematics. Change-Id: Id53e2f8888a7c706bf30a95fe56223628a2ba70a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Merge pull request #119 from anoo1/vpdPatrick Williams2016-07-011-2/+0
|\ | | | | Remove Chassis and Product area from IO Board
| * 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 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.
* Merge pull request #96 from anoo1/xstopPatrick Williams2016-06-172-0/+14
|\ | | | | Add support for checkstop gpio
| * 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>
* | 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>
* | 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>
* Install python workbook to well-known locationBrad Bishop2016-06-102-7/+0
| | | | | | | 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-106-0/+2357
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