History log of /openbmc/phosphor-mrw-tools/gen_led_groups.pl (Results 1 – 9 of 9)
Revision Date Author Comments
# 65ca8e19 16-Jul-2022 Andrew Geissler <geissonator@yahoo.com>

ensure no space in script type string

New bitbake checks to ensure the #! line does not exceed 180 characters
and it requires no space between it and the script type info.

Signed-off-by: Andrew Gei

ensure no space in script type string

New bitbake checks to ensure the #! line does not exceed 180 characters
and it requires no space between it and the script type info.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If52da98c06aced381a6b82cfc0756c1a322f7aec

show more ...


# 1b1aa6e5 02-Jul-2020 George Liu <liuxiwei@inspur.com>

Change the key [name] to [Name] in members property

All the other keys start with Uppercase. Changing this to make it
consistent.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I023d0c0

Change the key [name] to [Name] in members property

All the other keys start with Uppercase. Changing this to make it
consistent.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I023d0c0004830bc1758457aed6c1a2d93f394bcf

show more ...


# 78ae582b 14-Apr-2020 George Liu <liuxiwei@inspur.com>

Parse MRW and create JSON file

Previously, it was to parse MRW and create a YAML file.
Now, we need to add a method to parse MRW and create a JSON file.

Tested:
create YAML file:
./gen_led_group

Parse MRW and create JSON file

Previously, it was to parse MRW and create a YAML file.
Now, we need to add a method to parse MRW and create a JSON file.

Tested:
create YAML file:
./gen_led_groups.pl -i witherspoon.xml -o led.yaml
create JSON file:
./gen_led_groups.pl -i witherspoon.xml -o led.json

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I508d06d50163942a87a917895138c8d5b4f24b81

show more ...


# 312fa6ba 09-Feb-2018 Matt Spinler <spinler@us.ibm.com>

Remove LED naming workaround

This workaround didn't use the LED instance name if the
LED was associated with a FRU, and used the FRU name instead
for the device tree LED name.

That won't work in th

Remove LED naming workaround

This workaround didn't use the LED instance name if the
LED was associated with a FRU, and used the FRU name instead
for the device tree LED name.

That won't work in the case that the LED is associated with
a FRU but the device tree name already matches the instance
name and not the FRU name, so the code must assume that the
instance name will match the device tree name.

Change-Id: Ifb2b73dcfd6d9d252b418c04a0ebfd1b98ea8e24
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# e36476e2 19-Jul-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Fix LED Group definition anomalies

LED contains a property called Priority. It is a requirement
that a given LED has its priority 'same' across all the groups
where this LED is a member. There was a

Fix LED Group definition anomalies

LED contains a property called Priority. It is a requirement
that a given LED has its priority 'same' across all the groups
where this LED is a member. There was a bug in the LampTest
group, wherein all the LEDs had a forced priority of Blink
instead of what is the configured priority.

Change-Id: Iaf9b94357d5677265d84e8506431f845dfd32dd5
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...


# a9660424 05-May-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

LEDS: Handle action priority property

If a particular LED is asserted with different actions as part of
multiple groups, the resulting action needs to be overridden by the
action priority set for th

LEDS: Handle action priority property

If a particular LED is asserted with different actions as part of
multiple groups, the resulting action needs to be overridden by the
action priority set for that LED.

Change-Id: I82c7da636c53f16fbc1bd85254b46e0625e3909d
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...


# c5e127d6 15-May-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

LEDS: Create LampTest group containing all the LEDs

LampTest currently expects all the LEDs to be blinking.

Fixes openbmc/openbmc#1288

Change-Id: Idf6728853612f6536e78f0f3c6555379e5b4e1b8
Signed-o

LEDS: Create LampTest group containing all the LEDs

LampTest currently expects all the LEDs to be blinking.

Fixes openbmc/openbmc#1288

Change-Id: Idf6728853612f6536e78f0f3c6555379e5b4e1b8
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...


# d0039437 29-Mar-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

LEDS: Create default groups by hand if not defined in MRW

Certain LED groups must be present in all systems and they are

* BmcBooted
* PowerOn

If MRW does not define these, then these are to be de

LEDS: Create default groups by hand if not defined in MRW

Certain LED groups must be present in all systems and they are

* BmcBooted
* PowerOn

If MRW does not define these, then these are to be defined in the script
and its fine to have no LEDs mapping to the group.

Change-Id: Ic99a019794145c6c2da5b0139198df9435024b93
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...


# 3706646a 13-Dec-2016 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Generate LED Group YAML file from MRW

This PERL parser walks the MRW and generates the YAML file describing
the LED group definition. It walks the targetInstances having LED as
MRW type and creates

Generate LED Group YAML file from MRW

This PERL parser walks the MRW and generates the YAML file describing
the LED group definition. It walks the targetInstances having LED as
MRW type and creates groups. It also walks all the Inventory targets
and creates the groups for the ones that do not have an associated LED

Fixes openbmc/openbmc#803

Change-Id: Ib73358c6e028059ec9a2d92ebcc0b4d5aed4cfb7
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

show more ...