summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host
Commit message (Collapse)AuthorAgeFilesLines
* phosphor: Remove 'pflash -i' serviceJoel Stanley2018-08-212-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Once upon a time this service was added to initalise the host flash before starting the host firmware, otherwise some systems would not boot. > commit 14f965d8dc806d710218de18357ba7f106484a8e > Author: Andrew Geissler <andrewg@us.ibm.com> > Date: Thu May 11 09:54:04 2017 -0500 > > PNOR init workaround for P8 based systems > > The PNOR chip requires an init to be done to it prior > to starting the host. This is a temporary fix to this > issue until we get the mboxd function ported to P8. Ever since e7b0fd568ae2 ("Switch userspace to use MTD access by default", October 2017) running pflash hs not done this, as it access the flash through the kernel mtd interface. A machine could chose use mboxd and the mbox protocol on P8 but it is not required to fix this issue. Change-Id: I5c2400063bf776018ef60f2642fb2629c96af0a7 Resolves: openbmc/openbmc#1598 Signed-off-by: Joel Stanley <joel@jms.id.au>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-08-161-1/+1
| | | | | Change-Id: I3e4f730965d0c9ec8743c91b40891310fdad0890 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-08-101-1/+1
| | | | | Change-Id: I9dfe7bd38124eb50949a8bae661f6d99c94ce276 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-08-031-1/+1
| | | | | Change-Id: I6cb3f71848f9dd6a521d935eef82faabef63c8b9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-08-021-1/+1
| | | | | Change-Id: I6031553bbeaf92e291f0785f104d6757d8e73f90 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I1292844056ec93b298e2024c21d96ef860365acd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I860ca9b97f3497d0e91408dbe9a8f1358aadb3c4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd: allow configuring the daemonBenjamin Fair2018-07-192-2/+8
| | | | | | | | | This adds variables to the recipe file which specify the name of the LPC snoop device and the number of bytes per POST code. The variables can be easily overridden in a platform-specific bbappend. Change-Id: Ia7778a72b62225238d2142c62b8e88e5e8ca33ee Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-181-1/+1
| | | | | Change-Id: I3c677f730dddcc1fced75176c4a2cd65cc7b5fae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-151-1/+1
| | | | | Change-Id: Iff72ca3da0566a056dcbb22034bcb9d89c22ba8c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Remove use of mapper callBrad Bishop2018-06-251-2/+2
| | | | | | | | | Replace invocations of mapper call with a call to busctl and mapper get-service. This provides equivalent functionality but opens the door for dropping a systemd patch we have carried for some time. Change-Id: Iea0cce89341939b49b095d1f5010415578331d4d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-06-131-1/+1
| | | | | Change-Id: I7435064bfea51932a7f2490d829adc0dc01d2004 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* op-start-host: Fix reboot for P8Lei YU2018-05-291-2/+2
| | | | | | | | | | | | | | On P8 op-start-host and op-init-pnor is required to start host. When obmc-host-startmin is introduced it missed to update this recipe. Fix this by making op-start-host service required by obmc-host-startmin so P8 has correct service dependencies. Tested: Verify Palmetto is able to reboot host successfully. Resolves openbmc/openbmc#3204 Change-Id: I967e0f15f2a3fef00e0e3249ddb8ae225f0fb924 Signed-off-by: Lei YU <mine260309@gmail.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-05-221-1/+1
| | | | | Change-Id: Ica5fe77b12a94133e005bb8ba2d18e13c78fb288 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* recipes-phosphor: host: phosphor-host-postd recipePatrick Venture2018-05-223-0/+36
| | | | | | | Initial recipe for building phosphor-host-postd. Change-Id: I859fc11fbd779ec116299a7ce3ba19f14ae3f202 Signed-off-by: Patrick Venture <venture@google.com>
* Add missing pkgconfig dependenciesBrad Bishop2018-02-011-0/+1
| | | | | | | | A number of skeleton recipes were missing pkgconfig dependencies. Exposed by Yocto 2.3 per-recipe sysroots feature. Change-Id: I514a95d08e199b395355341fec586b2af11428b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable BMC patching from the /usr/local pathMichael Tritz2017-08-243-3/+6
| | | | | | | | | | | | | | | | | This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* PNOR init workaround for P8 based systemsAndrew Geissler2017-05-112-0/+21
| | | | | | | | | | | The PNOR chip requires an init to be done to it prior to starting the host. This is a temporary fix to this issue until we get the mboxd function ported to P8. Resolves openbmc/openbmc#1426 Change-Id: I784c6aa6ca299fe1d4593295c30d0056f0167706 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add phosphor-host-check and required host servicesAndrew Geissler2017-05-093-55/+0
| | | | | | | | This application and services will be used by the host reset service to determine if the host is running after a BMC has been rebooted Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Refactor action target names Host-shutdown-quiesceJosh D. King2017-04-201-1/+1
| | | | | | | | | | | | The target change is: obmc-stop-host -> obmc-host-shutdown obmc-quiesce-host -> obmc-host-quiesce Updated skeleton-rev.bbclass to have correct commit id. Change-Id: Ida47f8709622d98129c0fe00c86bad77d8d76dfb Signed-off-by: Josh D. King <jdking@us.ibm.com>
* Refactor action target names Host-start-stopJosh D. King2017-04-203-6/+6
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Disable check for Control.Host object until availableAndrew Geissler2017-04-111-2/+3
| | | | | | | | | | Need to wait for the new object code to be merged before we can wait on it. Resolves openbmc/openbmc#1448 Change-Id: Ifc433cb0a34d19bd6dc7ccc872782b3faac696ce Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add in new targets to handle bmc resets while host runningAndrew Geissler2017-04-073-1/+57
| | | | | | | | | | | | | | | | | | | | The point of this new target is to support getting the systemd targets which boot the host into the running state (without actually running the associated services) when the BMC is rebooted and the host is up and running. This will ensure that systemd and its targets match with the state of the system without affecting the running host. This commit will run the new target but nothing will happen yet due to the discovery service being a noop. Once the application is in for the service to call, it will be added to the service which will enable this new host running with bmc reset support. Change-Id: Ia29e53de58ea7530941341b0e515e4d8fa49be6c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Do not run host start targets if host already onAndrew Geissler2017-03-251-0/+1
| | | | | | | | | | | | 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>
* Change wants to requires for all critical servicesAndrew Geissler2017-02-151-1/+1
| | | | | | | | 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>
* Move hosts -> hostBrad Bishop2017-01-043-0/+54
A number of host recipes were added to the openpower layers in the recipes-phosphor/host directory. These should have been created in the hosts directory. Rename hosts to host in the phosphor layer to match. Change-Id: Icb6bc888c9db5578b72a13964365d5f8fab9cd22 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud