Age | Commit message (Collapse) | Author | Files | Lines |
|
HuyLe (1):
Add warm-reboot option support for reset button
Change-Id: I36da10a71eb496334506e866d04d1384e16ebddf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
build: upgrade to C++23
Change-Id: I3322452dc801e9f43a8b42291afa63fbc0f533e4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The button-handler now uses an sdeventplus event loop.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0e82bf2568863a4e1eff8d1c3d7e00486e694fd6
|
|
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
|
|
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
|
|
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>
|
|
Delphine CC Chiu (1):
Support host selector using cpld definitions
Change-Id: Iac9eca52963b487e41a26177bfe39dfef4c03665
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I391d26b3deee9781cedecd4b059a32e068999f35
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
DelphineCCChiu (1):
Remove power button long-press
Change-Id: Ib345d04776097791934dbd5cc20691ae3875b6a9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
Brad Bishop (1):
treewide: remove dependencies on mapper.target
Change-Id: I740e20951d160c06081a951ca2e9e07d5cf16649
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
kuiying (1):
Updagte Kuiying's email address
Change-Id: I19be7983f179f1f6eb1b0c4715d239ed48fcd52d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
Potin Lai (1):
button_handler: use CurrentHostState for powered on checking
Change-Id: Ia64d5775766921b3b9150f8a6075850201ac9eae
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Potin Lai (1):
button_handler: fix invalid power event error
Change-Id: I87f5c99fc544a1eda13e298fb957051a9e627979
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
prettier: re-format
markdownlint: fix all warnings
Change-Id: I5cb3bc316f372eb3bf5837ef562c28a52648b344
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
sdbusplus: use shorter type aliases
Change-Id: I56e16f0b063eb747cf3e9d740ffd921ae1d1bfb6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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
|
|
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
|
|
Naveen Moses (1):
Add serial uart mux interface class
Change-Id: Iaa493fc1a04550f28d7b405bd0d5b9fccd84e8cb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Thang Q. Nguyen (1):
Fix getService fail on single host platform
Change-Id: If36553e87cf10c994737805afb1c107d1ce5c804
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
Patrick Williams (1):
MAINTAINERS: remove file
Change-Id: I31810ab1f4b4f63f191ad9e9cbdf2ef13aa3ca85
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Naveen Moses (1):
Rename handler methods to match dbus signal type
Change-Id: Idf998f825bccac0162d17578f19fb7842615bb81
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
OWNERS: switch 'matches' to 'matchers'
Change-Id: Ied8ddda6f2638b2a6701ec31abcd85a23e1eb957
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
logging: switch to lg2
Change-Id: I6f95d8612405766b5138062c2ff94f74c416907a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
George Liu (1):
meson: Remove compilation using autotools
Change-Id: I38d453bc5dea381763bb0e5729b16a180cb07ad9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
George Liu (1):
Update clang-format
Change-Id: Ibe39177201a16b3b7ea349b1cac02eff27edaee1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
switch experimental::fs to std::fs
Change-Id: Ie2c1c0ef626c407dd4bf21ac12e0ae229278be2c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
Naveen Moses (1):
Add Host selector button interface
Change-Id: I70589f5bdb3af95965b41eff6840f50fd29ab902
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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
|
|
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
|
|
Naveen Moses (1):
Enable group gpio configuration
Change-Id: I6fa93ca2858132b2181d62a04bf8cf86bf4f8713
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Manojkiran Eda (1):
Add OWNERS file
Change-Id: Ib21f7e74683dd0f8f7afe5d63a3ae61e7c7e7b13
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
catch exceptions as const
Change-Id: Ie4ff09c0be8019db0802ea7d590cb989757536a0
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Manojkiran Eda (1):
Add OWNERS file
Change-Id: I3a7d6d0e29f6530cfdd20b96618ec9bf9e82918e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
exception: switch to public sdbus exception
Change-Id: Ida725a4f801f67c857a1c1771a64a7f841e97d05
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|