summaryrefslogtreecommitdiff
path: root/meta-fii/meta-mori/recipes-phosphor/leds
AgeCommit message (Collapse)AuthorFilesLines
2024-08-28update configurations for phosphor-led-managerAlexander Hansen1-0/+3
phosphor-led-manager no longer assumes any default led priority. The behavior was changed in https://github.com/openbmc/phosphor-led-manager/commit/5a9f651949c133ed0868d72734c4ac82c75a7656 and https://github.com/openbmc/phosphor-led-manager/commit/55badf7979f57d5f9ed2db726eebf35e84d0dac5 The led priority needs to be configured, so updating all configurations here. Before, led-manager assumed a default led priority of 'Blink'. So this patch is just making that explicit in the existing configurations. There should be no behavior change from this patch. Change-Id: I74aabb567ccf6682d56877f8bb42e636fc1746f6 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
2024-01-18meta-fii: meta-mori: Assert LED group upon OS and power state changeVincent Chou1-1/+1
* Replace the polling style OS state monitor with the event-driven style monitor to detect state change and assert/deassert the led groups if the condition is met. * Change the target OS state from Standby to BootComplete for the "on" state of boot-status-led. - The led group would be assert upon the OS and power state change in dbus instead of waiting for 10s polling interval. - A monitor can be added/removed by its own yaml, which makes it easy to maintain. Change-Id: I838e8d688305fe5d5aa6053f4544173a7fe9a652 Signed-off-by: Vincent Chou <vincent.chou@fii-na.com>
2023-07-21meta-fii: meta-mori: Uniform syntax for recipesKyle Nieman2-6/+8
Update bitbake recipe format to make uniform with the following rules: 1) Generally bbappends should have layer(mori) overrides 2) Add uniform appending by using "append" instead of "+=" 3) bb files (excluding bbappends) typically should not have "append" phrase except for limited amount of variables (RDEPENDS,DEPENDS,FILES, ...) 4) Wrap lines greater than 80 chars when applicable 5) Switch syntax for long list values over multiple lines to use four-space indent In addition, oe-stylize.py was applied to further refine recipe syntax. Tested: Built successfully. Individual packages were tested for functionality with no notable change. Change-Id: I626c529373805aa696f7c574e10c1617493d4f61 Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
2023-04-27meta-fii: meta-mori: Support BMC_ALIVE led with led-managerJonico Eustaquio1-0/+2
LED_BMC_ALIVE is now managed by phosphor-led-manager instead of by init_once.sh. Asserting LED_BMC_ALIVE is removed from init_once.sh since the service obmc-led-group-start@bmc_booted.service now asserts the dbus property for LED_BMC_ALIVE's led.yaml group to be used. Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com> Change-Id: Ib68be05246a2dc66458330d99721848f86a1ed50
2022-10-27meta-fii: meta-mori: Set up phosphor-led-managerVincent Chou3-0/+31
Summary of changes: 1. Create a yaml file to set up the action of SYSTEM BOOT STATUS LED 2. Add bb file to install yaml to phosphor led manager package 3. Add a script to control the SYSTEM BOOT STATUS LED corresponding to the OS status 4. Set up phosphor led sysfs so the physical led can be controlled 5. Set CHASSIS TARGET to none to remove unnecessary service call to obmc-led-group-start/stop@power_on/off. Signed-off-by: Vincent Chou <vincent.chou@fii-na.com> Change-Id: Ia7b136c52518a1e2af6662ffc42b4f72b3e15584