summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonico Eustaquio <jonico.eustaquio@fii-na.com>2022-09-12 23:12:33 +0300
committerVivekanand Veeracholan <vveerach@google.com>2023-04-27 22:09:12 +0300
commit10e46c3cdfa4173e90031495dfb3f930ededcedc (patch)
tree531ea9ee36104b6be0e855b0a41e74d901151f5d
parent0b1681c01492e9f88cc42f5bece1f103495f1944 (diff)
downloadopenbmc-10e46c3cdfa4173e90031495dfb3f930ededcedc.tar.xz
meta-fii: meta-mori: Support BMC_ALIVE led with led-manager
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
-rw-r--r--meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-boot/init_once.sh3
-rw-r--r--meta-fii/meta-mori/recipes-phosphor/leds/mori-led-manager-config/led.yaml2
2 files changed, 2 insertions, 3 deletions
diff --git a/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-boot/init_once.sh b/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-boot/init_once.sh
index 79c84d2638..4ee4701143 100644
--- a/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-boot/init_once.sh
+++ b/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-boot/init_once.sh
@@ -12,9 +12,6 @@ function set_mux_default(){
set_gpio_ctrl CPU_EEPROM_SEL 1
# BMC_CPU_PMBUS_SEL
set_gpio_ctrl CPU_VRD_SEL 1
- # LED control
- # LED_BMC_LIVE
- set_gpio_ctrl LED_BMC_ALIVE 1
}
set_mux_default
diff --git a/meta-fii/meta-mori/recipes-phosphor/leds/mori-led-manager-config/led.yaml b/meta-fii/meta-mori/recipes-phosphor/leds/mori-led-manager-config/led.yaml
index 9d84f94879..d2ff97d3e7 100644
--- a/meta-fii/meta-mori/recipes-phosphor/leds/mori-led-manager-config/led.yaml
+++ b/meta-fii/meta-mori/recipes-phosphor/leds/mori-led-manager-config/led.yaml
@@ -1,4 +1,6 @@
bmc_booted:
+ BMC_ALIVE:
+ Action: 'On'
boot_status_inactive:
boot_status_led: