summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2019-07-12fp5280g2: Mirror host console to UART1XiaochaoMa2-0/+6
Tested: Verified bmc uart1 mirrored host console on fp5280g2. (From meta-inspur rev: 71d09b2e39900ff6061cfdef5f4ff34131a81659) Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I90e0a1e5c328071c3bcea9f94de6d6a92db81265 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-04fp5280g2: Add ipmi yaml configsGeorge Liu9-0/+5284
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: Add checkstop-monitor gpio configurationJohn Wang2-0/+5
Tested: Built fp5280g2 and verified that obmc-host-crash.target was reached after error injection. (From meta-inspur rev: 7429376f373dfe4b51c5ea24f001bb0b47516e6f) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Id0417446c9b40bdd2ebc5e5e9594b122729b0fb1 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>
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 Wang4-1/+39
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>
2019-06-20fp5280g2: Add occ sensorsJohn Wang6-1/+168
Tested: booted a fp5280g2,manually binded the OCC driver when OCC activated, and saw core-temp,dimm-temp and power sensors via REST API. (From meta-inspur rev: f24af46e265e6541f26fb88c650e5ef681e51898) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I5b99d406159b080a2d6be53f23250ef356e8bfe2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-20fp5280g2: packagegroups: Add phosphor-webuiGeorge Liu1-0/+1
Add phosphor-webui to enable WebUI on fp5280g2 machine. Tested: Built and ran successfully on the fp5280g2 and login successfully via WEBUI. (From meta-inspur rev: 97dcbcdb072692c1bdac020f646bb67ced30819a) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I0eb3a3ece49ccedf4181a67e430b13e287749fb5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-18fp5280g2: Add sensor configsGeorge Liu9-0/+179
temperature sensors inlet and outlet of tmp112, adc voltage sensors and fan-tach sensors. Tested: Built fp5280g2 board and loaded on the target hardware successfully and manually verified via DBUS interface. (From meta-inspur rev: f3c4afcb935e605f727e0552842e418db4eef6fc) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I231d14195bffac5451c98bfbabc4ecd836aead67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-11fp5280g2: Enable host UART VGA outputJohn Wang1-1/+1
This allows the machine to have the host UART output rendered to a framebuffer and output on the BMC's graphics device up until the host loads it's PCIe VGA driver. Tested: Built and ran on a fp5280g2,saw that the host UART output displayed on the monitor. (From meta-inspur rev: 89bd7c2a383d1318ef885c50f9cc4ee5b2af1174) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Ib7c37a750b508aee314e1b3360733fe8b3eef311 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10fp5280g2: Add Mailbox DaemonJohn Wang2-0/+2
Tested: Built fp5280g2,checked that mboxd ran successfully and fp5280g2 could boot host. (From meta-inspur rev: 49c9e7ea09b81174f21091a9d0108a9f7cc2d9e8) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I63f868f7cedcab661e3e47a342574ebe2842b044 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10fp5280g2: Add GPIO JSONJohn Wang2-0/+43
These GPIOs are used by the code in skeleton Tested: Built fp5280g2 and checked rootfs for the config file (From meta-inspur rev: b23e21c84ba5c7eb4184f51679f8aedb86300965) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I831f0cceb58447c6e96a422b47f8d299f9d06695 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-05meta-inspur: Add meta-fp5280g2 machine layerJohn Wang1-0/+1
FP5280G2 is an openpower machine with onboard ast2500. Tested: Built fp5280g2 and verified the bmc-image is generated (From meta-inspur rev: c6e214b8172b7cbf5567f081902a87fe52d50050) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I95b49aaf8b0ad861901406d6c6cddde27a5b2dc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>