summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/leds
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-03-02native class is not inherited lastJoseph Reynolds2-2/+2
Moved "inherit native" statements to the last position to remove QA Issues. The message is: WARNING: QA Issue: {RECIPENAME}: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: {CLASSFILES} [native-last] Tested: The witherspoon image builds without the warnings. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: Ic3c71234abfcac8b26478bc32808e3bec8bba810
2021-02-17phosphor-led-manager: srcrev bump 19c48e17a0..b00e56c26eAndrew Geissler1-1/+1
Vishwanatha Subbanna (1): config: Add rainier-2u and rainier-4u group configuration json Change-Id: Ic0ab72ee979f93861e1de75a09154bded2263d5b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-01-08phosphor-led-manager: srcrev bump 4c5f533712..19c48e17a0Andrew Geissler1-1/+1
George Liu (1): Add the LampTest option (From meta-phosphor rev: 9fc4ad44aa42760609a4a8444426648d71193c01) Change-Id: Iffbf99494093a4a1f19113548a2a551a853fac31 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-10phosphor-led-manager: srcrev bump 1c737afcb0..4c5f533712Andrew Geissler1-1/+1
George Liu (1): Add the method to set Functional property based on Group state (From meta-phosphor rev: 84a5b518627a005842f1657d7c405c5710e8cc90) Change-Id: I4c571750eed17a50577c1a64cf0dae8a3a880a2d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-05phosphor-led-manager: srcrev bump 4846e92657..1c737afcb0Andrew Geissler1-1/+1
George Liu (1): Add utility for D-Bus (From meta-phosphor rev: 99e651efb5bb7a408c827f2858477b20d8b62e9c) Change-Id: I8bbd90d290aee34507fd4af486e3841566bb96f5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-21led-manager: Install led-set-all-groups-asserted.sh to /usr/binVishwanatha Subbanna2-2/+4
Latest commit in phosphor-led-manager put a bash script led-set-all-groups-asserted.sh. This commit packages it to be installed in /usr/bin and also adds right RDEPENDS (From meta-phosphor rev: 3c3dfb751869331d162790a4523257f6a383eafe) Change-Id: I3c37b1eb22eea9fd2294be978413f1100a402a07 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18phosphor-led-manager: srcrev bump 17fcb4d96a..e06270c72bAndrew Geissler1-1/+1
George Liu (2): Add storeGroups/restoreGroups method to LED Manager configure: replace --enable-use_json by --enable-use-json (From meta-phosphor rev: 33d659c1fd591f5de38a15c2d4bcd03adfee9f40) Change-Id: I842ec11529efa577898e3acfa9fd4251755b0c0c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18led-manager: start led-manager after object mapperVishwanatha Subbanna1-0/+2
The new commit in led-manager may make a call to object mapper in some case as part of its start and hence putting the dependency (From meta-phosphor rev: c5c8d92ac6b9ff85ce4dee9b908a3c04a0c29bda) Change-Id: I7d897d88ac658088333824cb56b979745f23a1f5 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-09phosphor-led-manager: srcrev bump 937a0bde18..17fcb4d96aAndrew Geissler1-1/+1
George Liu (1): Validate the priority of an LED is same (From meta-phosphor rev: 5c79e2631176811ea26d2c502ef109d870c5c8b0) Change-Id: Icd2c9da880dc73210ea5100b457a898ce57cf3b1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06phosphor-led-manager: srcrev bump a6c18f8d8b..937a0bde18Andrew Geissler1-1/+1
George Liu (4): Update led-manager to use JSON build: check for JSON header Change the key [name] to [Name] in members property Fix: Use YAML config by default (From meta-phosphor rev: 05e3824092ca4daf5a639a47a3afd91f7791ff77) Change-Id: I8ebed280abbc62ab14ae87f9c1242d9138dc347c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03phosphor-led-sysfs: srcrev bump 604a45ea78..61b9063671Andrew Geissler1-1/+1
George Liu (1): clang-format: update to latest from docs repo (From meta-phosphor rev: d777c1040fc3abfad4c2ae5906c05b47477c8cc2) Change-Id: I3f4f13280f28678b177c46c8d4ea534e83e08859 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03meta-phosphor: Add nholmann JSON dependencyGeorge Liu1-0/+1
(From meta-phosphor rev: b9d88f84b494d7e2a2d7ef2d30504dd07381dd66) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I40b5f05f8245b78447d2211c2e9c14d3b738fa6e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-30meta-phosphor: remove phosphor-logging-error-logs-nativePatrick Williams1-1/+0
Functionality is now covered with non-native YAML providers via packagegroup-obmc-yaml-providers. (From meta-phosphor rev: 8dddc0d316f738b74a8d641dd9e045d6f06f7f2f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If102e06cd52a8a22c2a5ca0397a68c83b1627d35 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-27phosphor-led-manager: srcrev bump d02c3cb424..a6c18f8d8bAndrew Geissler1-1/+1
George Liu (1): clang-format: update to latest from docs repo (From meta-phosphor rev: cffb31b0beb7f85cf81aa98564ffcf90f75b2d7e) Change-Id: I515b0e1e384ecc05d785d262290919baa185f851 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-logging: create bbclass for non-native YAMLPatrick Williams1-0/+10
The current working model for many packages that supply YAML is that they have both a native and a non-native package where the native package doesn't build anything but supplies YAML and the non-native package does the real building. In the case of phosphor-logging this is due to a cyclic dependency: package-yaml -> logging header -> package To hopefully reduce the complexity on package makefiles to this dual-build structure, I have created a non-native bbclass that can be used to create simple packages for the logging YAML. I have also created a sample for phosphor-led. (From meta-phosphor rev: bb79d7c980ba03f45ba5c3cb1783f59ee5cdc4bd) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I38e096c36180b2b6e68a336bb204727a2f96c1a1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-03phosphor-led-sysfs: srcrev bump ca3dd7dd91..604a45ea78Andrew Geissler1-1/+1
Patrick Williams (1): build: add correct libsystemd dependency (From meta-phosphor rev: 439ea91663322d87d237f3b7c6cd92fe60e1313e) Change-Id: I7f7b07132a7e9ebd1bc68be9787ca6448549ae84 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>