summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/leds
AgeCommit message (Collapse)AuthorFilesLines
2021-12-29phosphor-led-manager: srcrev bump 23d5408ba8..db6d763891Andrew Geissler1-1/+1
George Liu (1): Fix sdbus++-gen-meson version warning Change-Id: Ia2ee3228640512577c4215990bd3f3fcd9c4e84e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-08phosphor-led-manager: srcrev bump f178c0f26d..23d5408ba8Andrew Geissler1-1/+1
George Liu (1): Update the clang-format file with latest Change-Id: I5b729a2a3d0b5112047fa190f3a3fe24148158bd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-11-29phosphor-led-manager: srcrev bump d1fdc4f48d..f178c0f26dAndrew Geissler1-1/+1
Patrick Williams (1): sdbusplus: remove usage of deprecated alias Change-Id: I088412fa2fbccbcef7fcb9c83d564b904256b71c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-led-manager: srcrev bump 8e9af365d6..d1fdc4f48dAndrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Patrick Williams (1): catch exceptions as const Change-Id: I3f021c1a111b4749ac5e113c44b9f2e2b5b4eab2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-led-sysfs: srcrev bump 520c5e51fd..ff26c8ecb8Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Ib4b9fa5e6033f427a4b41e0363d0669b0274c41c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-22phosphor-led-manager: srcrev bump 6c4e0f2f76..8e9af365d6Andrew Geissler1-1/+1
Manojkiran Eda (1): Fix json files Change-Id: Ib6f683c35d6efeaef793f4017824405ab56c5a90 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-21phosphor-led-sysfs: srcrev bump 5ee5f3b716..520c5e51fdAndrew Geissler1-1/+1
George Liu (1): Update clang-format Change-Id: I934778112bc88b6d0c144631efd233294706dec8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-20phosphor-led-manager: srcrev bump e9fb5c6a17..6c4e0f2f76Andrew Geissler1-1/+1
Lakshminarayana R. Kammath (1): Led: Configs: Rainier: Update led names to reflect pca955x Change-Id: I93de5c212b460dee16a72eaa1099d91e934a4c94 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-17phosphor-led-manager: srcrev bump d870d68a21..e9fb5c6a17Andrew Geissler1-1/+1
George Liu (2): Handle D-Bus exceptions logging: switch to lg2 Lakshminarayana R. Kammath (1): Add lkammath as the Reviewer Change-Id: I53becf23f9e535e1ea47620057c991f96b148cb9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-15phosphor-led-manager: srcrev bump 7152edcff6..d870d68a21Andrew Geissler1-1/+1
George Liu (2): Add GeorgeLiu as the Reviewer Update clang-format Vishwanatha Subbanna (1): Add Patrick as the Maintainer Change-Id: I075aa936f782e993a6427cf266054421f8bfd1f1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-09phosphor-led-manager: srcrev bump ad73885b72..7152edcff6Andrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: I62023a165f18291873733a28115cb3b891b178a0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-3/+3
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
2021-08-31meta-phosphor: switch EXTRA_OEMESON to use override syntaxPatrick Williams2-2/+2
It was observed that we have different approaches to modifying the EXTRA_OEMESON variable across our recipes. The bitbake manual implies that override syntax (":append") is slightly better and the poky meson bbclass also prefers it: meta/classes/meson.bbclass:EXTRA_OEMESON:append = " ${PACKAGECONFIG_CONFARGS}" Switch all recipes to use the ":append" override syntax for the EXTRA_OEMESON variable. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I24e9a27a87c61f374acfb03a63955821fce0dd20
2021-08-17Fix path to udev rules filesAnton Blanchard1-2/+2
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-17led-group: move to action targetsAndrew Geissler1-4/+5
While debugging another issue, it was noticed that this service, obmc-led-group-start/stop@power_on.service was installed within a synchronization target. Specifically within the obmc-power-stop@0.target. This target is only meant to be used as a synchronization target, where other services use Wants/After/Before type syntax to synchronize when they run. For installing a service, the standard action targets should be used, obmc-chassis-poweron@.target and obmc-chassis-poweroff@.target. Tested: - Verified services are in correct target and still run during chassis on and power off. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5fecc8236e20f83fb5636445710621bbc8b46b57
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams4-10/+10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-07-01phosphor-led-manager: srcrev bump 9d9ab2291d..ad73885b72Andrew Geissler1-1/+1
Seires Li (1): revert "meson: support custom led yaml path" Change-Id: I4958ba8a40d1d194916c5f01c354cd13022f009b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-29phosphor-led-manager: pass led yaml to buildSeires Li1-0/+10
phosphor-led-manager has migrated from autotools to meson, and it needs to be built with the correct led.yaml. This will check if there's a led.yaml in the order of: 1. where LED_YAML_PATH specifies 2. default path of virtual/phosphor-led-manager-config-native 3. where SRC_URI += puts files to and copies it to the right location. Tested: devtool modify phosphor-led-manager and checked if led.yaml is the right one. devtool reset, built the image and checked if led-manager are hosting the correct led groups on dbus. tried five different scenarios: 1. don't use phosphor-led-manager at all: yosemitev2 2. use config-native: romulus 3. use config-mrw-native: witherspoon 4. overrides the native path: hr855xg2 5. puts led.yaml in SRC_URI: created a custom one and tested that Signed-off-by: Seires Li <seiresli@pcpartner.com> Change-Id: Iacfbe633befd3f50f5ea685fd234a49e0eeb7b6f
2021-06-17phosphor-led-manager: srcrev bump cc9a575399..9d9ab2291dAndrew Geissler1-1/+1
George Liu (2): Replace find method with contains method Fix utest-led-json.cpp should not depend on use-json Seires Li (1): meson: support custom led yaml path William A. Kennington III (1): build: Tests should default to auto not enabled Change-Id: I65bc41355034a753f74cd4969f551eb7794ded10 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-05phosphor-led-sysfs: Disable building testsWilliam A. Kennington III1-0/+2
We don't yet support turning on ptest so we are wasting cycles building them. Change-Id: I21ebd21b45b4b8338d22b5a74b4afc8bae3a1f39 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-05phosphor-led-manager: Disable building testsWilliam A. Kennington III1-1/+1
We don't want to spend cycles building tests we won't use. Change-Id: Ic7890e60e736189290caa1f528002b31f438a179 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-02phosphor-led-sysfs: srcrev bump c7d70b67fc..5ee5f3b716Andrew Geissler1-1/+1
George Liu (1): Remove autotools support Change-Id: I9d407d73bb8ebd710f18bde42914224aeb536c0e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-02ledController: build phosphor-led-sysfs with mesonGeorge Liu1-2/+1
The intent behind this commit to build phosphor-led-sysfs with meson and remove autotools. Tested: built phosphor-led-sysfs successfully and worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6656f9959438c95e6cd0331d3f070939ffd8e192
2021-06-02phosphor-led-sysfs: srcrev bump 429750a01d..c7d70b67fcAndrew Geissler1-1/+1
George Liu (1): Add meson build Change-Id: Ie4da91e9d89a2e627116b2564132b561ec23e7d8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-25phosphor-led-sysfs: srcrev bump 45eba6fc25..429750a01dAndrew Geissler1-1/+1
George Liu (1): Remove config.h Change-Id: I72b30521a9300bbedf8b4c077740cd257c55e8c2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-21phosphor-led-sysfs: srcrev bump fcc56b6705..45eba6fc25Andrew Geissler1-1/+1
George Liu (1): Replace std::experimental::filesystem with std::filesystem Change-Id: I36c07b05fba16d2ac5d996a8368d23409ff50983 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-18phosphor-led-manager: srcrev bump a280e5dc47..cc9a575399Andrew Geissler1-1/+1
George Liu (3): build: Add wrapfiles for dependencies build: Remove autotools support Merge dependency option in meson build Change-Id: If15a1c2efcfe23ab6dc2cd461339f69bd84fb803 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-13phosphor-led-manager: srcrev bump e367ceaecf..a280e5dc47Andrew Geissler1-1/+1
Vishwanatha Subbanna (3): Configs: Everest: Update led names to reflect pca955x Configs: Everest: update names of leds directly connected to BMC Configs: Everest: Modify name of some of leds groups Change-Id: I67d84c7af1d4b83bf753e14d58c8deef5d17b2d2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-05phosphor-led-manager: srcrev bump 2c211f8c2c..e367ceaecfAndrew Geissler1-1/+1
George Liu (1): meson: switch to 0.57.0 Change-Id: I366f8e1d2bc5f2e21f1fa696b76ed9eb9e9f6123 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-04phosphor-led-manager: srcrev bump e2060f3c44..2c211f8c2cAndrew Geissler1-1/+1
Vishwanatha Subbanna (1): Configs: Everest: Remove LCD display unit indicator LED Change-Id: I0b1ed32e97d2b55c93b08f6229b4d8baac73126b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-01phosphor-led-manager: srcrev bump 7907827126..e2060f3c44Andrew Geissler1-1/+1
Vishwanatha Subbanna (1): Configs: Rainier: Add led group json for Rainier 1S4U system Change-Id: I0c67d75a440aa222e8b7a6b24c0bc76ce961432d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-29phosphor-led-sysfs: srcrev bump 07758dcaa3..fcc56b6705Andrew Geissler1-1/+1
Patrick Williams (1): bootstrap: fix shellcheck warnings Change-Id: I4e2520684dc4db95c83ea594b0dba5ddbfddc5fa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-28phosphor-led-manager: srcrev bump c105f279eb..7907827126Andrew Geissler1-1/+1
Vishwanatha Subbanna (8): Configs: Everest: Add power supply led groups to group json Configs: Everest: Add TPM and RTC led groups to group json Configs: Everest: Add DASD backplane and NVME slot led groups Configs: Everest: Add planar and bmc led groups to group json Configs: Everest: Add Operator Panel led groups to group json Configs: Everest: Add DIMM led groups to group json Configs: Everest: Add power supply riser card led groups to group json Configs: Everest: Add OpenCAPI connector led groups to group json Change-Id: I782e85ac91ef1330024e5b2b74701b2c96860200 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-28phosphor-led-sysfs: srcrev bump a8a275f635..07758dcaa3Andrew Geissler1-1/+1
George Liu (1): ledSysfs: Replace IRC with Discord Change-Id: I112ee6cb4854e7d3b9036b66da299f248fcadd4e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-26phosphor-led-manager: srcrev bump 65f9c4b77e..c105f279ebAndrew Geissler1-1/+1
Vishwanatha Subbanna (5): Configs: Everest: Add led-group-config.json for Everest system Configs: Everest: Add cpu led groups to group json Configs: Everest: Add vrm led groups to group json Configs: Everest: Add pcieslot led groups to group json Configs: Everest: Add cablecard led groups to group json Change-Id: Icd1775183e67b3498a43c717e01bc25d501e448b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-22phosphor-led-manager: srcrev bump 0c29c2c1f4..65f9c4b77eAndrew Geissler1-1/+1
George Liu (1): Remove compilation using autotools Change-Id: I3110b8f3cd8711951b3a4c4dbcdb3b3dc578b0f9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-21phosphor-led-manager: srcrev bump d76c07482d..0c29c2c1f4Andrew Geissler1-1/+1
Vishwanatha Subbanna (1): configs: rainier: Add cffps2 to group json config file Change-Id: I24ebbb288d67e24124498efc6b8d5527f743b941 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-16ledManager: build phosphor-led-manager with mesonGeorge Liu1-5/+5
The intent behind this commit to build phosphor-led-manager with meson and remove autotools. Tested: built phosphor-led-manager successfully and worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id90338dabd1862cced26a9d4f25204e4f8c36ec4
2021-04-15phosphor-led-manager: srcrev bump 6ca80648a0..d76c07482dAndrew Geissler1-1/+1
George Liu (2): configs: Add all groups configuration JSON through meson.build fault-monitor: Add monitor-opertaional-status to meson.build Change-Id: I97a5cbe89bd695df6eef8dad13c0a1b8f7100e72 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-15phosphor-led-manager: srcrev bump ee1c19e5ab..6ca80648a0Andrew Geissler1-1/+1
George Liu (1): ledManager: Replace IRC with Discord Patrick Williams (3): bootstrap: copy latest from phosphor-hwmon led-set-all-groups-asserted: fix shellcheck issues enable shellcheck Change-Id: I899fb5f87cc2a6922ffd989b6431994bec31c10c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-12fru-fault-monitor: Enable OperationalStatus monitor featureVishwanatha Subbanna2-1/+3
Currently, the phosphor-fru-fault-monitor updates the Asserted property of the Led Group D-Bus object by monitoring the `/xyz/openbmc_project/logging` object path. The intent behind this commit is to add another way to monitor the `xyz.openbmc_project.State.Decorator.OperationalStatus` interface of the Inventory D-Bus object, and check whether the Inventory D-Bus object is associated with the LED group D-Bus object, and then update the Asserted property of the LedManager. Since both these methods handle the faults differently, Only ONE of these 2 methods can be enabled and NOT both. The first way is supported by default. To turn OFF the default way AND turn ON this second way, Enable monitor-operational-status. Change-Id: I03701e599b6a120bc1f83da6f473b12f38660d64 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-04-10phosphor-led-manager: srcrev bump 4b06201049..445b00b22bAndrew Geissler1-1/+1
George Liu (1): Remove setting Functional property of OperationalStatus interface Change-Id: I5f65214ab62f84393b8e5213f904f0a34c5a5dd0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-02phosphor-led-manager: srcrev bump 52ad07b2a2..4b06201049Andrew Geissler1-1/+1
George Liu (1): Add meson build Change-Id: Ib07b0c9dd4bf5e1a2ed5e2553eed9954c1dd1a45 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-27phosphor-led-manager: srcrev bump 8215032f79..52ad07b2a2Andrew Geissler1-1/+1
Vishwanatha Subbanna (1): configs: rainier: Add virtual physical LEDs to Fault and Identify groups Change-Id: I1cafd851ea78fb1d8ca23517bb9e748277027cff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-27phosphor-led-sysfs: srcrev bump 61b9063671..a8a275f635Andrew Geissler1-1/+1
Vishwanatha Subbanna (4): Add support for --enable-oe-sdk Add test cases to validate state of physical LED Fix an error scenario where reading the file fails test: Add test cases to cover brightness and asserted values Change-Id: I49963d5da3051c4bbda19963b18ad50b21c1386a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-26ledmanager: Remove phosphor-led-manager-ledmanager packageVishwanatha Subbanna1-19/+9
phosphor-led-manager has 3 packages - phosphor-led-manager : Default - phosphor-led-manager-ledmanager : Packages phosphor-ledmanager - phosphor-ledmanager-faultmonitor : Packages phosphor-fru-fault-monitor Because of this, it was not possible to install files via Makefile and that always needed a corresponding update to FILES_{PN}-ledmanager. Removing phosphor-led-manager-ledmanager will eliminate this problem. Change-Id: I00ca4c34346a47f887872464b9050a46d8f5e8e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-24leds: rainier: lamptest: Enable lamp test feature for rainier systemVishwanatha Subbanna1-0/+1
This commit enables phosphor-ledmanager to do lamp test Change-Id: I4933ec034911198f99ae1289f681f15057310c33 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-24leds: rainier: Enable PACKAGECONFIG to use jsonVishwanatha Subbanna1-0/+3
This enables phosphor-ledmanager to use JSON configuration file Change-Id: I3cbd0bf6b60e81f9f0a479ad51dab438c708c6c1 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-23phosphor-led-manager: srcrev bump 616a071697..8215032f79Andrew Geissler1-1/+1
George Liu (6): Add lampTest class for LED Update physical LEDs as part of Lamp test Add the restoreLedsAssert method for LED manager LampTest: Notify PHYP to start the lamp test lamptest: Add virtual LEDs to group definition lamp test: Add vritual lamp test function Change-Id: I83e359c103da908217833c6ee1bc928c60e5cd53 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-16phosphor-led-manager: srcrev bump b00e56c26e..616a071697Andrew Geissler1-1/+1
George Liu (1): led-use-json: Use specific config files Change-Id: I7bb01dee17c9728abd766ec95da6e9997ac5bc89 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>