summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon
AgeCommit message (Collapse)AuthorFilesLines
2019-10-22Merge branch 'master' of ↵Jason M. Bills123-1126/+27942
ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into HEAD
2019-10-09meta-ibm: Mihawk fan control support GPU thermal sensorBen_Pai1-0/+50
Mihawk can use GPU, so fan control must support GPU thermal sensor. Tested: Fan speed is automatically controlled when using GPU (From meta-ibm rev: 2ecdfbd9911c5df8909089d87774a768cfb06716) Change-Id: I7a62dd349a72c1c3fb6dc314e7a011afb51e75b1 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-09wspoon: Enable fan control to run at BMC standbyMatthew Barth4-7/+30
To allow thermal modes to be selected at BMC standby, the fan control application must be running. The phosphor-fan-control@.service file is needed to start fan control at BMC standby and the phosphor-fan-control-init@.service is no longer required. Tested: Witherspoon phosphor-fan-control@.service replaced in image phosphor-fan-control-init@.service removed from image fan watchdog configs appended to fan control service still phosphor-fan-control@.service started at BMC standby fan control thermal modes presented/changeable at BMC standby no function change in configured thermal modes (From meta-ibm rev: f59761e1af85b3ae6432bf0297f5cfe5be71e557) Change-Id: I4a946f58b6f0c22ebd402304ae9d8fd17a197571 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-09Change to /sys/bus/i2c/devices/... paths.Jim Wright3-9/+9
Per review comments, change device paths to symlinks thought to be more stable. (From meta-ibm rev: ad75a64d9b120f9b9ed0453acca1da2bf119e78e) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I925dac346368a0a40fa64948ac7f640c33f15019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-05meta-ibm: layer.conf: add zeus compatibilityBrad Bishop1-1/+1
OE-core master will be dropping warrior soon; zeus is the next release. (From meta-ibm rev: 9c8d1b961e1185ab2e7eabf6f6b42754fcb57db0) Change-Id: I791f06ddb596584d1a566657a38ad6eb13692521 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-04ibm: tacoma: Update air/water GPIOMatt Spinler1-0/+6
On witherspoon-tacoma the GPIO that specifies if the system is water cooled is Q7 (135). Update phosphor-cooling-type's config file appropriately. (From meta-ibm rev: 5d62a1c264bd72d9070e046a5ec10ad9b8715392) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I63131a81ecb984e7746e54a98c539a52d887e155 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-03mboxd: Only include check_pnor_format if ubi feature is enabledAdriana Kobylak1-3/+3
The check_pnor_format checks if the PNOR is formatted as UBI, so it should only be added if the UBI feature is enabled. (From meta-ibm rev: 091f26661b09c9d0a6f6b632b40cc8a84eac25c3) Change-Id: Ief252652cd347a0bf4a8f8eb592672d0e9740514 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-03meta-ibm: wspoon-128: Modify dts patch to include upstream wspoonEddie James3-745/+95
For the witherspoon-128 machine, add a kernel patch for a witherspoon-128 devicetree that includes the upstream devicetree but sets the proper flash node attributes. This will keep the devicetree better in sync with the upstream one. (From meta-ibm rev: f7f93979873dc762aa9676a4a8714806d12f638f) Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: I6ff03cbfd80a9df1b139625fb11b16b7684b4aa5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-03witherspoon: Remove uart renderer from AST2600 systemsJoel Stanley1-2/+2
It is not yet supported in the kernel. (From meta-ibm rev: 37b0344925323c3de0bd86fd00ea075e383153da) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ie09afb9a4ee1d96d7b2a70fe79ef9a85d8971ea2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02wspoon: Activate fan control events at poweronMatthew Barth1-196/+219
Utilize the pgood property as a precondition to loading fan control events based on property states other than the OCC active events. Since the OCCs are not active when powered off (pgood = 0) those events having OCCs active as a precondition are not necessary to be added. This is the first step to enabling fan control to run at BMC standby. When the default phosphor-fan-control@.service starts after power on, the pgood property value is already set to 1. Therefore this produces no change in fan control activity. Tested: No change in fan speed control (From meta-ibm rev: dadf39cdbb093e0c2566189f3e876dd3c01e13d0) Change-Id: Ieb010804d59ed318463fca1fcbdce5b5123b81df Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02tacoma: remove ipkvm from imageAndrew Geissler1-0/+1
ipkvm is not needed for the witherspoon-tacoma system. May bring this back in some day for testing purposes but there are no near term plans to use or support this. (From meta-ibm rev: 3e11092404f8512241209c4ea26988171cf35263) Change-Id: Ibb0bc351504070661179491d07f3af144cc97602 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02Add Rainier system power-on GPIO supportJim Wright1-0/+38
Add Rainer power-on configuration support and remove unused GPIOs. (From meta-ibm rev: 114bd7308d03fe7949517cd939b6dd9f575d59cb) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I29df80c5d446ebcba929cef334f06969c258f5d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02Add Rainier system power sequencer supportJim Wright1-0/+200
Add Rainier system power sequencer configuration file. (From meta-ibm rev: 65ba7af3ef1f36b4b77c5776478b59d1a7bf2334) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Ia55257b24e1e5095bbd9db24fbf67e5968c4f9cc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-02rainier: remove ipkvm from imageAndrew Geissler1-0/+1
ipkvm is not needed for the rainier system (From meta-ibm rev: 556f78bc1a4c0d02496e79754fa6fa7147c98e02) Change-Id: I79f19dca7024025efcbe25ac3a55df9bf047bcbb Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-01meta-ibm: wspoon-tacoma: Add gpio_defs.jsonMatt Spinler1-0/+58
This system's GPIO layout is different than witherspoon's. (From meta-ibm rev: e401c9560f4f7d85952d1630095df9ad784de0b2) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4ed9f1de4b25258e791a514643863494a99fde3d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-01meta-ibm: Point WPFA at phosphor-powerBrad Bishop1-2/+2
witherspoon-pfault-analysis is promoted to phosphor-power: https://lists.ozlabs.org/pipermail/openbmc/2019-August/017729.html This patch does the first migration step which is to point this recipe at the canonical repository. A subsequent step could be adding a phosphor-power recipe in OpenBMC's meta-phosphor. (From meta-ibm rev: de9a39f0a56410de046a260b51ca7ff9f162b12c) Change-Id: Ib6af976ac3b82d37f96dea4b45bba730ca98753d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-27ibm: tacoma: enable standard phosphor nor imagesBrad Bishop1-3/+3
Set the flash size so we get 128MiB images. Remove INITRAMFS and IMAGE_FSTYPES overrides so we get the standard phosphor images. (From meta-ibm rev: 1c12470b1ea14d6b043e0b214e800b974d10a36d) Change-Id: Ic941879b882aae809693a7901f3af95d23db5d05 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-27meta-ibm: Add rainier systemBrad Bishop1-0/+24
Rainier is a POWER system with an ast2600. Build instructions: TEMPLATECONF=meta-ibm/meta-witherspoon/conf . oe-init-build env MACHINE=rainier DISTRO=openbmc-openpower bitbake obmc-phosphor-image (From meta-ibm rev: 4c39d65a0b5678042a96324197c37478d81d6d4a) Change-Id: I4bf5424d99ea643f7262ae17c962d2b7dd280076 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25mihawk-xml: srcrev bump b9929ba9fd..f6ec5aa0f9Ben_Pai1-1/+1
Change tpm connector instance name to prevent wrong name in bmc yaml file. (From meta-ibm rev: dad5e4f56d827cab311d9399a48bd09c26296f15) Change-Id: I919a8faadd3036b98215b76195602c1f8fb12435 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-23meta-ibm: Remove more references to IBMBASEBrad Bishop2-2/+2
IBMBASE 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-ibm rev: 9585e66aba26c0c0c7b10ed2552f3e42aaae078c) Change-Id: Iec1fe1ed7cd96615c51d5e81be60f4189c8e970c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20Build full phosphor rootfs into witherspoon-tacomaAndrew Geissler1-0/+1
(From meta-ibm rev: fd1276f3a466058f0f0adbbbc6de889c0ceff9ac) Change-Id: I6d9db69525486e394a3e4757d3173284d0b07109 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20meta-ibm: Add sample build invocationsBrad Bishop1-2/+12
Display sample build invocations when sourcing oe-init-build-env. These are only the most commonly used combinations of distro/machine/image and not an exhaustive list of all supported configurations. Rather the purpose of displaying these is to help bitbake newcomers quickly initiate a build without having to set DISTRO and MACHINE in local.conf or wonder which image recipe to bake. (From meta-ibm rev: 85057176dc1cee6ab5c78ca949f89e5cdb555bca) Change-Id: Ie16860278d9d779fa1d53025a29609ad45dcb94f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19witherspoon-pfault-analysis: srcrev bump 817f8a7a82..b3853e2d3aAndrew Geissler2-2/+2
Brad Bishop (3): build: fix some warnings build: add support for building with meson build: drop autotools (From meta-ibm rev: 23d2feff13ee457a36f13bb6d615d0a11cc2428b) Change-Id: Icb648c74c18d203318692cfb5febc8672a437b95 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19meta-ibm: Add mihawk total power sensorBen_Pai2-2/+24
Get total power from occ. (From meta-ibm rev: 5f74841d980f274383dd0bf1c16b1c3df18142e2) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I97bf6b2229890dca1a0bda421b85b10392c2a814 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-18meta-ibm: Remove references to IBMBASEBrad Bishop15-15/+15
IBMBASE 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-ibm rev: cbbb0e5b4e44d831fce5daafd13272d401440f40) Change-Id: Ib214f92b2c384e3eb2a1f53ecf4b21034438d001 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-17Add Mihawk mac address syncAlvin Wang7-2/+65
(From meta-ibm rev: effd83bdc65d9ae8f9d000205f8d55e0c29557e4) Change-Id: I5d8fb1cd15e0b0bf2c2360631be8f259f42be98f Signed-off-by: Alvin Wang <alvinwang@msn.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-14meta-ibm: add tacoma systemBrad Bishop1-0/+24
The tacoma card is a boxelder replacement (witherspoon bmc card) with an ast2600 on it. By default use core-image-minimal as the initramfs. To add the full OpenBMC userspace set INITRAMFS_IMAGE="obmc-phosphor-image" in local.conf. Build instructions: TEMPLATECONF=meta-ibm/meta-witherspoon/conf . oe-init-build-env MACHINE=witherspoon-tacoma DISTRO=openbmc-openpower bitbake aspeed-image-norootfs (From meta-ibm rev: 77e917a89fd591bdc614aab362138f563460a316) Change-Id: I75374dbb3a01a66b2c70d96e56587a818262ebf8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-12Fix mihawk fan event build errorBen_Pai1-203/+282
Now the mihawk fan event will build error on openbmc master. So I made some changes in order to solve the problem. Tested: Verify fan control functionality of mihawk image (From meta-ibm rev: 3e3ec10428cabe6917ea982159565024fcd21f9b) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I84aa7e8fd85dba15a5a84bbf7944bb286e5ba9ae Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-12meta-ibm: Add mihawk ipmi yaml.Ben_Pai6-3/+612
Add mihawk's ipmi sensor and fru yaml. Tested: Use ipmi command to get the sensor list and fru data. (From meta-ibm rev: 05c9a2734de75271837313f0e1794c58df50e990) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: Ic85af9b0cc1b44a3377fa919e63ab04dbff7a31c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-11Create WS specific channel_config.jsonTom Joseph1-0/+178
Witherspoon has only one LAN interface which is channel number 1. The json file provided by the phosphor layer has channel information for two LAN interfaces. The phosphor layer config file is modified to mark the channel number 2 as reserved. (From meta-ibm rev: 48dc78b5e8b6deba59e4aa200b8d88f10e277b69) Change-Id: I4af0b7e682d2ec266831c7053926d1515f62c726 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-10meta-ibm: Mihawk use negative-errno-on-fail configBen_Pai1-0/+2
Enable this config for mihawk so the fan sensors are working, otherwise hwmon will fail and exit when fans are not working. Tested: Verify that the fan_tach sensors return -ETIMEOUT when host is powered off and do not exit with failure. (From meta-ibm rev: 2e39633c12f7914b1a4a398bbff9b467930bb731) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I0a7e881de5d5baa8d4db3cac9ca3cb46ec08faf4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-10meta-ibm: Enable mac2 on mihawk platformBen_Pai1-0/+1
Since mihawk has share and dedicated two ports, so use two mac addresses. Tested:Use ip a command to see two mac addresses (From meta-ibm rev: ed92ee6fa8847511fbf2049e02ef3f8f0d7a7c70) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: I43b3b78f7efd7e339e91bdc356283f6b9ffe1a5c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22Add mihawk sensor, fan control and d-bus monitorBen_Pai48-6/+2998
Most of mihawk's sensors are different from witherspoon, so I temporarily added the mihawk part and did not change the witherspoon. Add mihawk version of fan control and d-bus monitor. Mihawk does not have a water cooled mode, so another independent folder is added. Tested: 1.Shut down the system if more than three cores have a temperature greater than 100 degrees Celcius. 2.Fan control support cpu core, dimm, Onboard. 3.Confirm that sensor is able to return normally via REST. (From meta-ibm rev: 949f91431bba2f0139cc823d674a741f9590c885) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Icc401f32c67b622f0f1448e1166112e02c135a8f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-20meta-ibm: witherspoon: Power sensor associationsShawn McCarney1-29/+29
BMCWeb uses ObjectMapper associations to find sensor information for Redfish. Due to BMCWeb enhancements for the Power and SensorCollection schemas, the following Witherspoon association changes are required: * Remove the "chassis" <-> "all_sensors" association for power supplies. Power supplies were considered chassis by BMCWeb as a short-term solution, but they have been moved to the Power schema. * Add the power supply sensors to the "chassis" <-> "all_sensors" association for the top level chassis. * Add other missing power sensors to the "chassis" <-> "all_sensors" association for the top level chassis. These associations were temporarily removed due to limitations in the BMCWeb support for power sensors. These limitations have been addressed. See https://github.com/openbmc/docs/blob/master/sensor-architecture.md for more information on sensor associations used by BMCWeb. (From meta-ibm rev: a1c35f612f58e5453fe988d59db21a8673fdcfa4) Change-Id: Ibea5bdea58711e96faff4937ecccedcc695d9ba4 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-20Swift: Put in avsbus-enableMatt Spinler6-34/+15
As on Witherspoon, some VRMs on Swift need their AVS buses enabled as part of the power on sequence. The AVS bus connects those VRMs to the processors so the processors can set voltages. On Witherspoon, the sequence was 1. Disable the AVS bus 2. Manually set VRM voltages 3. Enable AVS bus Currently on Swift there is no need to manually set voltages, so the AVS bus disable service and script isn't required. Tested: Tested on swift, and ensured both witherspoon and witherspoon-128 still have all avs scripts and services installed. (From meta-ibm rev: f1ceece0b75a4522ef3089319b12d22fd83ed9ef) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ifd7ebdd5ec3dcdfef97c04e666d83fcb4991b452 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16witherspoon: Bump MRW versionAndrew Geissler1-1/+1
Pick up new IPMI clear sensor (From meta-ibm rev: 033ecca0a4321aba8000fd289c43aa38721255b2) Change-Id: I5c42bad754157bcae47463a1e8d6c0d1993e45d8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16wspoon-128: Enable the OpenPower PEL extensionMatt Spinler1-0/+1
This extension will (when it's complete) create IBM's Platform Event Logs (PELs) for every OpenBMC event log, as well as provide features to exchange them with the host, package them for Redfish, etc. (From meta-ibm rev: 625fc419ae882dd572a1045bdca3286b896a69fe) Change-Id: Ia215ce221ac58037c0f8029362181dde8a94d42e Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14Add mihawk platform to meta-ibmBen_Pai33-8/+23011
The contents of this up-stream include the following items 1.Basic function 2.Led settings 3.GPIO monitor (id button and power supply) 4.Linux dts patch. (From meta-ibm rev: c53430a2234917b71f29d7e61d6aea749c45a2fc) Change-Id: Id0e47fd9197c8b2a70cbc94888bd572255664cdd Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14wspoon: hwmon: Use labels for finding VRM I/V/PMatt Spinler4-128/+200
A recent kernel update added a second input current/voltage/power reading to the hwmon sysfs attributes for the ir35221 VRMs, and it threw off the labels in the config files since they were hardcoded for the specific previous numbers. For example, curr2_input previously represented an output current but now represents an input current. Fix this by using the LABEL mode in hwmon to find which sysfs file to use for a particular sensor by the contents of its corresponding label file. For example, the p0_vdd_current sensor should look at the sysfs file that has a corresponding 'iout1' value in the currX_label file. Tested: Test that the voltages are back within thresholds again and not showing values around 12V. (From meta-ibm rev: bca7ed0127f9e82895fb60b66b325347970f0860) Change-Id: I9f28c9445daf9ce6206ff9e38e271ac805768fae Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14witherspoon-pfault-analysis: srcrev bump 5b2964fa8e..817f8a7a82Andrew Geissler1-1/+1
Aatir Manzur (1): Power supply input faults resolution (From meta-ibm rev: bc9be1c977fcea7543aab6f2ffd51372bb3e805f) Change-Id: I46d82875b474abe1af478e8bbfd7d1141d2d5c3d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-06meta-ibm: witherspoon: Power sensor associationsShawn McCarney1-29/+29
BMCWeb uses ObjectMapper associations to find sensor information for Redfish. Due to BMCWeb enhancements for the Power and SensorCollection schemas, the following Witherspoon association changes are required: * Remove the "chassis" <-> "all_sensors" association for power supplies. Power supplies were considered chassis by BMCWeb as a short-term solution, but they have been moved to the Power schema. * Add the power supply sensors to the "chassis" <-> "all_sensors" association for the top level chassis. * Add other missing power sensors to the "chassis" <-> "all_sensors" association for the top level chassis. These associations were temporarily removed due to limitations in the BMCWeb support for power sensors. These limitations have been addressed. See https://github.com/openbmc/docs/blob/master/sensor-architecture.md for more information on sensor associations used by BMCWeb. (From meta-ibm rev: a1c35f612f58e5453fe988d59db21a8673fdcfa4) Change-Id: Ibea5bdea58711e96faff4937ecccedcc695d9ba4 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-06Swift: Put in avsbus-enableMatt Spinler6-34/+15
As on Witherspoon, some VRMs on Swift need their AVS buses enabled as part of the power on sequence. The AVS bus connects those VRMs to the processors so the processors can set voltages. On Witherspoon, the sequence was 1. Disable the AVS bus 2. Manually set VRM voltages 3. Enable AVS bus Currently on Swift there is no need to manually set voltages, so the AVS bus disable service and script isn't required. Tested: Tested on swift, and ensured both witherspoon and witherspoon-128 still have all avs scripts and services installed. (From meta-ibm rev: f1ceece0b75a4522ef3089319b12d22fd83ed9ef) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ifd7ebdd5ec3dcdfef97c04e666d83fcb4991b452 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-27witherspoon-pfault-analysis: srcrev bump 5c0ce17511..5b2964fa8eAndrew Geissler1-1/+1
Matt Spinler (1): Fix association path when resolving input faults (From meta-ibm rev: aa31db48bd98f4d22b8b0b6a6316aefcd4bc5daa) Change-Id: I3813ee4174d6aeebc6c7014d4b7d059e65b9ad99 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26swift-ipmi: Hard coded sensor supportAndrew Geissler4-117/+591
The Swift MRW has been updated and this commit utilizes some unused sensors for Swift starting at 0xFE and counting backwards (From meta-ibm rev: df212c93689bd73f0e760ed3cfffada6fa6b9ffa) Change-Id: Ica981d322f51fec94c0db94884938a60b637eb73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26Update swift mrw to latest versionAndrew Geissler1-1/+1
A lot of cleanup of IPMI sensors in this update (From meta-ibm rev: e80fecfd67ea850b6dba5af303e97ad7f8896ea6) Change-Id: Icd26b566002bf34b09b936300e89cd1a8fa4b9a5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-25witherspoon-pfault-analysis: srcrev bump 03c19db6a8..5c0ce17511Andrew Geissler1-1/+1
Matt Spinler (2): Update .gitignore Don't try to read GPIOs when no device path (From meta-ibm rev: adf123779de48ee17f2d8c53f4e3d865e575c2f9) Change-Id: Ia97046f0d856266907831be9fc552d6d750d14f9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: use ibm-ac-server MACHINEOVERRIDEBrad Bishop30-65/+62
Use an override in bbappends in meta-witherspoon as described and recommended in the "following best practices when creating layers" section of the the Yocto development tasks manual. ibm-ac-server represents common machine configuration shared by all of IBMs "Accelerated Compute" class of servers. Apply it wherever any variables are un-bounded by any override. This enables more flexible use of meta-witherspoon in build configurations, and easy addition of machines to the layer. (From meta-ibm rev: bb0e1d0699a4b9905c053c94af7d882cd71779fc) Change-Id: I82f7338b0d7a64b5e7a67e19bcdff07f48a332d4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: remove execute perms from data filesBrad Bishop3-0/+0
(From meta-ibm rev: 8f7ff601395419a933eb0506d5cc07fd805f7708) Change-Id: Iffb2c550511b4024b721c2ba81aec1f909ce7703 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: add ibm-ac-server MACHINEOVERRIDEBrad Bishop1-0/+3
As of today the IBM(witherspoon) layer supports three of IBMs "Acclerated Compute" class of systems: witherspoon, witherspoon-128 and swift. Most of the bbappends are required for all three. Prior to this patch this was handled by bbappending without any override. This is counter to best practices and pollutes the metadata for layer users using recipes from meta-witherspoon. Add a new ibm-ac-server MACHINEOVERRIDE so that bbappends that work on all of IBM's AC systems can be overridden appropriately without having to explicitly list every system. (From meta-ibm rev: b770d19fc3e9774a1ad80be55b2f986d02847c26) Change-Id: I69ae41fa80612d1c019f031a02e32c01580b7939 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-24meta-ibm: witherspoon-128: MACHINEOVERRIDES fixupBrad Bishop1-1/+1
The ordering of the values in MACHINEOVERRIDES is wrong: MACHINEOVERRIDES="witherspoon-128:witherspoon" This means that: FOO_witherspoon = "bar" will override: FOO_witherspoon-128 = "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_witherspoon-128 = "bar" will override: FOO_witherspoon = "baz" (From meta-ibm rev: a12ff8392546591d8b52927da983dd76d2c0f1bd) Change-Id: I823e236bd0147cc058052d85778b522e74fabb28 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>