LED not Blinking

Matt Spinler mspinler at linux.vnet.ibm.com
Wed Feb 6 02:31:06 AEDT 2019


On 2019-02-04 22:34, AKASH G J wrote:
> I am using zaius machine configuration. In that led.yaml file is not
> available.
> 

You can add support for that using the guide at
https://github.com/openbmc/docs/blob/master/LED-architecture.md,
and also the Romulus layer has examples.


> 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.



More information about the openbmc mailing list