| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyDerating Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the config.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: I08ca374b131c1ca62f632f4a5ae1475b7090bcfe
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyRedundancy Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the config.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: I4f5bfc4c754d8b1a9e3ebbf7e71106563fbcf3d0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The TurboAllowed sensor is already mapped to
/xyz/openbmc_project/control/host0/turbo_allowed
(Reference: the phosphor-ipmi-sensor-inventory-mrw-config/config.yaml file).
Remove it from the deprecated /org/openbmc/sensors path.
Tested: Powered on a Witherspoon to the Host OS without errors.
Change-Id: I3232f66e338f986a21df8aae5401c97b565cbdd6
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BootCountSensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
Remove it as it's deprecated.
Tested: Verified that the "AttemptsLeft" host property where
the BootSensor value now resides had the default value of 3
and was decremented when the Host didn't boot. Then on a
successful boot this value was set back to 3.
As a confirmation note that the BootCount sensor was no
longer used, it never changed values.
Change-Id: I4627c73774c42bec0046eb4d229a001cef32291b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The Operating System Status sensor has moved from
/org/openbmc/sensors to /xyz/openbmc_project/state/host0.
Remove the sensor from the org path.
Tested: Powered on a witherspoon to the Host OS.
Change-Id: I02d50d0a38485833fd73579c5aec41fd157141d0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The boot progress sensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
(Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files
under the openbmc/openbmc repository).
Remove the deprecated sensor from the configs.
Tested: Verified Witherspoon powered on to the Host OS and that
the BootProgress property in the state manager path got updated
to xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart.
Change-Id: Ibe1393899135c7877d731afe27689ca707068a21
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: If579b73b5affbdce14e4fd59547aca6104c310d6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I976368b923945719aecaf632168bedba5664921d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I37ef1b6a4bb39a9f06bb29e15083a8d94b2f1eda
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: Ia0dc47b0472cc39d1301bdb0ab9178139cc066ff
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
They are now obtained from a JSON file.
Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
The device tree file is s2600wf.dts, update to match.
Change-Id: Iefcfefd8b6329aa9afb4b831882e2861a0f6a30a
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changing the PS redundancy object path from
/org/openbmc/sensors/host/PowerSupplyRedundancy to
/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy since
All Witherspoon REST API URIs should being with
xyz/openbmc_project or org/open_power
Change-Id: Ic1360cef2b4939835d47b995a8542aee598bb939
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
| |
Wfp is an Intel platform.
Change-Id: I0991d404f6c5fb8d35d7b524caff0d194d75ee90
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
|
|
| |
The pci_reset GPIOs are not connected on PASS2 Romulus.
There is no need to toggle the GPIOs.
Change-Id: I78afa4358e2540d72517d5f2ae953f0e6319db1e
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I5db50fc156005aa901714e370cf75a4d5455d4cb
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ie5ef0cfea6edf4242f9962be8a752b7a0f2c2ba7
Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I099198a74fc84024eb24e84985df67f0738a0627
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I2b84147e4dae5bb0ef1ea4b58b80e3bd152f5389
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie007597516d9da00b6bbe6be56084bf4ac790a19
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Required so the BMC can detect a checkstop and reboot the host.
Change-Id: I39dfc46b5173bd581b857851f41f388d2bd5ea79
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|