diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-14 19:33:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-14 19:36:35 +0300 |
commit | c9ed720bc2866798691af342289c4b5d03203d33 (patch) | |
tree | d4423e645b59d5cd3ec6d6f9b7f0e3107d13d220 /meta-yadro/meta-vesnin/recipes-phosphor/leds | |
parent | d74a47d9af60c43ad045b983cbfd4db518b776cc (diff) | |
download | openbmc-c9ed720bc2866798691af342289c4b5d03203d33.tar.xz |
meta-yadro: add subtree
Alexander Filippov (4):
Initial commit
meta-yadro: Initial version of meta-vesnin layer
meta-yadro: Add readme files
meta-vesnin: Use VESNIN DTS from kernel repo
Change-Id: Ifa6f1ad3890af4800d27a76fb709e8f8d91295df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-yadro/meta-vesnin/recipes-phosphor/leds')
-rw-r--r-- | meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config-native.bb | 19 | ||||
-rw-r--r-- | meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config/led.yaml | 40 |
2 files changed, 59 insertions, 0 deletions
diff --git a/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config-native.bb b/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config-native.bb new file mode 100644 index 000000000..51a2f0b07 --- /dev/null +++ b/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Phosphor LED Group Management for Vesnin" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native +inherit obmc-phosphor-utils + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Copies example led layout yaml file +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config/led.yaml b/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config/led.yaml new file mode 100644 index 000000000..3330e25ea --- /dev/null +++ b/meta-yadro/meta-vesnin/recipes-phosphor/leds/vesnin-led-manager-config/led.yaml @@ -0,0 +1,40 @@ +BmcBooted: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + alarm_yel: + Action: 'On' + Priority: 'Blink' +PowerOn: +PgoodTimeout: + power_red: + Action: 'On' + Priority: 'On' +HostQuiesced: + alarm_red: + Action: 'On' + Priority: 'Blink' +Overheat: + alarm_red: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' +PsuSmbalert: + alarm_yel: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' +EnclosureIdentify: + id_blue: + Action: 'Blink' + Priority: 'On' +FruFault: + alarm_yel: + Action: 'Blink' + DutyOn: 50 + Period: 200 + Priority: 'Blink' + |