summaryrefslogtreecommitdiff
path: root/meta-inspur
AgeCommit message (Collapse)AuthorFilesLines
2020-07-10fp5280g2: Load LED manager with JSON configurationGeorge Liu3-2/+65
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>
2020-06-05inspur: fp5280g2 : Add mctp/pldm packages to fp5280g2George Liu9-1/+205
In order to ensure that normal ran of the mctp/pldm, temporarily add these to the fp5280g2 machine. Tested: Built successfully on fp5280g2 and mctp/pldm ran well. (From meta-inspur rev: 82e0a6261199c73158f2244d819c2d9dce4e491b) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia344ba4467b3334e138f50f8b8c902d052e76315 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29inspur: fp5280g2: Add fp5280g2 psu fw update functionChicago Duan4-1/+40
Add phosphor-psu-software-manager and use inspur specific binary tool to update fp5280g2's psu firmware. (From meta-inspur rev: 38802b27a5b96f2d406f17805e77971fc76e46ec) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I366453eda485e6f96cbb6ef8672ea4011abf463e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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>
2020-05-13meta-inspur: Add George as MaintainerGeorge Liu1-1/+1
(From meta-inspur rev: 3c7ca17e5a52696781a45c57aa8ace28ed0cd196) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If42108455174dd2108df35193eaf1e417ecff865 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-inspur: layer.conf: add dunfell compatibilityGeorge Liu3-3/+3
Tested: Built successfully on fp5280g2 and on5263m5. (From meta-inspur rev: 9f97e52a7b7f5366732be3ffd73e08266f67dbb2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I55333bd59c44c6280ad54b07c164e74b5eb39a76 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-12fp5280g2: Fix missing power-supply-monitor configsGeorge Liu1-0/+2
Since the SYSTEMD_ENVIRONMENT_FILE_${PN} defined in obmc-phosphor-systemd.bbclass, and the phosphor-power_%.bbappend have not inherit obmc-phosphor-systemd, so all of the power-supply-monitor-*.conf are not installed. Tested: Built fp5280g2 successfully and includes the power-supply-monitor configs. (From meta-inspur rev: 05c197192a813e5d276e9b2c0c7d4ac19f726b7d) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Icd31b517536cd77ced911deb796c7c7549b0b480 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18fp5280g2: conf: Add meta-webserver to bblayersGeorge Liu1-0/+2
Add meta-webserver to use nginx recipe. (From meta-inspur rev: c89bec4b840664cdb60e084f65067efa60604c22) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6559faef3ea189830835688d0a3d779481b4d1d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07fp5280g2: Add phosphor-power recipeGeorge Liu5-1/+53
Add psu.json and power-supply-monitor-*.conf for fp5280g2. Parsed PSUs asset information via pmbus driver and exposed properties to D-BUS interface. Tested: Verified and built successfully on fp5280g2 and obtained correct PSUs asset information by busctl command. busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "" emits-change writable .Model property s "PS-2162-5L" emits-change writable .PartNumber property s "" emits-change writable .SerialNumber property s "6L5LX01173722Z" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "powersupply0" emits-change writable xyz.openbmc_project.Inventory.Item.PowerSupply interface - - - xyz.openbmc_project.Software.Version interface - - - .Purpose property s "xyz.openbmc_project.Software.Version.V… emits-change writable .Version property s "1.000-1.00" emits-change writable (From meta-inspur rev: da7f477ed1ae83cabc291349ee6609ca1890caf5) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ifaad67483f7429223d2066ca233ede58dfbc3149 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-09fp5280g2: Enable TFTP updates via RedfishGeorge Liu1-0/+3
TFTP is already support within bmcweb via Redfish and by default that was disabled. We need to enable it by default on fp5280g2 machine Testd: Updated successfully via the following Redfish curl -k -H "X-Auth-Token: $token" -X POST https://${bmc}/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate -d '{"TransferProtocol":"TFTP","ImageURI":"<ip address of TFTP server>/obmc-phosphor-image-fp5280g2-20190924042243.static.mtd.tar"}' (From meta-inspur rev: a39ad069b6d9b0f9021495661da077a07ead1132) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ic6b2e44b0680e4f4472e702aa51bff1416f6b944 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-08fp5280g2: Fix FRU property interfacesGeorge Liu1-18/+18
Add a specific interface for the Cpu and Dimm`s FRU properties and find all Cpu and Dimm`s paths below the `/xyz/openbmc_project/inventory` path thought this interface. Testd: Saw the addition of `xyz.openbmc_project.Inventory.Item.Cpu` or `xyz.openbmc_project.Inventory.Item.Dimm` interfaces via the D-Bus command. busctl introspect xyz.openbmc_project.Inventory.Manager /system/chassis/motherboard/cpu* or busctl introspect xyz.openbmc_project.Inventory.Manager /system/chassis/motherboard/dimm*. (From meta-inspur rev: 65a4f861c7adbbbc6b4ab8308beaea1c8b4fab5f) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I8d89316be4308d6eb57cf8899d44cc78df5a9b6d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-24sync MAC from VPD to shared NICGeorge Liu3-3/+7
There are two MACs on the fp5280g2 machine. eth0 is the shared NIC and eth1 is the dedicated NIC. Testd: Correctly read MAC for eth0 and eth1 from eeprom and expose it to D-BUS interface. (From meta-inspur rev: 18417299bbe04a1728ff58f588f26c6a16d06bb8) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id2c7a9551e5c0fc2115a7021a103095439dc242f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23meta-inspur: layer.conf: add zeus compatibilityJohn Wang3-3/+3
(From meta-inspur rev: de520bd0ba379715784a0060ca941c3c272d6054) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I4e64add8166b48b3528473a1ef86fcde5c3dc550 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23fp5280g2: Add led manager configureChicago Duan3-0/+40
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>
2019-09-16meta-inspur: Remove references to INSPURBASEBrad Bishop5-6/+4
INSPURBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-inspur rev: 052786ad38fa172500a9f641ed26e95e25e6fbc6) Change-Id: I5394fc045042a30bdc958a6e528d9a7f947d49b9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-12fp5280g2: Add recipe file for phosphor-gpio-monitorGeorge Liu5-1/+27
Add the power supply monitor application and configuration files Tested: Built phosphor-gpio-monitor and ran successfully on the fp5280g2 via dbus interfaces. (From meta-inspur rev: ea9932d3b56af3ff9a12689731bd8081b66af856) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5e365d7a979834f093b2a1b978ce22624be5bd8a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-06fp5280g2: Add ipmi configs for psuGeorge Liu1-1/+169
Tested: Manually verified sensor and sel are corrected on fp5280g2 for psu via ipmitool commands. (From meta-inspur rev: 74822749ef5e8a7197658af3eb1715cd85255d6d) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I0a0fe8d837be3817b6dc7048d35ffda7892e62c7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-02fp5280g2: phosphor-hwmon: Add power supply sensors configsGeorge Liu3-0/+10
Tested: Build fp5280g2 board and load on the target hardware successfully and manually verified via DBUS interface (From meta-inspur rev: cb39b871faa21244a3d1bb55f8d153ba87bfd3a6) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3adb14da90f72bdbac0cefcf64ff1b8a274dd916 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-23fp5280g2: support image verificationXiaochao Ma2-0/+2
Enable BMC and PNOR signature verification. Tested: Upload packages containing signatures and publickey through the WEBUI, and successfully upgrade firmware (BMC and PNOR). (From meta-inspur rev: e4ceaedefec1e9aee9ac5ca020377e9ff197329f) Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I54133503f96f119b1464bca7a93045c293349ffc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23fp5280g2: Setting the mac address on first boot.George Liu2-1/+2
Tested: Built a fp5280g2 image and manually clear the `ethaddr` env in u-boot, and verify the mac address is synced to u-boot. (From meta-inspur rev: 3a9f4412953d415beec3208b0c63846a7badf6cb) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I80f38705b7773bf5d2feb0aebebf1a9feae3112f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23fp5280g2: Add vpd configsGeorge Liu7-3/+69
Add vpd configs for fp5280g2, by adding the following specific configs for fp5280g2 to replace the default ones. openpower-fru-inventory openpower-fru-vpd-layout Tested: Manually update eeprom and verified vpd information are corrected on fp5280g2 via dbus and ipmitool commands. (From meta-inspur rev: 65f5494753ac5d477fb96aa163c0a8f633aaa078) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I311082d53a1339960d17db2f501c5c619b965fb8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-17fp5280g2: enable distro feature to support MAC2John Wang1-0/+1
Enable the distro feature phosphor-aspeednic-use-mac2 to support MAC2 This solution is not desirable but it works for now, For details please refer to https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/23415 (From meta-inspur rev: 1232c626caf2b991f0eabf8de0f6c3d46d023c45) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Id8bf7dfff51e007288a3120163a882050ab84116 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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-10fp5280g2: Add ds3232 & pca953x kernel configJohn Wang1-0/+2
CONFIG_RTC_DRV_DS3232 is depended by "dallas,ds3232". CONFIG_GPIO_PCA953X is depended by "nxp,pca9555". Tested: Built fp5280g2 successfully and manually verified via `bitbake -c menuconfig linux-aspeed` (From meta-inspur rev: a79eb50fea9f49097d289652afe6ec15ed2051db) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I5b9c970d02fe587ef39a9a5d6f92b76de4334190 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-05meta-inspur: Add MAINTAINERS fileJohn Wang1-0/+47
(From meta-inspur rev: 072b7d4889bce9c967bbde393334bd63e13052bd) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I93cdd9470db20ebc800aaf5ece95721d295b8f9c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-05meta-inspur: Add meta-fp5280g2 machine layerJohn Wang9-0/+78
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>
2019-06-05meta-inspur: Move recipes under meta-commonJohn Wang10-165/+10
Since meta-common is an x86 platform related meta, it would cause ambiguity if other platform related machines are created. In order to avoid ambiguity, recipses under meta-common are moved to meta-on5263m5, the meta-common folder is deleted. Tested: export TEMPLATECONF=meta-inspur/meta-on5263m5/conf source openbmc-env bitbake obmc-phosphor-image Build successfully (From meta-inspur rev: 295f5c5f6fbec43e8d5727e9a50dcba58e951cbd) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Iffacaf8131ec83362ec453a51818f6901f1f80e5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-30on5263m5: set layer compatability to thud&warriorJohn Wang1-1/+1
(From meta-inspur rev: 92714432cefa85eec0d76da5ef6a40b884869d6e) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I62d42717772b12aa0246cb59f7db480a6441ff8c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-inspur: inspur-apps: drop obmc-control-fanBrad Bishop1-3/+1
This application isn't used on Inspur systems. Drop the package from the rootfs. (From meta-inspur rev: 8503edbc5469171eb610e03521f2e5fd80262250) Change-Id: Icaac10976e6c0da3bcf03789746db8e5563e9e2e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-07meta-inspur: layer.conf: Add warrior compatibilityPatrick Venture1-1/+1
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-inspur rev: ba5f0c7441a2ad1dd87fb1a3c37ae7ca6e66df34) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I99469a26e5cab061b07485a870692bfde220a0b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-29inspur: Remove obmc-button-power/resetJohn Wang1-2/+0
obmc-button-power/reset are deprecated and meta-inspur has not used obmc-button-power/reset,so remove them. (From meta-inspur rev: 856989e7af1f55d6f43217237c8799bd212eeeca) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I154695ded3c9b26b9efcca70a606559b9053aa9b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28inspur: react to phosphor-rest removalBrad Bishop1-4/+0
phosphor-rest-server and phosphor-gevent are no longer the project defaults so no need to expliclty remove it any longer. (From meta-inspur rev: fefe7af70e16e76040f08ff6f7870f7306db591c) Change-Id: Ia1cd2f8f6add5652faaf527449885faf47b9c2c0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-inspur: on5263m5: Update I2C hwmon paths for the 5.0 kernelPatrick Venture4-3/+3
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-inspur rev: 92609a93bf06ff5f71983595cf7edc4523676043) Tested: Verified paths visually, but not tested on hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I37efb06fe1b59a69939560c7aba71e17354b2b81 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-05packagegroups: Remove obmc-mgr-systemAdriana Kobylak1-1/+0
The system manager (obmc-mgr-system) which provided GPIO functionality is being deprecated and it's not in use anymore: * GPIOs have moved out of D-Bus (see openbmc/openbmc#3332). * Tools depending on its GPIO functions have been updated to call local functions instead. * The systemd service files have been updated to not depend on system manager. (From meta-inspur rev: dd16cd4cce9956f5a7e1115bc268bcac4a3647f5) Change-Id: Id87ff99546c55947be3db006583a99edf2b171e7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-01meta-on5263m5: Add inspur-uuidJohn Wang1-0/+27
The phsophor-led-sysfs needs only one pin to control the led(linux led subsystem). But inspur's motherbaord needs 2 pins to manager the identify-led(only identify-led) gpio_control 1-0-1 keep 0>50ms toggle the led gpio_read get the led status(0 means on 1 means off) Testd: Tested on the on5263m5 board (From meta-inspur rev: c8f86c0b5d40b1fa6e7ecba096a148187859e089) Change-Id: Ia3677a8e37b8888b8c679090b58bc2740763095e Signed-off-by: John Wang <wangzqbj@inspur.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>