Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,19 @@
SUMMARY = "Phosphor LED Group Management for VEGMAN-Rx20"
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}"
# 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
}
@@ -0,0 +1,123 @@
bmc_booted:
# No LED required.
# Status LED indication
# Managed by callback-manager
status_ok:
platform_status_green:
Action: 'On'
platform_status_red:
Action: 'Off'
status_degraded:
platform_status_green:
Action: 'Blink'
platform_status_red:
Action: 'Blink'
status_non_critical:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'Blink'
status_critical:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'On'
enclosure_identify:
platform_indicator_blue:
Action: 'On'
#
# May be asserted through IPMI or RedFish.
# We decided that it should be the same as enclosure_identify.
enclosure_identify_blink:
platform_indicator_blue:
Action: 'On'
#
# Asserted while firmware is flashing
firmware_flashing:
platform_indicator_blue:
Action: 'Blink'
#
# Power button indication
# Managed by phosphor-dbus-monitor
power_standby:
platform_power_green:
Action: 'On'
platform_power_red:
Action: 'On'
power_sequence:
platform_power_green:
Action: 'Blink'
DutyOn: 50
Period: 1000
platform_power_red:
Action: 'Off'
power_on:
platform_power_green:
Action: 'On'
platform_power_red:
Action: 'Off'
power_failure:
platform_power_green:
Action: 'Off'
platform_power_red:
Action: 'On'
#
# Temperature status
# Managed by phosphor-dbus-monitor
temp_ok:
temp_status_green:
Action: 'On'
temp_status_red:
Action: 'Off'
temp_failure:
temp_status_green:
Action: 'Blink'
temp_status_red:
Action: 'Blink'
temp_warn:
temp_status_green:
Action: 'On'
temp_status_red:
Action: 'On'
temp_crit:
temp_status_green:
Action: 'Off'
temp_status_red:
Action: 'On'
#
# PSU status
# Managed by phosphor-dbus-monitor
psu_ok:
psu_status_green:
Action: 'On'
psu_status_red:
Action: 'Off'
psu_warn:
psu_status_green:
Action: 'Blink'
psu_status_red:
Action: 'Blink'
psu_crit:
psu_status_green:
Action: 'Off'
psu_status_red:
Action: 'Blink'
@@ -0,0 +1,19 @@
SUMMARY = "Phosphor LED Group Management for VEGMAN"
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}"
# 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
}
@@ -0,0 +1,82 @@
bmc_booted:
# No LED required.
# Status LED indication
# Managed by callback-manager
# NOTE: The green LED actually has different colors on the front and rear
# panels. So, we decided not to use it.
# See https://j.yadro.com/browse/BBMC-221 for details.
status_ok:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'Off'
status_degraded:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'Blink'
DutyOn: 25
Period: 2000
status_non_critical:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'Blink'
DutyOn: 50
Period: 1000
status_critical:
platform_status_green:
Action: 'Off'
platform_status_red:
Action: 'On'
enclosure_identify:
platform_indicator_blue:
Action: 'On'
#
# May be asserted through IPMI or RedFish.
# We decided that it should be the same as enclosure_identify.
enclosure_identify_blink:
platform_indicator_blue:
Action: 'On'
#
# Asserted while firmware is flashing
firmware_flashing:
platform_indicator_blue:
Action: 'Blink'
#
# Power button indication
# Managed by phosphor-dbus-monitor
power_standby:
platform_power_green:
Action: 'On'
platform_power_red:
Action: 'On'
power_sequence:
platform_power_green:
Action: 'Blink'
DutyOn: 50
Period: 1000
platform_power_red:
Action: 'Off'
power_on:
platform_power_green:
Action: 'On'
platform_power_red:
Action: 'Off'
power_failure:
platform_power_green:
Action: 'Off'
platform_power_red:
Action: 'On'