| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I8f96987ab61d7657c3ccd3d665fa34ed6cb508ec
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
If the user elects to do a hard power off on a system
via the chassis poweroff target, need to ensure we still
disable the host watchdog. This service will now be called
in both the host and chassis off targets.
Change-Id: I83c8c1b657056dab0dbbaaea0dea230f9c3ade4e
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When a power off or reboot is host initiated, do
not run the soft power off service. Since the host
is the one requesting the action, there's no need to
execute the soft off function (notification to host
to shutdown).
Change-Id: Ia6e833598e6042646e5d5bd17821ed29e141fa6f
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
As a part of the soft power off (host-shutdown) ensure
that the host-stop target always gets called. Updated the
involved services to ensure they are run in the correct order.
Change-Id: I7e9113631786f0d0cb0f89b94c4b97fdc0328e7b
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Took the contents of op-reset-pgood-check and
op-reset-set-power-on and combined them to create
the new service op-reset-chassis-running.
Resolves openbmc/openbmc#1337
Change-Id: I6cdb93fcf9f7e701703482ef3dcb8b23ef75cf93
Signed-off-by: Josh D. King <jdking@us.ibm.com>
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
mboxd has been fixed so this workaround is no longer needed
Change-Id: I1eca65558c446e982174f1c4af2f484b8fe5c3b8
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This reverts commit d75d9c516913bee640e3b4c245e8bd40e0965002.
Resolves openbmc/openbmc#1645
Change-Id: Ib73cda8fc970f51e5f4fd6db4cf62b5cc05ae67b
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
If the chassis-poweroff target is called directly by a user,
this change will ensure we properly clean up any host target
services
Resolves openbmc/openbmc#1310
Change-Id: I476db8dde0740f1b63d2e8ca4b6c661c16c9c73c
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
During the target name refactor, we missed the chassis reset targets
Resolves openbmc/openbmc#1274
Change-Id: Ic6a799314931f0c6b7db0e0b95ac6eec50bfcaac
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This file is used after a BMC reset when the host is running to indicate
to the host boot services that the host is running. On power off,
need to be sure to remove it if present.
Change-Id: I5245dd2d3132fe306d14c30b3c50edc73a51221e
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Remove the watchdog workaround patch from meta-romulus;
And remove the patch itself since no machine is using it anymore.
Change-Id: I2a1d8cbce3637562a35f738fce8c6bea2738528c
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The target change is:
obmc-chassis-stop -> obmc-host-stop
obmc-chassis-start -> obmc-host-start
Removed CHASSIS_FMT and CHASSIS_LINK_FMT
because they are no longer needed.
CHASSIS_POWER_FMT_2 did not change because
its used for obmc-chassis-reset.
Deleted files obmc-chassis-start@.target and
obmc-chassis-stop@.target because they are
no longer needed. I moved over their contents
to obmc-host-start and obmc-host-stop.
Updated phosphor-state-manager.bb and
skeleton-rev.bbclass to have correct commit
id.
Change-Id: I26cba4153038f39d60e8d450a05969a216848abe
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The target change is:
obmc-power-chassis-on -> obmc-chassis-poweron
obmc-power-chassis-off -> obmc-chassis-poweroff
Also updated phosphor-state-manager.bb to now
have correct commit id.
Change-Id: I15aae803e5f0d44d4e6a137278f93e91f848b2c0
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
| |
FSI is an OpenPower concept.
Change-Id: I0043d6d7b4783179b0893bbf7995aa229df2463f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Ensure we go to quiesce state on a pgood timeout
resolves openbmc/openbmc#1321
Change-Id: I53d71f7629767194d20c06e773fb96b64db1bb85
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first commit in a series that will ensure
we do not run the host start services when the
host is already running.
Specifically this is to handle the situation where the
host is running and the BMC is rebooted.
Change-Id: I6c6a99a3c2aefff338c2eafe546a525999c357b4
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
| |
This service touches a host0 setting, so it
needs to be a template and touch host%i.
Change-Id: I9cf84ec40f5fe3aa1ad2c420aaa26d522eece6e1
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Start fsi-disable.service to unbind the FSI Driver.
Start fsi-enable.service to bind it again and rescan.
Also added a fsi-bind@.service so we can ensure the
driver is bound each power on.
Change-Id: I5fa62b44994aea3bb645e755187f29e720bf3bce
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Wraps the auto_reboot host setting in a service so it
can be enabled or disabled by starting or stopping the
service.
Change-Id: Ib3e92f67eb833cd6e31e153b58a63edb6837ae2c
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run the obmc-chassis-reset@.target:
- Check if pgood is on
- If it is, create the file in /run/openbmc/chassis@%i-on and
- Run the systemctl command to start the chassis power on target
Resolves openbmc/openbmc#1094
Change-Id: I93f94fc1b75e35fd353387d0bed5569e07615171
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Once enabled these targets and services will be run after
a BMC reboot to check if pgood is on and if so, to create
a file which will be used by other power on services
to know whether they need to run or not.
Change-Id: Id2e75f9bce20f362d2f57a79e91ece1eaf7d7c45
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
The FSI scan must be done before start_host and vcs_workaround
run in order for them to work propertly.
Change-Id: I1305a65763ba35721d5655f1f3e6c2d8af5fdc71
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
After PGOOD comes up, the FSI driver needs to do a
scan to find the FSI devices.
Change-Id: I1b4eeec191408a36b37d9044279bdf067deb2b15
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I57d8b7371c33f3fac7e286d14deafcaf91020b26
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
|
|
|
|
|
|
|
|
| |
oneshot will cause the target to fail, which is
what we want on service failures
Change-Id: I1c3fe7159af51e92a2d0f4a7361e5e828675515d
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
| |
In order for targets to fail when their services fail,
the relationship must be a "requires"
Change-Id: I1523dd51af8817b473557bac65e9e71eacecf52e
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
A quick fix to ensure that mbox-reload.service has a chance to run
after the power off and before the power on during a reboot.
An upcoming refactoring will remove the need for this patch.
Change-Id: Ieee0573e9bd4dec518361da9244d95a27357abd3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I5e4a0da68bfcebb12f3ac4161e63c145f9f73b0a
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I42049c092e4a852b94b6d3f96b9dea3884c21333
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Don't start the host checkstop reboot service until the
system manager service has been started.
Resolves openbmc/openbmc#603
Change-Id: Ideca52faaa2d7347c66fa719dc4b8f8f6b24aedf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Hostboot currently does not have IPMI support enabled on P9
systems. Therefore, we need to disable the host watchdog.
Temporary workaround to be removed with openbmc/openbmc#993.
Change-Id: I875a3927af6ec34d2caf4c694b0a89c35a2bff74
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Iaf582464f1a6311cda2d96c921ad27bc28ec9686
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
To meet naming conventions.
Change-Id: I7ce975dca7c5371ff3fa503a75bbaadd8457d05b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#567.
Change-Id: I68e8e726f839038a6a256ff18a88d936ab0af3e4
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The value added by these classes is minimal and lowers the flexibility
available to clients using them when it comes to packaging.
Rename recipe virtuals - obmc-phosphor seems redundant.
Align package virtual names with best practices (virtual-package).
Change-Id: I34c3cb03f6b1d2aaa734ed02078b388667f70917
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Going for consistency: Phosphor xxx
Change-Id: I04778ed868874ef5004724bc6b31adc4aa2367ad
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Make use of the new substitution feature in the Phosphor
systemd bitbake class.
Change-Id: I2db85347809ef557a53e92af3ffcf17c8003b3ce
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Given that these are already in the recipes-phosphor
directory this seemed redundant.
Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|