summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/leds
AgeCommit message (Collapse)AuthorFilesLines
2021-08-12meta-inspur: Cleanup for Yocto override syntax changeGeorge Liu1-3/+3
Refer to: https://lore.kernel.org/openbmc/YQ1FD5q8KbhbXVBK@heinlein/ ``` poky/scripts/contrib/convert-overrides.py meta-inspur git grep "_[a-z0-9_/-]*[ :]" -- meta-inspur | grep ".bb" git grep -l _fp5280g2 -- meta-inspur | xargs sed -i \ 's/_fp5280g2/:fp5280g2/' git grep -l _on5263m5 -- meta-inspur | xargs sed -i \ 's/_on5263m5/:on5263m5/' git grep -l _virtual -- meta-inspur | xargs sed -i \ 's/_virtual/:virtual/' ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5ef5039691caf5e33fb865da0fdd70d95d7e3bdf
2021-04-16fp5280g2: leds: Remove DEPENDSGeorge Liu1-3/+0
- DEPENDS is redundant and should be removed from the bbappend file. - Also, Remove install the phosphor-led-manager file. Tested: built phosphor-led-manager successfully and worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6797c2a860c64b74ea09881fd990e8298be96c6b
2021-04-16fp5280g2: leds: lamptest: Enable lamp test featureGeorge Liu1-1/+1
This commit enables phosphor-ledmanager to do lamp test Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I66bf7ba7e7a481b11e87d3a5f92de01a09f5eeee
2021-04-15fp5280g2: leds: Remove the virtual LED configurationGeorge Liu2-39/+0
- Previously, our purpose of using virtual LEDs was to use the default YAML and reconstruct the YAML configuration. - Currently, we use JSON instead of YAML, so we can remove the virtual LED configuration and use the default LEDs repo. Tested: Built fp5280g2 successfully and saw all the D-Bus object paths in the led-group-config.json file Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ib99c5e3f87539180812a6ec011a86b3774516663
2021-04-15fp5280g2: leds: Use PACKAGECONFIG_append instead of EXTRA_OECONFGeorge Liu1-1/+1
- Since the phosphor-led-manager_git.bb file use PACKAGECONFIG to define `use-json`, should use PACKAGECONFIG_append instead of EXTRA_OECONF. Tested: Built ledManager successfully and saw use the JSON configuration file at runtime than the static led.yaml Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I91039207176e483bd83e670b1a2d72a58c7ff2e6
2021-01-20meta-inspur: ledManager: Update led-group-config.jsonGeorge Liu1-288/+0
All core groups have been removed. (From meta-inspur rev: 2eec3eee4957224ca8840736763f13d5e739576a) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3ab79cf7cc0f993fdbcfdb361a4e68c684a520e6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04fp5280g2: leds: Add JSON configuration file having Group definitionGeorge Liu1-0/+588
This commit adds the JSON configuration file having LED Group definitions and also enables using JSON at runtime than using the compile time generated group definition from YAML. (From meta-inspur rev: 88e5fee64a82d51e3f10137e9248a5aa72201c06) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Idba650ab8e9df85eaca266ffd678baa48d9c91f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-21fp5280g2: replace --enable-use_json by --enable-use-jsonGeorge Liu1-1/+1
For consistency, use hyphen and not a mix of underscore and hyphen. (From meta-inspur rev: 21b37ce156ec4301f08aae1a70e049c37dadc7bf) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I93965d7534f10a88d61e656833414c70b7f5822c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10fp5280g2: Load LED manager with JSON configurationGeorge Liu2-0/+47
Since the led manager used the default YAML to generated led-gen.hpp and creates D-Bus object for the groups, and we tend to use JSON instead of YAML to create it. Tested: built successfully on phosphor-led-manager and create D-Bus object used JSON configuration. (From meta-inspur rev: 911c71c43beb4a3696f5c846bee06bc0a0d7bab2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ibc72f26519bb968ed4b4c8df4e068206ab9c0704 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-23fp5280g2: Add led manager configureChicago Duan2-0/+39
Use the "init-ok" gpio to notify CPLD that the BMC has been initialized. CPLD will cause the power button led to blink. Tested: When BMC is booted complete, the power button will blink (From meta-inspur rev: 66361442598357012e8c2357ab94ed3323a1d20b) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I5bbadd6de8058814d8765e02e137b58ea3f07278 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>