| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
/org/openbmc/control/host0 doesn't exist
on p9 systems
Change-Id: I4d7ea3ab97ae58f258851e1accc1e46c28f0e80a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Incorrectly set to ball name rather than GPIO designator.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Ibf246a4b7523c60e61386a9e5e95ab6de8255acd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Move to a new obmc.system module.
Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
These are now provided in a json file.
Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Remove /usr/bin/python as these are not runnable scripts.
Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
No longer required with the switch to systemd for state management.
Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Remove Chassis and Product area from IO Board
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
|
| |
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 support for checkstop gpio
|
| |
| |
| |
| |
| |
| |
| | |
Add checkstop gpio pin number and handling to Barreleye and
Palmetto platforms.
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>
|
|/
|
|
|
|
| |
Witherspoon is an IBM branded OpenPOWER system for the HPC market.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
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>
|