diff options
author | Yang Chen <yang.chen@quantatw.com> | 2024-05-09 15:39:36 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-05-23 01:45:32 +0300 |
commit | d586c4c0c03bce3a2d49f708f6e9659fe0cc49ca (patch) | |
tree | f541ca1b695c884df860106d6a58c9d0b973bf86 /meta-facebook | |
parent | 9f2f8a1de78702a335e2a8794be8f5c9c92ed49c (diff) | |
download | openbmc-d586c4c0c03bce3a2d49f708f6e9659fe0cc49ca.tar.xz |
meta-facebook: minerva: turn on the led
The LED can't be on by chassis on when the BMC reboots.
Add a script to turn it on.
Change-Id: Ie7b09f2e07e19c8881b234e802b334ee5ac1c124
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
Diffstat (limited to 'meta-facebook')
-rw-r--r-- | meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/minerva-early-sys-init | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/minerva-early-sys-init b/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/minerva-early-sys-init index 411cff19bf..de609ee56b 100644 --- a/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/minerva-early-sys-init +++ b/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/minerva-early-sys-init @@ -2,6 +2,10 @@ # shellcheck source=meta-facebook/meta-minerva/recipes-minerva/plat-tool/files/minerva-common-functions source /usr/libexec/minerva-common-functions +power_on_led_init() { + systemctl start obmc-led-group-start@power_on.service +} + # set initial value for GPIO output pins set_gpio PWREN_MTIA_BLADE0_EN_N 0 set_gpio PWREN_MTIA_BLADE1_EN_N 0 @@ -91,4 +95,7 @@ set_gpio RST_I2CRST_FCB_T_R_N 1 set_gpio wFM_88E6393X_BIN_UPDATE_EN_N 1 set_gpio WATER_VALVE_CLOSED_N 0 set_gpio BMC_READY 1 + +power_on_led_init + exit 0 |