diff options
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/leds')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config-native.bb | 18 | ||||
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config/led.yaml | 148 |
2 files changed, 166 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config-native.bb b/meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config-native.bb new file mode 100644 index 000000000..459a3161c --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config-native.bb @@ -0,0 +1,18 @@ +SUMMARY = "Phosphor LED Group Management for Mihawk" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit native + +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-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config/led.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config/led.yaml new file mode 100644 index 000000000..1c6634551 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/leds/mihawk-led-manager-config/led.yaml @@ -0,0 +1,148 @@ +BmcBooted: + power: + Action: 'Blink' + DutyOn: 50 + Period: 250 + Priority: 'On' +PowerOn: + power: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +EnclosureFault: + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +EnclosureIdentify: + rear-id: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan0Fault: + fan0: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan1Fault: + fan1: + Action: 'On' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan2Fault: + fan2: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan3Fault: + fan3: + Action: 'On' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan4Fault: + fan4: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Fan5Fault: + fan5: + Action: 'On' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Powersupply0Fault: + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +Powersupply1Fault: + fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'On' +LampTest: + fault: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'On' + rear-id: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'On' + power: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'On' + fan0: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fan1: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fan2: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fan3: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fan4: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + fan5: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink'
\ No newline at end of file |