Age | Commit message (Collapse) | Author | Files | Lines |
|
Patrick Williams (1):
exception: switch to public sdbus exception
Change-Id: I62023a165f18291873733a28115cb3b891b178a0
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
|
|
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
|
|
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
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
|
|
Seires Li (1):
revert "meson: support custom led yaml path"
Change-Id: I4958ba8a40d1d194916c5f01c354cd13022f009b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
George Liu (1):
Remove autotools support
Change-Id: I9d407d73bb8ebd710f18bde42914224aeb536c0e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
George Liu (1):
Add meson build
Change-Id: Ie4da91e9d89a2e627116b2564132b561ec23e7d8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Remove config.h
Change-Id: I72b30521a9300bbedf8b4c077740cd257c55e8c2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Replace std::experimental::filesystem with std::filesystem
Change-Id: I36c07b05fba16d2ac5d996a8368d23409ff50983
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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>
|
|
George Liu (1):
meson: switch to 0.57.0
Change-Id: I366f8e1d2bc5f2e21f1fa696b76ed9eb9e9f6123
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Vishwanatha Subbanna (1):
Configs: Everest: Remove LCD display unit indicator LED
Change-Id: I0b1ed32e97d2b55c93b08f6229b4d8baac73126b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I4e2520684dc4db95c83ea594b0dba5ddbfddc5fa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
George Liu (1):
ledSysfs: Replace IRC with Discord
Change-Id: I112ee6cb4854e7d3b9036b66da299f248fcadd4e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
George Liu (1):
Remove compilation using autotools
Change-Id: I3110b8f3cd8711951b3a4c4dbcdb3b3dc578b0f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Vishwanatha Subbanna (1):
configs: rainier: Add cffps2 to group json config file
Change-Id: I24ebbb288d67e24124498efc6b8d5527f743b941
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
George Liu (1):
Remove setting Functional property of OperationalStatus interface
Change-Id: I5f65214ab62f84393b8e5213f904f0a34c5a5dd0
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Add meson build
Change-Id: Ib07b0c9dd4bf5e1a2ed5e2553eed9954c1dd1a45
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
This commit enables phosphor-ledmanager to do lamp test
Change-Id: I4933ec034911198f99ae1289f681f15057310c33
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
This enables phosphor-ledmanager to use JSON configuration file
Change-Id: I3cbd0bf6b60e81f9f0a479ad51dab438c708c6c1
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
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>
|
|
George Liu (1):
led-use-json: Use specific config files
Change-Id: I7bb01dee17c9728abd766ec95da6e9997ac5bc89
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|