* LED not Blinking
@ 2019-02-04 12:18 AKASH G J
2019-02-04 15:57 ` Matt Spinler
2019-02-07 14:11 ` vishwa
0 siblings, 2 replies; 5+ messages in thread
From: AKASH G J @ 2019-02-04 12:18 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
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.
Thanks in advance.
[-- Attachment #2: Type: text/html, Size: 1073 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: LED not Blinking
2019-02-04 12:18 LED not Blinking AKASH G J
@ 2019-02-04 15:57 ` Matt Spinler
2019-02-05 4:34 ` AKASH G J
2019-02-07 14:11 ` vishwa
1 sibling, 1 reply; 5+ messages in thread
From: Matt Spinler @ 2019-02-04 15:57 UTC (permalink / raw)
To: AKASH G J; +Cc: openbmc, openbmc
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.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: LED not Blinking
2019-02-04 15:57 ` Matt Spinler
@ 2019-02-05 4:34 ` AKASH G J
2019-02-05 15:31 ` Matt Spinler
0 siblings, 1 reply; 5+ messages in thread
From: AKASH G J @ 2019-02-05 4:34 UTC (permalink / raw)
To: Matt Spinler; +Cc: openbmc, openbmc
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
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@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.
>
>
[-- Attachment #2: Type: text/html, Size: 2053 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: LED not Blinking
2019-02-05 4:34 ` AKASH G J
@ 2019-02-05 15:31 ` Matt Spinler
0 siblings, 0 replies; 5+ messages in thread
From: Matt Spinler @ 2019-02-05 15:31 UTC (permalink / raw)
To: AKASH G J; +Cc: openbmc
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@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: LED not Blinking
2019-02-04 12:18 LED not Blinking AKASH G J
2019-02-04 15:57 ` Matt Spinler
@ 2019-02-07 14:11 ` vishwa
1 sibling, 0 replies; 5+ messages in thread
From: vishwa @ 2019-02-07 14:11 UTC (permalink / raw)
To: AKASH G J, openbmc
Hi,
On 2/4/19 5:48 PM, 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'
>
You would need to put this in led.yaml and that would get compiled into
phosphor-led-manager as led-gen.hpp. Please see this as an example.
https://github.com/openbmc/openbmc/blob/master/meta-ibm/meta-romulus/recipes-phosphor/leds/romulus-led-manager-config/led.yaml
!! Vishwa !!
The LED is glowing when the BMC boots up. But it is not blinking. Please
someone help to resolve the issue.
Thanks in advance.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-02-07 14:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 12:18 LED not Blinking AKASH G J
2019-02-04 15:57 ` Matt Spinler
2019-02-05 4:34 ` AKASH G J
2019-02-05 15:31 ` Matt Spinler
2019-02-07 14:11 ` vishwa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.