summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/fans
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-2/+2
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-12meta-inspur: Cleanup for Yocto override syntax changeGeorge Liu7-11/+11
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
2020-05-28fp5280g2: Fix the file extra path errorGeorge Liu1-1/+1
When built the related SDK on fp5280g2, since the wrong FILESEXTRAPATHS were defined and the build failed. Tested: built successfully on fp5280g2 using related SDK. (From meta-inspur rev: 68b943d9f121e11b01e9a60a595930d50b16d13e) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6e1edd74883e8d7910facd15f800aa954bd402a7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-06-26fp5280g2: Add fan control yaml configJohn Wang8-0/+514
The fan will rotate full speed according to the fan-control yaml,since ipmi yaml is not configured. Tested: Manually set a speed for the fan and observe that the fan-control sets the fan to full speed. (From meta-inspur rev: 4f5e77b08a50999885f1e58a50a76f8e684ad873) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: If2dd8de7c7798f446216d012fa109a2d4b044be8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-26fp5280g2: Add fan monitor yaml configJohn Wang2-0/+88
Fp5280g2 uses two types of fans,one(12000 rpm) for low performance machine and one(17000 rpm) for high preformance machine,so fan-monitor need a large `deviation` to work properly. Tested: Manually adjusted the speed and observed the Functional properties of the fan. (From meta-inspur rev: 041caf3c0b2a7abb692d26c3e1925375c75d8bac) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I7540892cc63da1c1cb8745daa0e6e5d7ef522712 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-21fp5280g2: Add fan presence yaml configJohn Wang2-0/+32
Fp5280g2 uses GPIOs to detect fan presences. Tested: Verified that the Present property in dbus corresponds correctly reflects wheather a fan is present or not. busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/fan0 xyz.openbmc_project.Inventory.Item Present (From meta-inspur rev: 92dd17dc6efbf3eafc1a661e51ad5ae81ee8293d) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I72960a336e003868df3fa1715bd9ca2c3383fdc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-21fp5280g2: Add fan cooling type serviceJohn Wang3-0/+38
Configure phosphor-cooling-type as air-cooled,since fp5280g2 is an air-cooled machine. Tested: Verified that the AirCooled property is true. busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis xyz.openbmc_project.Inventory.Decorator.CoolingType AirCooled (From meta-inspur rev: 443c6d00a8bab54b0b7081fb7368bfb45029a1a2) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I4de4faf7a338165069fc44bbdfb73c1618838021 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>