summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-06phosphor-user-manager: srcrev bump c3f56c50ff..fef578960fAndrew Geissler1-1/+1
Ratan Gupta (11): LDAP Config: Extend the support to change the BindDNPassword Create separate file for ConfigMgr class Change the name of the files to make it align with other filenames Create the default object for openldap and AD. Don't allow to delete the config object Write the config data into the nslcd.conf file Serialize the config objects Conditional enable the ldap configuration Copying the files from the mapper to the config Create role mapping under ldap config object Adding unit test for priv mapping raviteja-b (1): Implement unit test for getUserInfo function in phosphor-user-manager (From meta-phosphor rev: b68656d71d023ce823c3fc2ebf9d3ca9c747e90f) Change-Id: Ie1afa69303640648e004e2d4838cb0d9a8bf1546 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06Add build time dependency on sdeventplusMarri Devender Rao1-0/+1
For generating CSR sdeventplus library is used for adding child process id to the event loop, so that parent process gets callback after the completion of generate csr operation performed in the child process. (From meta-phosphor rev: 462e3d22b32c776989519871252a9fa68f73ff5b) Change-Id: I7f3fde38e44de96924f7c170b975aaeec7bf94e5 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06bmcweb: srcrev bump 9a6fc6fe4a..7bffdb7e9dAndrew Geissler1-1/+1
Bernard Wong (1): Redfish: Supporting ServiceRootUUID field for /redfish/v1/Managers/{ManagerId}schema (From meta-phosphor rev: e549d7f5a5cd7519a4673e3f10bb9a2cde3877b6) Change-Id: I2956e8d9391a75b468b899d6ed303702114321f8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06kcsbridge: srcrev bump 87e8e61c83..2cdc495852Andrew Geissler1-1/+1
Vernon Mauery (1): Remove old argument style and legacy service file (From meta-phosphor rev: b608eb0ecca49986288636b5c7c1a75961e6b357) Change-Id: Ib4096c7e839b6f5a32fd42207d8cc7606960d666 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06phosphor-host-ipmid: srcrev bump d6a2da07d5..5d06cc6dfeAndrew Geissler1-1/+1
William A. Kennington III (9): message/payload: Clean up check / trailing state message/payload: Ignore unchecked unpack warning during unwind ipmid: Fix group / OEM parsing message/pack: Check for outstanding bits message/pack: Support packing string_views message/pack: Allow packing payloads message: Support prepending payloads ipmid: Handler should automatically handle OEM / Group handler: Fix request passing for legacy commands (From meta-phosphor rev: 87fbfd7e5aee7320aaa478073302917473e34811) Change-Id: I599e76cb40c0a886efaa9bed4aa90408c3d27a5e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06phosphor-webui: srcrev bump e5fb403d6b..615a2f8969Andrew Geissler1-1/+1
Gunnar Mills (1): Revert "WebUI: Sensors page modifications" (From meta-phosphor rev: bcde8514e4ef80851965e17eb561dfafa07ca672) Change-Id: I134a540e402a616964ad325c6fe68a0861564bc0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06phosphor-dbus-interfaces: srcrev bump 69619ceb47..f89e6f6e8eAndrew Geissler1-1/+1
Chen,Yugang (1): add NMI Button yaml configuration Ravi Teja (1): Network:Add Link local auto configuration dbus property in ethernet interface. Sampa Misra (2): state: describe OperatingSystemState and BootProgress in README.md Enhancing OperatingSystemState property (From meta-phosphor rev: ba60623713750f79b7ab026aa586c762b0d39c8d) Change-Id: Ia1999f6018295e05e16007c55b8689be458b4d2c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06linux-aspeed: Move to 5.0.11Joel Stanley1-2/+2
This includes security and bug fixes from the 5.0.10 and 5.0.11 stable releases. (From meta-aspeed rev: fd07a439a27107425380e1b1c15dc29efecd93a8) Change-Id: If7cd75859e961233589cb2f8aed3acb9f852b9c6 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-06linux-aspeed: aspeed-video, aspeed-lpc-controlJoel Stanley1-1/+1
Jae Hyun Yoo (4): media: aspeed: remove IRQF_SHARED flag media: aspeed: reduce noisy log printing outs media: aspeed: remove checking of VE_INTERRUPT_CAPTURE_COMPLETE media: aspeed: refine interrupt handling logic Vijay Khemka (1): misc: aspeed-lpc-ctrl: make parameter optional (From meta-aspeed rev: c4a04dc04de86117c53f86fcddb85a4c9a48bda1) Change-Id: I5c75249e84cde255e7e1cdecb99be9a74d0fe706 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-03README: Document additional required Fedora dependenciesAndrew Jeffery1-1/+2
Resolves openbmc/openbmc#3404 Change-Id: Iaf59bbe6bcc3c30a6e90ebd706780c7c28873c9c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2019-05-01ipmi-fru-parser: srcrev bump 7d740a670b..fcb1a25618Andrew Geissler1-1/+1
Alexander Amelkin (1): Extend the list of supported dbus property types (From meta-phosphor rev: 79dbf401fbd2145f46dff11877fe76251de3ba74) Change-Id: I856566ca5af9d1d438e17811931b85e01a6ab8d1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-01bmcweb: srcrev bump fa5053a6b1..9a6fc6fe4aAndrew Geissler1-1/+1
Ravi Teja (1): Redfish(Network): Implement IPv6DefaultGateway support (From meta-phosphor rev: 9f655a54f6f1ba6df47b4003d02328fa03aedbed) Change-Id: Iec6e3b45b158416f9410c60b24ad2ac08967dd33 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29linux-aspeed: Move to 5.0.9Joel Stanley1-2/+2
This includes security and bug fixes from the 5.0.8 and 5.0.9 stable releases. (From meta-aspeed rev: cf86c821904e6dfaa71faa82b956e43ebb73ebdf) Change-Id: I263dd3103fe284ec5726131201835b8a032ee7af Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29linux-aspeed: Q71 and Zaius updates, P2A driverJoel Stanley1-1/+1
Patrick Venture (7): dt-bindings: misc: aspeed-p2a-ctrl: add support drivers/misc: Add Aspeed P2A control driver ARM: dts: aspeed: Add aspeed-p2a-ctrl node ARM: dts: aspeed: quanta-q71: Enable p2a node hwmon: (pmbus/isl68137): Remove default y in Kconfig dt-bindings: Add ir38064 as a trivial device dt-bindings: Add isl68137 as a trivial device Robert Lippert (2): ARM: dts: aspeed: zaius: update 12V brick I2C address ARM: dts: aspeed: zaius: fixed I2C bus numbers for pcie slots (From meta-aspeed rev: ca37780a66f05676f4015b3b435536e68bb6a79d) Change-Id: I67a6b885adc5649f27c0e386773d4fcbd62fb5e5 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29swift: Add pcie temp sensor hwmon configsMatt Spinler3-0/+14
Swift uses 2 TMP275s to monitor the PCIE inlet temp, one between cards 0 and 1, and the other between cards 2 and 3. They are both on I2C bus 12. Tested: Built an image and checked rootfs for the config files. (From meta-ibm rev: bd2a3a2a9b6bde8207f1d4f4a81ffab27f0b14b1) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I51c449ad9c2a212693d28ed82e79f913bb096e29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29phosphor-host-ipmid: srcrev bump 461f464527..d6a2da07d5Andrew Geissler1-1/+1
Vernon Mauery (1): add rqSA ipmb request source address (From meta-phosphor rev: 648c88d0a05e1e2321f3eccd826789a6b8674966) Change-Id: Ieaa5125d08af82612611a0e948dc11c66a65c075 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29phosphor-software-manager: Remove the UBI service filesAdriana Kobylak11-100/+0
These service files are now moved into the local phosphor-bmc-code-mgmt repo. Tested: The service files are installed in /lib/systemd/system/ and code update on Witherspoon is successful. (From meta-phosphor rev: 3e90846b856b38154c29a9c67b48e022f2f2cef0) Change-Id: Ica09f30f27114bf2cd0ab8d6feeaa1aef41303be Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29Make phosphor-ipmi-net parameterized per ifaceVernon Mauery4-43/+27
The end goal is to run one netipmid bridge per interface, so that stopping that bridge will effectively shut down RMCP+ to that interface. Including this package (phosphor-ipmi-net) in a yocto build will automatically enable RMCP+ on the default interface (eth0). To change the default interface enabled, set the value in a bbappend: RMCPP_IFACE = "eth2" If more than one network device for RMCP+ is needed, then a bbappend should be added to enable netipmid on that device using syntax like as follows: phosphor-ipmi-net_%.bbappend: ALT_RMCPP_IFACE = "eth1" SYSTEMD_SERVICE_${PN} += " \ ${PN}@${ALT_RMCPP_IFACE}.service \ ${PN}@${ALT_RMCPP_IFACE}.socket \ " (From meta-phosphor rev: e46895beb45726a2154e66f30d5f41167014d127) Change-Id: If856e938f5be95ca450bb4403d1c20ebcf11a7c6 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-phosphor: Remove obmc-pydevtoolsBrad Bishop1-18/+0
This application(gpioutil) isn't picked up by any layers anymore, and its functionality is deprecated by libgpiod. Drop recipe. (From meta-phosphor rev: 622a6d45200645c077f13091d45366986a2d5051) Change-Id: I931af98e0dc0252caebd4c9a4d7e361a968b0d8d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-phosphor: bmcweb: use in-repo systemd unitBrad Bishop3-23/+1
Use the systemd service and socket unit files provided by bmcweb. (From meta-phosphor rev: 8a5dc119cb1136a5a475c4b8a6b63ae1a6a13529) Change-Id: Idec60b62def5df7238124f87d105765d6065bc63 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29bmcweb: srcrev bump b97b9c3600..fa5053a6b1Andrew Geissler1-1/+1
Gunnar Mills (1): Fix empty IPV4 gateway error (From meta-phosphor rev: 93993bd7f500b957e33222fee027d564e4c9b029) Change-Id: Ied9357197623620eac4704428952dd21f847c2f9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29phosphor-bmc-code-mgmt: srcrev bump 5d9302860f..a8eb78106cAndrew Geissler1-1/+1
Adriana Kobylak (1): Move UBI service files into repo (From meta-phosphor rev: a20c299d01875c4cf3f2ab8ef5bef5156cf546e6) Change-Id: I841e0a68aa6d3c75af2160f020823b377e0aa937 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29dbus-sensors: srcrev bump c0ca7ee506..bdbde9679fAndrew Geissler1-1/+1
Cheng C Yang (1): Change PSU Input Voltage Max Value (From meta-phosphor rev: 2fb1da394451d7018dc8d280688fc977f3fa2f0e) Change-Id: I38e3b5a8849f88c96385825278c94db144578efa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29phosphor-objmgr: srcrev bump e2359fb72d..5eddf44006Andrew Geissler1-1/+1
Matt Spinler (7): Check for missing endpoints when adding assocs Add testcases for addPendingAssociation Remove an endpoint from the pending assocs Check for pending associations Add function to find assocs based on endpoint Handle losing association endpoints Use config.h constants (From meta-phosphor rev: 6a01a5127b330a57d5a412e4e8e06b2235bf5dc8) Change-Id: I4abe8c5cbd4c99107a733991a34011987937b6fb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29Enable reverse-path filter for IPv4Vernon Mauery2-0/+9
/proc/sys/net/ipv4/conf/*/rp_filter enforces filtering of packets to make sure that only packets that match the route can be sent on an interface. This is recommended for reducing IP spoofing as will as allowing for proper UDP behavior when multiple configured NICs have the same subnet. This is needed for the upcoming change of phosphor-ipmi-net, were its socket file uses the bind-to-device option to be able to bind each instance to a single network interface. This allows each RMCP+ bridge to accept only incoming packets on that interface. But in order to do this with two NICs on the same subnet, reverse-path filtering must be enabled in the kernel. (From meta-phosphor rev: 62a4b6cde3046a2439bdcef79a6ac85fd6684194) Change-Id: Ia4ba2523ded0d18d99f8be2fedd42666e96c34d2 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-aspeed: MACHINEOVERRIDES fixupsBrad Bishop6-18/+9
OE-Core adds the value of SOC_FAMILY to MACHINEOVERRIDES, so explicitly setting a MACHINEOVERRIDES is redundant. Drop the explicit ast2400/ast2500 MACHINEOVERRIDES and use the OE-Core provided aspeed-g4 and aspeed-g5 instead. After the redundant ast2400/ast2500 overrides are dropped, the ordering of the values in MACHINEOVERRIDES is wrong: MACHINEOVERRIDES="aspeed-g5:aspeed" This means that: FOO_aspeed = "bar" will override: FOO_aspeed-g5 = "baz" which is the opposite of expectation. The ordering is a function of config file include order and choice of the predot vs postdot operator. Use the same include ordering and dot operators as meta-fsl-arm to get the overrides to appear in MACHINEOVERRIDES in the correct order such that the expected semantics are provided and: FOO_aspeed-g5 = "bar" will override: FOO_aspeed = "baz" Drop explicit setting for FILESPATH as OE-Core adds OVERRIDES to FILESPATH and bitbake will find the appropriate defconfig without them. Move defconfigs to aspeed-g4 and aspeed-g5 since the ast2400 and ast2500 are being removed. (From meta-aspeed rev: 85d614a69c1e752fb4d5917499500c37c4f745ac) Change-Id: I63c0f71f14bf9145e7e769902be87bb267a78a30 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29intel-ipmi-oem: srcrev bump fc5e985b69..be560b09e9Andrew Geissler1-1/+1
Zhu, Yunge (1): Add oem command "cmdSetFaultIndication" (From meta-intel rev: 98e348b05d4fb3dfe72d8fafe932b811ff273bf7) Change-Id: Id98236a61ed62a63ab4ea06665f429bc9972f747 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-romulus: add occ-control-config-nativeLei YU3-0/+25
openpower-occ-control requires a sensor header file generated from occ_sensor.yaml. By default it uses an example yaml, which does not fit for Romulus. Add romulus-occ-control-config-native.bb to use its own occ_sensor.yaml, so that the package uses the correct config. Tested: Verify the build uses the correct config generated from Romulus's occ_sensor.yaml. (From meta-ibm rev: 54abf3c0be5618333cb37faebc55af48aa2a872b) Change-Id: Iaa3adf0d20e5b6d080866dd1b19fa3ee7f4d7369 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-ibm: spoon/palmetto: op-apps: remove fansBrad Bishop2-2/+0
obmc-control-fan is no longer included by the OpenPOWER layer, so there is no longer a need to explicitly remove it here. (From meta-ibm rev: 446d589ce72cebf974ffaca2dca61de2823a140d) Change-Id: Iba5fc8a745ffb128b83903dc0ad3ad787ebbcd21 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-29meta-ibm: witherspoon: remove legacy sync configsBrad Bishop4-13/+0
The sync_inventory_item.py script has been replaced by first-boot-set-mac.sh. first-boot-set-mac.sh doesn't sync any uuids but that feature is not required on witherspoon anyway. Remove the config files for sync_inventory_item.py. (From meta-ibm rev: e16c109bcd0d38aa5b09ad09d6d31e534f6b198b) Change-Id: I81553ef7b5ceb13125935c3167f70606e49725b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26entity-manager: srcrev bump 6d2e9edded..73a7428b66Andrew Geissler1-1/+1
Cheng C Yang (1): Add config of sensors and FSC for more PSUs. (From meta-phosphor rev: 3f8b40d3001f38302e6eea3db97266f221279c36) Change-Id: I52d9c182b3df4d364ed2e17eb77518df8aa220fc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26phosphor-objmgr: srcrev bump 8f876a5a98..e2359fb72dAndrew Geissler1-1/+1
Matt Spinler (2): Move common types into a common header Gather association maps into a single structure (From meta-phosphor rev: ab1f671f69f03a27a21fc3d8dd44b326d870d86e) Change-Id: I28c30494bde1ec227bbfb9e33bf549b8f60fa36b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26phosphor-dbus-interfaces: srcrev bump 1bd7087aba..69619ceb47Andrew Geissler1-1/+1
Ratan Gupta (2): Object(Enable): Add the NotAllowed returned error LDAP: Update the documentation (From meta-phosphor rev: 1d029a8a509222a175ef3e47b9b99c35749a9b3b) Change-Id: If0b843f6de9967383e3bc759c00f6e2fcae74e81 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26meta-palmetto: Update occ sensor object path in ipmidLei YU1-1/+1
As openpower-occ-control@1d69e19 introduce the ability to rename the occ object path, Palmeto could use "occ0" instead of "occ_3_0050" as a better name. Update ipmi sensor config to use the updated occ object path. Tested: Verify occ active sensor is set on host power on, and occ hwmon sensors are working OK. (From meta-ibm rev: 17c4a225e74f6b093cf01ca0ecc0c32ae19bc1f8) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Iafd029cc82047e047a0dea45ace1655a5bec776d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26meta-palmetto: add occ-control-config-nativeLei YU3-0/+22
openpower-occ-control requires a sensor header file generated from occ_sensor.yaml. By default it uses an example yaml, which does not fit for Palmetto. Add palmetto-occ-control-config-native.bb to use its own occ_sensor.yaml, so that the package uses the correct config. Tested: Verify the build uses the correct config generated from palmetto's occ_sensor.yaml. (From meta-ibm rev: 12a660de3fff453e2f24ee2cc98b387fa7b8c541) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ifbf6ffb0c69e6d827410b8370c6481bb953d10d0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26swift: Add max31785 device to hwmon for bring-upMatthew Barth3-4/+40
To support fan control for swift system bring-up, the max31785 device needs to be configured for hwmon to expose on dbus. Tested: All max31785 configs and service files exist in the image (From meta-ibm rev: 6dec46d2e34e1db46dff141f4495a4aa665af997) Change-Id: Ib7ebea8cc376f1fb3e2e340d56512440917f1420 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26Swift power supply presence detectsMatt Spinler3-1/+6
PS0 uses the same GPIO that witherspoon uses, but PS1 uses GPIOR7 (143). Tested: Built both images, made sure the correct conf files showed up in rootfs. (From meta-ibm rev: c4daa64b614ff35fcefcd6eabcc45f2ac3e54776) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia89e9dbe32db84b265087b775716488da0d48b43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26swift: Add fan control for bring-upMatthew Barth6-6/+138
To support the swift system bring-up, install the cooling type and fan control application with minimal configuration to run fans at full speed(9500 RPMs). Tested: Cooling type included in image and configured correctly Fan control included in image and configured correctly (From meta-ibm rev: 2eb5a13421e2c5e5bc0a0cfac9de87f0cd8c9c59) Change-Id: I3359cf0444c1b4af8fae1b7f51ef608e4dc2c4c2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26wspoon: Use machine in file path append for fansMatthew Barth15-7/+8
In preparation for additional systems under the witherspoon layer, add the machine name as a prefix to the phosphor-fan* configuration directories. This allows additional machines' phosphor-fan* configurations to be placed in this layer. Tested: Witherspoon phosphor-fan image still contains applications & phosphor-fan applications are correctly configured. (From meta-ibm rev: a63359eebc376e3340bdbc34fc4c83410172a5ae) Change-Id: I9d711cb68e4563e5a2c6dc88d12d2071364bf8ae Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26Point to the real Swift MRWMatt Spinler1-3/+2
Tested: The image builds. The generated files look like a good start at least. (From meta-ibm rev: affeacabade12b73a4e009c7dd15d1f261db8528) Change-Id: Id80835c09cde4e6b61d40634406c3fa0e3752097 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26wspoon: Add machine overrides to hwmon devicesMatthew Barth15-10/+13
In preparation for additional systems under hte witherspoon layer, add machine overrides to the hwmon devices and service configurations. This allows additional machines' phosphor-hwmon configurations to be placed in this layer. Tested: Witherspoon phosphor-hwmon image still contains all device configs & services to be installed. (From meta-ibm rev: 84b1f2e70034311853f4e417b9a29687a512cc97) Change-Id: I28685d71bb99cd23b8a0acc34bfd117dbdef8926 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26obmc-libobmc-intf: Add Swift gpio definitionsAdriana Kobylak3-1/+65
Add gpio definitions for the Swift machine under a swift subdir. Move the witherspoon gpio definitions under a witherspoon subdir. Tested: Built swift and witherspoon and checked that the file rootfs/etc/default/obmc/gpio/gpio_defs.json was correct for each machine. (From meta-ibm rev: dc61626406fc94962d31742832be83e574a28ee1) Change-Id: I812d1c0547744967d375984552f03f4702439de3 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26avsbus-control: Add system-specific scriptsAdriana Kobylak7-6/+96
The avsbus-control scripts differ between different machine configurations. Rename the existing ones to witherspoon-* and add the swift-* ones. Install the appropriate script depending on the machine being built. Tested: Built swift and witherspoon and verified that the scripts rootfs/usr/bin/ were the ones for the machine being built. (From meta-ibm rev: d95d6afadd61c6ab8276736d719682775d7880d0) Change-Id: Ib2ee438a0375de0d69dec7ae005118c8fdb46845 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-26phosphor-ipmi-host: Create system-specific hardcoded.yaml fileAdriana Kobylak3-88/+96
Witherspoon has 2-rotor fans, while Swift has single-rotor fans. Move the sensors for the 2nd rotor to a witherspoon yaml file. In the future, any system-specific sensors can be added to the witherspoon/swift_hardcoded.yaml file Tested: Built swift and witherspoon and verified only witherspoon had the new witherspoon_hwmon_sensors.hardcoded.yaml in the build directory. (From meta-ibm rev: 160a82111e5ee12066204d71bdbcb6be580e897b) Change-Id: I31d71c59abfddbc00f97212abf3c126c4ce96a75 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-ibm: op-apps: remove obmc-button-resetBrad Bishop2-2/+0
There isn't an obmc-button-reset package in op-apps in the first place, so this line is a noop. Remove. (From meta-ibm rev: 748c1192bf2f2fa6be2cdf5e6f3b88829f28835b) Change-Id: If34a02d6603834919ab969579c0fca0e0ab28f1a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25Add witherspoon inventory associationsMatt Spinler2-0/+1406
Add the inventory association definitions for witherspoon. With these, phosphor-inventory will create the org.openbmc.Associations interface on the specified inventory paths such that the object mapper will create the association D-Bus objects. These associations are used to associate inventory paths to their fans, sensors, and LEDs. (From meta-ibm rev: 1b3a22abadee18beae8307d1b76e701733281717) Change-Id: I63d65ce81ee9d0dabe7c2f99d919bd7b115ded66 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25rebase ipmitool to use upstream gitVernon Mauery3-388/+49
Upstream ipmitool has been under active development for a while now. This includes adding the D-Bus interface to ipmitool as an option as well as a mechanism to set the default interface. So now, building ipmitool for openbmc is possible directly from upstream. The new patch that is included in this commit has been pushed upstream and in under review. It is needed to build in environments that don't have internet access. Tested-by: build ipmitool, run it on the BMC and see that it works bitbake ipmitool; scp <>/ipmitool <....>:/tmp; /tmp/ipmitool mc info /tmp/ipmitool -h ... Interfaces: open Linux OpenIPMI Interface imb Intel IMB Interface lan IPMI v1.5 LAN Interface lanplus IPMI v2.0 RMCP+ LAN Interface serial-terminal Serial Interface, Terminal Mode serial-basic Serial Interface, Basic Mode dbus OpenBMC D-Bus interface [default] (From meta-phosphor rev: c89d95e58d44d0f8e955892b59da2ac0c2beaf91) Change-Id: I00c15fb8693fca13cdd174661f924e7af684d19d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-swift: Initial commitAdriana Kobylak2-0/+27
Create a new machine for Swift, a POWER9 system. It is initially based on Witherspoon but with 128MB NOR flash chips. - To build this machine: export MACHINE="swift"; \ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE MACHINE"; \ bitbake obmc-phosphor-image (From meta-ibm rev: 12b1187ecfcf7d6438cb026d09f2c1b7c6e06cbc) Change-Id: I304ae026e1b2e027776981865b3f483d0898000f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25witherspoon-128: Initial commitAdriana Kobylak3-0/+762
Create a machine/witherspoon-128.conf file to model a witherspoon system with 128MB flash chips. * New kernel device tree (witherspoon-128.dts). * Bigger read-write filesystem. Remove the default from the witherspoon layer (not needed as 6MB is the default) so that the size value can be overwritten by the witherspoon-128.conf. - To build this machine: export MACHINE="witherspoon-128"; \ export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE MACHINE"; \ bitbake obmc-phosphor-image Witherspoon-128 is a system based on Witherspoon but with 128MB flash chips. Create a device tree for this configuration. Since this system is just a bringup vehicle, the device tree will be carried as a patch instead of merging it in upstream linux. (From meta-ibm rev: 903fd3532aaa967ddc7124095304f50cd4c9557c) Change-Id: If02e8ad32fc2bff336d16c18513f2c238b28c28a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25meta-phosphor: python: drop json encoding patchBrad Bishop2-129/+0
The only code that needed this patch was phosphor-rest-server, which no longer has a recipe in meta-phosphor. This reverts 39beab95c635374ca0e9aa50fdce2c02e85efdca. (From meta-phosphor rev: db6d01e2722e38b0b5e55d06950436312456bf27) Change-Id: I08b381e29d6c6d3cdd510305c628a4e3da68fb03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>