summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/chassis
AgeCommit message (Collapse)AuthorFilesLines
2023-07-20phosphor-buttons: srcrev bump 10bc3aeb25..9456ffc9f2Andrew Geissler1-1/+1
HuyLe (1): Add warm-reboot option support for reset button Change-Id: I36da10a71eb496334506e866d04d1384e16ebddf Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-13phosphor-buttons: srcrev bump b748fdb520..10bc3aeb25Andrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Change-Id: I3322452dc801e9f43a8b42291afa63fbc0f533e4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-07Add sdeventplus dep to buttons recipeMatt Spinler1-0/+1
The button-handler now uses an sdeventplus event loop. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I0e82bf2568863a4e1eff8d1c3d7e00486e694fd6
2023-07-05phosphor-skeleton-control-power: install service properlyAndrew Geissler1-2/+5
The latest systemd requires templated services be installed properly. As this is skeleton, just do the minimum to get the service installed properly. Tested: - Confirmed service installed as expected: ``` /rootfs/usr/lib/systemd/system/multi-user.target.wants/org.openbmc.control.Power@0.service ``` Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I36607d361ba8b6a9c8055435e8af5dba12dd07eb
2023-07-05systemd: no installation in templated targetsAndrew Geissler2-2/+6
Upstream yocto introduced a change via e510222 (systemd-systemctl: fix instance template WantedBy symlink construction). This fixes a bug that we in OpenBMC had been taking advantage of in that we were able to document our templated target dependencies without it actually doing anything. The real installation of services within targets occurs in our bitbake recipes due to the complexity of chassis and host instances on a per machine basis. Leave the dependency information in the service files but comment them out. It's useful to be able to look at a service and understand which targets it's going to be installed into by the bitbake recipes. The service files are already properly installed into the appropriate targets by the recipe. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Idcb5458b6f2a3007c20f546604d4095650148803
2023-07-01phosphor-buttons: srcrev bump ccd7db054c..b748fdb520Andrew Geissler1-1/+1
Matt Spinler (3): button-handler: use sdeventplus loop Create a custom power button handler Describe button behavior in the README Change-Id: I16bf48ee5bfbea69fcd5c01325ca5672f8f9d59d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-17phosphor-buttons: srcrev bump 0d038f58f7..ccd7db054cAndrew Geissler1-1/+1
Delphine CC Chiu (1): Support host selector using cpld definitions Change-Id: Iac9eca52963b487e41a26177bfe39dfef4c03665 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12phosphor-buttons: srcrev bump 395c764c2b..0d038f58f7Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I391d26b3deee9781cedecd4b059a32e068999f35 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-03phosphor-buttons: srcrev bump 149452b012..395c764c2bAndrew Geissler1-1/+1
DelphineCCChiu (1): Remove power button long-press Change-Id: Ib345d04776097791934dbd5cc20691ae3875b6a9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-17treewide: reduce append operators on SRC_URIPatrick Williams1-2/+2
In a base bb file where we are setting the primary git repository, it is rare that we need to `SRC_URI +=`. This is an unnecessary pattern that seems to have been copied throughout the repository. Remove the pattern where appropriate and simply set SRC_URI directly. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I430186a82f9582ba6196f5bf66b659af4092b48d
2023-04-13phosphor-buttons and phosphor-dbus-interfaces: srcrev bumpsAndrew Geissler1-1/+1
phosphor-buttons: srcrev bump 4fcfadd3a9..149452b012 Patrick Williams (2): meson: remove deprecated get_pkgconfig_variable power-button: fix released signal to include duration phosphor-dbus-interfaces: srcrev bump e99811600c..a1b26a4bdf Delphine CC Chiu (1): Power-interface: Revise released signal with pressing duration Jayashree Dhanapal (1): Add a new interface for ThermalDirection Change-Id: Ief87051ce3b352007d274031be29e198b4147690 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2023-02-15phosphor-buttons: srcrev bump ce24bf6373..4fcfadd3a9Andrew Geissler1-1/+1
Brad Bishop (1): treewide: remove dependencies on mapper.target Change-Id: I740e20951d160c06081a951ca2e9e07d5cf16649 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-02phosphor-buttons: srcrev bump c0fee46e2b..ce24bf6373Andrew Geissler1-1/+1
kuiying (1): Updagte Kuiying's email address Change-Id: I19be7983f179f1f6eb1b0c4715d239ed48fcd52d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-27update service file deps in accordance with recent refactoringAndrew Geissler1-1/+1
As noted in the following mailing list thread: https://lists.ozlabs.org/pipermail/openbmc/2022-November/032457.html and implemented via this series of commits: https://gerrit.openbmc.org/q/topic:op-power-control-ref Some systemd services had their names changed. Update this service file to reflect this. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic0f35cbc3eb8e0914986013d35bef3d256093a9c
2023-01-06phosphor-buttons: srcrev bump e2d0f42617..c0fee46e2bAndrew Geissler1-1/+1
Potin Lai (1): button_handler: use CurrentHostState for powered on checking Change-Id: Ia64d5775766921b3b9150f8a6075850201ac9eae Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-12-22phosphor-buttons: srcrev bump c7645850ca..e2d0f42617Andrew Geissler1-1/+1
Potin Lai (1): button_handler: fix invalid power event error Change-Id: I87f5c99fc544a1eda13e298fb957051a9e627979 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-12-09phosphor-buttons: srcrev bump e3b4e11fa7..c7645850caAndrew Geissler1-1/+1
Patrick Williams (2): prettier: re-format markdownlint: fix all warnings Change-Id: I5cb3bc316f372eb3bf5837ef562c28a52648b344 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-11-29phosphor-buttons: srcrev bump d219fa3c48..e3b4e11fa7Andrew Geissler1-1/+1
Patrick Williams (1): sdbusplus: use shorter type aliases Change-Id: I56e16f0b063eb747cf3e9d740ffd921ae1d1bfb6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-11-28state-management: move target relationship creationAndrew Geissler1-28/+0
The targets are within the phosphor-state-manager repository so the relationship between them should be defined within the corresponding recipe. Adding these to phosphor-state-manager also allows us to remove the duplicate logic in the bletchley layer. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8bc789ed25a937ed38840e398dd728782f8f368b
2022-11-28rename obmc-op-control-power to phosphor-skeletonAndrew Geissler5-8/+8
This power control implementation is not specific to openpower systems (as seen by the variety of systems including it) so rename it to something more appropriate. This is using code from skeleton which is not ideal but that's a change for another day. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iffe6427b5494558b53cd6f5716a08cce82cb90d8
2022-11-28move generic chassis services into phosphor-state-managerAndrew Geissler6-120/+1
Move the generic services which are used to power on and off the chassis into phosphor-state-manager. This will make the use of phosphor-state-manager for chassis power control more straightforward. The following email has more details on this change: https://lists.ozlabs.org/pipermail/openbmc/2022-November/032457.html phosphor-state-manager: srcrev bump eab2ea348d..69a250dd45 Andrew Geissler (2): move chassis power services to phosphor-state-manager improve new chassis power services Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I14fce315107cafacb0500d8664e51d9f61f7864d
2022-10-21phosphor-buttons: srcrev bump 4250785723..d219fa3c48Andrew Geissler1-1/+1
Naveen Moses (1): Add serial uart mux interface class Change-Id: Iaa493fc1a04550f28d7b405bd0d5b9fccd84e8cb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-13meta-phosphor: remove unused skeleton recipesPatrick Williams2-33/+0
There are a few recipes using Python2 code and having no references inside the repository. Deleting them since there are no users and it is pretty unlikely that anyone outside is using them. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I89570580a469730f16870c54f850f8723cad55cf
2022-10-10phosphor-objmgr: recipe cleanupsPatrick Williams1-1/+1
Big cleanups to the phosphor-mapper/phosphor-objmgr recipe. - Remove all "mapper-config-native" constructs as the underlying repository has no such support. - Remove all mapper-related bbclasses as they are no longer relevant. - Remove environment support in service file as the mapper executable no longer supports any arguments. - Greatly simplify the 'libmapper' packaging to avoid stray python in the recipe. - Update all recipes to use `DEPENDS += "libmapper"` where appropriate for clarity if they use libmapper. - Rename the recipe from phosphor-mapper to phosphor-objmgr to match the repository name, which allows simpler devtool invocations. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5a64e2feddd1a7919813e007411f9c28b6c9a330
2022-10-04meta-facebook : Add phosphor-buttons gpio config YV2Naveen Moses1-0/+8
This change adds phosphor-buttons gpio configs for the following : 1. Power button 2. Reset button 3. Host selector 4. Debug host selector button 5. serial uart mux To keep the install method common for copying gpio_defs.json file in supported platforms the install method is moved to obmc-phosphor-buttons_git.bb file. Signed-off-by: Naveen Moses <naveen.mosess@hcl.com> Change-Id: I91a106fdc5ac9aa83eec63cbd41a9615b380c37d
2022-10-04phosphor-buttons : remove phosphor-state-manager dependencyNaveen Moses1-1/+1
The obmc-phosphor-buttons recipe has direct dependency of phosphor-state-manager-chassis and phosphor-state-manager-host. replaced these direct packages with VIRTUAL-RUNTIME_obmc-host-state-manager and VIRTUAL-RUNTIME_obmc-chassis-state-manager This is done so that apps that handle host and chassis state other than phosphor-state-manager such as x86-power-control can use obmc-phosphor-buttons. Signed-off-by: Naveen Moses <naveen.mosess@hcl.com> Change-Id: I593fcb547a55418cad15a9eabc5ddb194c254e7d
2022-09-28phosphor-buttons: srcrev bump a6d4e65d5c..4250785723Andrew Geissler1-1/+1
Thang Q. Nguyen (1): Fix getService fail on single host platform Change-Id: If36553e87cf10c994737805afb1c107d1ce5c804 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-09-20Run oe-stylize on our filesEd Tanous4-36/+34
In all of our recipes, we should be following yoctos lead on formatting, order, and other things, for consistency in our meta layers. This commit runs oe-stylize.py on all of our files. The types of changes being made can be seen in the commit, but amount to: 1. Setting an explicit key ordering 2. Sectioning the files appropriately 3. Applying rules checking to our files At some point in the near future, we would turn this on as part of repotest, but some minor changes need to be upstreamed to meta-oe (WIP) to make that happen. Looking for input on whether this is something we'd like to do, and whether the diffs below look reasonable to folks. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf
2022-08-11phosphor-buttons: srcrev bump 7897dc6f1a..a6d4e65d5cAndrew Geissler1-1/+1
Naveen Moses (1): Add OCP debug card host selector button interface Patrick Williams (1): sdbusplus: use shorter type aliases Change-Id: I7fb363a897ab28e4830ca3016e04f5e34243baa4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-05phosphor-buttons: srcrev bump ab8dac5102..7897dc6f1aAndrew Geissler1-1/+1
Patrick Williams (1): MAINTAINERS: remove file Change-Id: I31810ab1f4b4f63f191ad9e9cbdf2ef13aa3ca85 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-07-27phosphor-buttons: srcrev bump 8d281f1b73..ab8dac5102Andrew Geissler1-1/+1
Naveen Moses (1): Rename handler methods to match dbus signal type Change-Id: Idf998f825bccac0162d17578f19fb7842615bb81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-07-26phosphor-buttons: srcrev bump ba33275d9f..8d281f1b73Andrew Geissler1-1/+1
Patrick Williams (1): OWNERS: switch 'matches' to 'matchers' Change-Id: Ied8ddda6f2638b2a6701ec31abcd85a23e1eb957 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-07-12phosphor-power-control: srcrev bump bebabec9cb..09fdcb592aAndrew Geissler1-1/+1
George Liu (1): logging: switch to lg2 Change-Id: I6f95d8612405766b5138062c2ff94f74c416907a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-07-08obmc-phosphor-button: switch to meson buildGeorge Liu1-2/+2
George Liu (5): meson: Add subprojects file meson: Add meson build logging: switch to lg2 meson: Update LONG_PRESS_TIME_MS Fix meson build Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4facd30b1c25e3b1bf60190ed5477ea75ee0c2b5
2022-06-29phosphor-power-control: srcrev bump b198609960..bebabec9cbAndrew Geissler1-1/+1
George Liu (1): meson: Remove compilation using autotools Change-Id: I38d453bc5dea381763bb0e5729b16a180cb07ad9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-25phosphor-power-control: srcrev bump ca9aa00180..b198609960George Liu1-3/+2
George Liu (4): Add clang-format Remove redundant header files meson: Add subprojects file meson: Add meson build Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I52a1374e5ad7000a20090a78a00fc1369b301239
2022-06-24phosphor-buttons: srcrev bump 5b98f4db0e..1efa3e2969Andrew Geissler1-1/+1
George Liu (1): Fix cppcheck warnings Matt Spinler (1): Use proper path in service file Change-Id: I71e67e7e480fc37f0e29ae16a5b6d4d66e8553e5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-21phosphor-buttons: srcrev bump 8eca9bb6fe..5b98f4db0eAndrew Geissler1-1/+1
George Liu (1): Update clang-format Change-Id: Ibe39177201a16b3b7ea349b1cac02eff27edaee1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-21phosphor-buttons: srcrev bump 3bd1cfcb7d..8eca9bb6feAndrew Geissler1-1/+1
Patrick Williams (1): switch experimental::fs to std::fs Change-Id: Ie2c1c0ef626c407dd4bf21ac12e0ae229278be2c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-05-04chassis: Ensure power on request made before waitJim Wright1-0/+1
Fix intermittent power on timeout by ensuring that state manager requests power on before beginning 30 second wait. Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I2b323932b7fcc79889df3571d3881c7d9b400dc7
2022-04-09phosphor-buttons: srcrev bump eea8a4a5f7..3bd1cfcb7dAndrew Geissler1-1/+1
Naveen Moses (1): Add Host selector button interface Change-Id: I70589f5bdb3af95965b41eff6840f50fd29ab902 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-02-25phosphor-buttons: srcrev bump dd5495cf40..eea8a4a5f7Andrew Geissler1-1/+1
Naveen Moses (2): Add abstract factory to create button iface objects Fix parsing gpio config format issue Change-Id: I0d25589ee2ae4f6a2c8dcae30d1919466db2ce8a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-02-16chassis: Rename FMT variable in control powerJim Wright1-2/+2
In order to disambiguate from other uses of the FMT variable name, rename to OBMC_CONTROL_POWER_FMT in obmc-op-control-power bit bake files. Change was suggested in the following review: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/50765 Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: If74dc281b8dfa9c06b86012f010d5b5a40d1a0f6
2022-01-25treewide: fix up github SRC_URIsPatrick Williams2-2/+2
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-12-17phosphor-buttons: srcrev bump 8381d5aa35..dd5495cf40Andrew Geissler1-1/+1
Naveen Moses (1): Enable group gpio configuration Change-Id: I6fa93ca2858132b2181d62a04bf8cf86bf4f8713 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-28phosphor-buttons: srcrev bump 6d724ce88b..8381d5aa35Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Ib21f7e74683dd0f8f7afe5d63a3ae61e7c7e7b13 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-buttons: srcrev bump 703c760935..6d724ce88bAndrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: Ie4ff09c0be8019db0802ea7d590cb989757536a0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-power-control: srcrev bump 4d209a2458..ca9aa00180Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I3a7d6d0e29f6530cfdd20b96618ec9bf9e82918e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-04phosphor-buttons: srcrev bump 5ed4cc0f09..703c760935Andrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: Ida725a4f801f67c857a1c1771a64a7f841e97d05 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-13/+13
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb