LED not Blinking

AKASH G J akashgj91 at gmail.com
Tue Feb 5 15:34:36 AEDT 2019


I am using zaius machine configuration. In that led.yaml file is not
available.

On Mon, Feb 4, 2019 at 9:21 PM Matt Spinler <mspinler at linux.vnet.ibm.com>
wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190205/c8c90c7e/attachment.html>


More information about the openbmc mailing list