LED not Blinking

Matt Spinler mspinler at linux.vnet.ibm.com
Tue Feb 5 02:57:37 AEDT 2019


On 2019-02-04 06:18, AKASH G J wrote:
> Hi all,
> 
> We have a board containing BMC Aspeed AST-2500. One LED is connected
> to GPIO-E0. I am using zaius machine configuration for building the
> image. I want that LED to blink after BMC is booted. So I changed the
> following files.
> 
> Patched the device tree file aspeed-bmc-opp-zaius.dts
> 
>  leds {
>             compatible = "gpio-leds";
> +        power {
> +            gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_LOW>;
> +        };
>   };
> 
> Added the following configuration to sensor inventory file
> openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
> 
> bmc_booted:
>     power:
>         Action: 'Blink'
>         DutyOn: 50
>         Period: 1000
>         Priority: 'On'
> 
> The LED is glowing when the BMC boots up. But it is not blinking.
> Please someone help to resolve the issue.
> 


Hi,

The LEDs are defined in a different file, check out, for example,
meta-ibm/meta-romulus/recipes-phosphor/leds/romulus-led-manager-config/led.yaml.


You can tell it should be working when you see a
/xyz/openbmc_project/led/groups/bmc_booted  object on D-Bus.



> Thanks in advance.



More information about the openbmc mailing list