summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post
Commit message (Collapse)AuthorAgeFilesLines
* witherspoon: Only rebind ucd9000 if we unbound itAndrew Jeffery2017-03-241-4/+8
| | | | | | | | | | | | | This makes way for an incoming kernel patch affecting Witherspoon[1], where we disable the UCD90160 device in the devicetree. If the driver hasn't been bound to the device we can immediately proceed to invoking i2c{g,s}et. Finally if it wasn't bound before the script was executed then don't try to rebind it, as it was disabled for a reason [1] https://lists.ozlabs.org/pipermail/openbmc/2017-March/007015.html Change-Id: Icc1fd1aa978e1a5cd62f1609bae97aa7dbfcde41 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* ucd_disable_vcs: Don't wait for bound device link to appearAndrew Jeffery2017-03-241-9/+1
| | | | | | | | | | | | | | The driver is bound at boot, so if the driver isn't bound then it won't be in the future, unless explicitly bound from userspace. A previous commit (8ca6161774d, "meta-witherspoon: vcs-control: Add retries and journal entries") introduced retries for both unbind/bind operations of the UCD9000 driver for the UCD90160. Don't wait for a symlink to appear if it isn't present. Change-Id: I2e06d48fb7ae71f8af01be5a9548fc3d9d0a4d8a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* meta-witherspoon: vcs-control: Add retries and journal entriesSaqib Khan2017-03-201-5/+18
| | | | | | | | | | | - Added journal entry for retrying ucd driver rebinding - Added retry for finding the ucd driver entry - Added sleep time in between retires to resolve any timing issue Resolves openbmc/openbmc#1298 Change-Id: Id80f11e14d3f4ac59ead0ff171944ff83e8874b1 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Do not run chassis power target services if power onAndrew Geissler2017-03-153-0/+3
| | | | | | | | | | | | This is the first commit in a series that will ensure we do not run the chassis power on services when the chassis is already on. Specifically this is to handle the situation where the chassis is on and the BMC is rebooted. Change-Id: I733ca076f044731a4ba327fe2f46302dce5f4edd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* meta-witherspoon: vcs-control: Add retries for rebinding ucd driverSaqib Khan2017-02-161-3/+9
| | | | | | | Resolves openbmc/openbmc#1059 Change-Id: Idf2584d9179b55e85f56513617ba6cb39b881395 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Move VCS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-014-8/+8
| | | | | Change-Id: I12e71adf8d2635360087a0781354391121af3d7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* meta-witherspoon: Order vcs_on before obmc-host-startXo Wang2016-12-221-2/+4
| | | | | | | Fix missing instantiation parameter for vcs_workaround unit. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I86e6e9d404cf81878b86814d0330fff6a136ceac
* Turn P9 VCS back off on a power off.Matt Spinler2016-12-201-0/+13
| | | | | | | | | | | After the system is powered off (PGOOD is a 0), we will make sure VCS is off. Even though the power on sequence also turns it off, we're being safe by also doing it here especially if some other code does the power on. Change-Id: I0834650083005bd41fbffc500cb2bc88b61d5c81 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* disable UCD VCS railsSergey Solomin2016-12-112-0/+46
| | | | | | | Setup UCD module to disable VCS rails from power-on Change-Id: Ib72595cf120cd082bb8baf3657307154b5abd117 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add sd unit file for vcs_on.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which starts vcs_on script after vcs workaround. Partially resolves openbmc/openbmc#647 Change-Id: Ibf13a24b592d6d526b1c599d8f7b4eb8c7596150 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add sd unit file for vcs-off.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which orders itself before powering on Partially resolves openbmc/openbmc#647 Change-Id: Ibc3f3a928958b164c46056452c13f91c20b17277 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add supporting scripts for the OpenPOWER P9 processor.Sergey Solomin2016-11-182-0/+22
Add Witherspoon power sequencer configuration scripts. Add P9 VCS workaround script. Add P9 SBE start instructions script. Partially resolves openbmc/openbmc#647 Change-Id: I0a25b2fc0fc74b2a88fd7d2c77b59aa72e0b2876 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
OpenPOWER on IntegriCloud