summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/ipmi
AgeCommit message (Collapse)AuthorFilesLines
2021-08-12meta-inspur: Cleanup for Yocto override syntax changeGeorge Liu4-7/+7
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-09-10fp5280g2: Fix parsing version_id formatGeorge Liu1-0/+3
Use the aux property directly in dev_id.json if the version_id property fails to match the specified regex, and avoid list index out of range. (From meta-inspur rev: 48e6171e36d479fa722b448fb4977bf1288ac7d9) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I974005dc1a5e612dc53a8a70f67831927d2616d2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-04fp5280g2: Add ipmi yaml configsGeorge Liu3-0/+18
Add ipmi configs for fp5280g2, by adding the following specific configs for fp5280g2 to replace the default ones. openpower-ipmi-oem phosphor-ipmi-host phosphor-ipmi-fru Tested: Manually verified sensor, fru and sel are corrected on fp5280g2 via ipmitool commands. (From meta-inspur rev: 0adbf56907286b14f34b25335cc84815189cf128) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I67995cba5793d4f6a45b9912bc7e03d2ce5d8759 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-28fp5280g2: ipmi: Add dcmi configJohn Wang1-0/+251
Tested: Verified that temperature sensors are returned by `ipmitool dcmi get_temp_reading` command responses: Entity ID Entity Instance Temp. Readings Inlet air temperature(40h) 1 +27 C CPU temperature sensors(41h) 1 +26 C CPU temperature sensors(41h) 2 +26 C CPU temperature sensors(41h) 3 +26 C ...... CPU temperature sensors(41h) 4 +26 C CPU temperature sensors(41h) 5 +26 C Baseboard temperature sensors(42h) 1 +29 C Baseboard temperature sensors(42h) 2 +32 C (From meta-inspur rev: 397f0495707790dd38f7c3f5a32a3c37d12556df) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I59cc386c407a70cce81ea5b067ebe537524d0a9d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-28fp5280g2: ipmi: Add device id configJohn Wang2-1/+46
Tested: Ran command `ipmitool mc info` got responses: Device ID : 0 Device Revision : 0 Firmware Revision : 0.00 IPMI Version : 2.0 Manufacturer ID : 51850 Manufacturer Name : Unknown (0xCA8A) Product ID : 514 (0x0202) Product Name : Unknown (0x202) Device Available : yes Provides Device SDRs : yes Additional Device Support : Sensor Device SEL Device FRU Inventory Device Chassis Device Aux Firmware Rev Info : 0x00 0x00 0x80 0x09 (From meta-inspur rev: 98340847a922cd3f405cc2cada1f1a75c960da7c) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I5ad8c45eba95ef27de80fd688dacbe8e1e1775ba Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-27fp5280g2: Set default ipmi rmcpp interfaceJohn Wang3-0/+180
Fp5280g2 BMC has 2 ethernet interfaces. One uses ncsi as the shared port and the other is the dedicated port. This change sets default ipmi rmcpp interface to eth1 which is the dedicated port and ensures that ipmi channel 1 is the dedicated port. Tested: Ran command: ipmitool -I lanplus -H xx.xx.xx.xx -U root -P 0penBmc lan print 1 observed correct responses: Set in Progress : Set Complete Auth Type Support : MD5 Auth Type Enable : Callback : MD5 : User : MD5 : Operator : MD5 : Admin : MD5 : OEM : MD5 IP Address Source : DHCP Address IP Address : xx.xx.xx.xx Subnet Mask : 255.255.255.0 MAC Address : ee:d4:fb:d8:00:e2 Default Gateway IP : xx.xx.xx.1 802.1q VLAN ID : Disabled RMCP+ Cipher Suites : 3,17 Cipher Suite Priv Max : Not Available Bad Password Threshold : Not Available (From meta-inspur rev: 5c917d21714fdc0aada34495d647aa95c76ed1cb) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Ida216bc4054a5bce83985fd68b51eb0e4b901385 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>