diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 08:35:02 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-04-25 08:02:05 +0000 |
commit | c6a41036bb2f2fedb9a37ab3e1721839110b32a1 (patch) | |
tree | 5d3723e067adac7eaa4843d7ef24fbd82dc2aceb /meta-rcs/meta-talos/recipes-phosphor/leds | |
parent | fb83e16d3529ade1057088c33faeb4ea7ff922ed (diff) | |
download | talos-openbmc-c6a41036bb2f2fedb9a37ab3e1721839110b32a1.tar.gz talos-openbmc-c6a41036bb2f2fedb9a37ab3e1721839110b32a1.zip |
[Subtree] Bring openbmc machines to top level
Diffstat (limited to 'meta-rcs/meta-talos/recipes-phosphor/leds')
-rw-r--r-- | meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config-native.bb | 19 | ||||
-rwxr-xr-x | meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config/led.yaml | 38 |
2 files changed, 57 insertions, 0 deletions
diff --git a/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config-native.bb b/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config-native.bb new file mode 100644 index 000000000..dd8502ca3 --- /dev/null +++ b/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Phosphor LED Group Management for Talos II" +PR = "r1" + +inherit native +inherit obmc-phosphor-utils +inherit obmc-phosphor-license + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Overwrite the example led layout yaml file prior +# to building the phosphor-led-manager package +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config/led.yaml b/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config/led.yaml new file mode 100755 index 000000000..884353b04 --- /dev/null +++ b/meta-rcs/meta-talos/recipes-phosphor/leds/talos-led-manager-config/led.yaml @@ -0,0 +1,38 @@ +bmc_booted: + power: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'On' + + bmc_ready: + Action: 'On' + +power_on: + power: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' + +enclosure_fault: + fault: + Action: 'On' + +enclosure_identify: + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + +# The Op Panel on the Talos II system holds a multicolor LED. +# Both the 'fault' and 'identify' gpios are wired to the same LED. +# By holding one in 'on' while the other in 'blink' state, ensures +# the manufacturing process can verify both colors function +lamp_test: + fault: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + identify: + Action: 'On' |