summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon
Commit message (Collapse)AuthorAgeFilesLines
...
* Create recipe files for phosphor-cooling-typeBrandon Wyman2017-06-084-1/+42
| | | | | | | | | | | Adding service file for this application. Environment file for Witherspoon. This is currently the only system known to really need this check for water cooling property to be set/updated. Resolves openbmc/openbmc#370 Change-Id: I978de38d09111c38d77e1ca4b287724243acf0a9 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Create configuration file for BMP280 ambientBrandon Wyman2017-06-072-0/+10
| | | | | Change-Id: If5137be315dd7b8f087b79f75a9e5e1f2f112113 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Add fan zone conditions YAMLGunnar Mills2017-06-061-0/+18
| | | | | | | | | | | | Define the conditions that may be used when defining fan zones. The current conditions check the cooling types on the chassis because the Witherspoon fan zones are different based on if water cooling is used or not. Change-Id: I850b9f04bafb79f36526b6d355b556005b2336be Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Install events yaml for fan controlMatthew Barth2017-06-052-0/+54
| | | | | | | | | | | | Updated the fan control recipe files to include the events config yaml file. For witherspoon, an events yaml file was added initially supporting the fan degraded events of missing or containing a nonfunctional fan resulting in the fans running at full speed. Resolves openbmc/openbmc#944 Change-Id: I5cbc69694d2a05ec2d5daab55f045e1e28764828 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Remove hack from skeleton for mboxd workaroundAndrew Geissler2017-05-241-1/+0
| | | | | | | mboxd has been fixed so this workaround is no longer needed Change-Id: I1eca65558c446e982174f1c4af2f484b8fe5c3b8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Make use of obmc-fan-control-ready@.targetMatt Spinler2017-05-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | This involves the following: * Start the fan-control-init@.service on a power on. * That service will set fans to full speed, delay for a bit, and then start the obmc-fan-control-ready target. * This target will start the fan monitor and real fan control services. * On a power off, the target and these services will be deactivated. Doing it this way ensures the fans will have had time to ramp up from a cold start before applications start looking at them. Currently, on a reboot at runtime the same thing will occur. The watchdog would have already brought the fans to high speed, so this will extend that time at full speed by another 20 (or similar, it's configurable) seconds, ensuring we know what speed the fans are at. Resolves openbmc/openbmc#1567 Change-Id: I73a1f91f0efaf319df97b59334073116d45f40c3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* witherspoon - current divisor not needed in vrm-control.shDhruvaraj Subhashchandran2017-05-191-1/+1
| | | | | | | Resolves openbmc/openbmc#1427 Change-Id: I2f09f02d1c5dd84395f614f9bd91fe74e0b9e082 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Remove fan-default-speeds serviceMatt Spinler2017-05-134-72/+1
| | | | | | | | | This was just a temporary service that bypassed hwmon and programmed the fan controller chip directly. Now that the real fan control is going in, this can be removed. Change-Id: I0b9e85d89ca097faabccb1744862a58a0776be72 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Install fan monitor yamlMatt Spinler2017-05-111-0/+1
| | | | | | | | | | | | | The phosphor-fan-monitor-config-native recipe will install the fan monitor configuration yaml so other recipes can use it. To install a system specific version of the yaml, a .bbappend in that system's layer should be used, otherwise an empty yaml file will be installed. Change-Id: I310704846915320b5644eda1d5b933471436b2f9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Fan monitor config yamlMatt Spinler2017-05-111-0/+31
| | | | | | | | | | | | | Add yaml to define the phosphor-fan-monitor behavior. A possible future improvement would be generate part or all of this file from the MRW, especially the inventory piece. This is being skipped for now due to time constraints. Change-Id: Ia38f8c40d31fca54abcd9c616981fb040cf57b14 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon fan zone settingsMatt Spinler2017-05-081-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | This YAML defines properties of the Witherspoon fan zones. The actual fans in the zones will be obtained from a separate file, which will be generated from the MRW on systems that use it or else manually created. The two files will be taken as inputs by a python parser to generate C++ structures. The zone field is the fan zone number. The cooling_profiles field defines the profile that matches the profile in the MRW, so in addition to the zone number matching, the parser also has to check that the cooling profile matches before saying a fan is valid for this zone. The initial_speed field is the speed the fans should be set to on application startup. Future commits will add more functionality to the file. Change-Id: I579b2c44933e1dc7aa26209016c01f66b2cc1dff Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Recipes for installing fan zone yamlMatt Spinler2017-05-051-0/+2
| | | | | | | | | | | | | | Provides the virtual/phosphor-fan-control-zone-config virtual. By default, it will install an empty zones.yaml file into the directory needed by the phosphor-fan-control compile. To provide a system specific fan zone yaml, put one in that system's layer and install it with a .bbappend, which is what is being done in this commit for Witherspoon. Change-Id: Ie58fc9eb7b39cecffa39905266542bae16c0f977 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-04-271-1/+1
| | | | | | | | | * Added cooling zone information to the fans. * Gave the TMP275 a hwmon name so it will start being recognized by phosphor-hwmon. Change-Id: I54da1677973b52de1594c6011e4a302fb56558fd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* witherspoon: obmc-console: Mirror host console to ttyS0Andrew Jeffery2017-04-262-0/+5
| | | | | | | | | | | This resolves openbmc/openbmc#1279 in the same way as the Zaius patch at cd021293f1264ace3b0833e63a3f9b4a20fd1ef4. Also, add baud-rate change per Zaius change at dbf3fba037a7c791084b87e0de4e88316386de3c. Change-Id: I59fddac17f0015fcf33c94aa8161dcfd81864cd4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Refactor action target names Host-start-stopJosh D. King2017-04-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Removed CHASSIS_FMT and CHASSIS_LINK_FMT because they are no longer needed. CHASSIS_POWER_FMT_2 did not change because its used for obmc-chassis-reset. Deleted files obmc-chassis-start@.target and obmc-chassis-stop@.target because they are no longer needed. I moved over their contents to obmc-host-start and obmc-host-stop. Updated phosphor-state-manager.bb and skeleton-rev.bbclass to have correct commit id. Change-Id: I26cba4153038f39d60e8d450a05969a216848abe Signed-off-by: Josh D. King <jdking@us.ibm.com>
* Refactor action target names Power-on-offJosh D. King2017-04-2011-20/+20
| | | | | | | | | | | | The target change is: obmc-power-chassis-on -> obmc-chassis-poweron obmc-power-chassis-off -> obmc-chassis-poweroff Also updated phosphor-state-manager.bb to now have correct commit id. Change-Id: I15aae803e5f0d44d4e6a137278f93e91f848b2c0 Signed-off-by: Josh D. King <jdking@us.ibm.com>
* openpower-occ-control: initial recipeDeepak Kodihalli2017-04-041-1/+1
| | | | | | | Resolves openbmc/openbmc#1040. Change-Id: I692812389b5bc078da510c8df23b37475188b9b0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* witherspoon: Enable hwmon-iio bridgeBrad Bishop2017-03-301-0/+1
| | | | | | | Add the hwmon-iio bridge to the witherspoon config fragment. Change-Id: I4d0bc9717015258dfee5a8fe90b26d6b26aaa7fc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* witherspoon: Only rebind ucd9000 if we unbound itAndrew Jeffery2017-03-241-4/+8
| | | | | | | | | | | | | This makes way for an incoming kernel patch affecting Witherspoon[1], where we disable the UCD90160 device in the devicetree. If the driver hasn't been bound to the device we can immediately proceed to invoking i2c{g,s}et. Finally if it wasn't bound before the script was executed then don't try to rebind it, as it was disabled for a reason [1] https://lists.ozlabs.org/pipermail/openbmc/2017-March/007015.html Change-Id: Icc1fd1aa978e1a5cd62f1609bae97aa7dbfcde41 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* ucd_disable_vcs: Don't wait for bound device link to appearAndrew Jeffery2017-03-241-9/+1
| | | | | | | | | | | | | | The driver is bound at boot, so if the driver isn't bound then it won't be in the future, unless explicitly bound from userspace. A previous commit (8ca6161774d, "meta-witherspoon: vcs-control: Add retries and journal entries") introduced retries for both unbind/bind operations of the UCD9000 driver for the UCD90160. Don't wait for a symlink to appear if it isn't present. Change-Id: I2e06d48fb7ae71f8af01be5a9548fc3d9d0a4d8a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* Witherspoon XML revision bumpMatt Spinler2017-03-231-1/+1
| | | | | | | | | | Bump the github.com/open-power/witherspoon-xml revision to pick up: 1) LED fixes 2) fan tach wiring for presence detects Change-Id: I8c083393f43dd8b5958cc145e5b7cd27815ce402 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-witherspoon: vcs-control: Add retries and journal entriesSaqib Khan2017-03-201-5/+18
| | | | | | | | | | | - Added journal entry for retrying ucd driver rebinding - Added retry for finding the ucd driver entry - Added sleep time in between retires to resolve any timing issue Resolves openbmc/openbmc#1298 Change-Id: Id80f11e14d3f4ac59ead0ff171944ff83e8874b1 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Do not run chassis power target services if power onAndrew Geissler2017-03-157-0/+7
| | | | | | | | | | | | This is the first commit in a series that will ensure we do not run the chassis power on services when the chassis is already on. Specifically this is to handle the situation where the chassis is on and the BMC is rebooted. Change-Id: I733ca076f044731a4ba327fe2f46302dce5f4edd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* meta-witherspoon: Remove vddr voltage overrideJayanth Othayoth2017-03-131-1/+1
| | | | | | | | | | The VDDR overrides were only appropriate for chip before DD1.02. Those older chips have all been removed from lab circulation. Resolves openbmc/openbmc#1285. Change-Id: Ie5d6efe6cadaa1f6938741d4932f79d5130afaf0 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Re-enable IPMI watchdog reboots for WitherspoonMatt Spinler2017-02-241-3/+1
| | | | | | | | Now that hostboot IPMI is being enabled, we can turn back on the watchdog reboot. Change-Id: Ia134e8a1571600869a666c21efb80baafbf0d2a3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Change how hwmon.pl is invoked for MRW systemsBrad Bishop2017-02-241-1/+0
| | | | | | | | This minor tweak removes the need for MRW using systems to append the phosphor-hwmon recipe in their layer. Change-Id: I3d9dcfff452e26d191df37ae7d759c6c2c3f2cd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add phosphor-openpower-fru to the imageDeepak Kodihalli2017-02-202-0/+5
| | | | | | | Add to Witherspoon image. Change-Id: Ic00ca036e735055a5afb0978c44aaa52fd18f6fc Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add OpenFSI flag to device tree config fileMatt Spinler2017-02-201-0/+4
| | | | | Change-Id: I843b15b07b7c56fbda1b8d9e9b7dbbac6835f5de Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-witherspoon: vcs-control: Add retries for rebinding ucd driverSaqib Khan2017-02-161-3/+9
| | | | | | | Resolves openbmc/openbmc#1059 Change-Id: Idf2584d9179b55e85f56513617ba6cb39b881395 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Change wants to requires for all critical servicesAndrew Geissler2017-02-154-9/+9
| | | | | | | | In order for targets to fail when their services fail, the relationship must be a "requires" Change-Id: I1523dd51af8817b473557bac65e9e71eacecf52e Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-02-131-1/+1
| | | | | | | | | * IPMI sensor IDs were added. * Fan hwmon labels were added. * System FRU number was set to 3. Change-Id: Iee2989b56f04919e2090f0ada372d97395607b6d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-02-091-1/+1
| | | | | | | The XML now contains FRU IDs. Change-Id: I70bc350bcb04d0c07869b9db9c78fb55da6422c9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add spi mailbox section to devtree config fileMatt Spinler2017-02-091-1/+10
| | | | | | | | | | Add a section to the config file to select the address range to use for mapping the PNOR into BMC memory. If the LPC mailbox isn't being used on a system this whole section can be removed. Change-Id: I981e4d1aca2e09997c874fcc5b528e846193e2eb Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-022-15/+0
| | | | | | | | | | | | | | | | | Replace this virtual with two others: -virtual/phosphor-ipmi-fru-hostfw-config -virtual/phosphor-ipmi-fru-inventory. Update ipmi-fru-parser machine recipes to provide virtual/phosphor-ipmi-fru-inventory rather than virtual/phosphor-ipmi-fru-config. Remove machine recipes on machines that use MRW since a single MRW recipe provides for any MRW using system automatically. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com? Change-Id: Ia0d94b938eb2c7bfadd5a018ae5ea136f14dd874
* openpower-p9: Add delay in a reboot so mbox-reload can runMatt Spinler2017-02-021-1/+3
| | | | | | | | | | A quick fix to ensure that mbox-reload.service has a chance to run after the power off and before the power on during a reboot. An upcoming refactoring will remove the need for this patch. Change-Id: Ieee0573e9bd4dec518361da9244d95a27357abd3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Move VRM workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-012-3/+3
| | | | | Change-Id: Ieb1c1a131671890c262e6b4238b5146394a0c8f3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Move VCS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-015-11/+11
| | | | | Change-Id: I12e71adf8d2635360087a0781354391121af3d7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Move AVS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-014-7/+7
| | | | | Change-Id: I49c9ce703673e18ef17684f0b3e02626ddb091af Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Phosphor IPMI FRU config stubs for most systemsBrad Bishop2017-01-252-0/+15
| | | | | | | | Add native recipe stubs that (will) provide the the IPMI -> DBus inventory mapping for the Phosphor IPMI FRU provider. Change-Id: I21e76bc23ef1638ddcc318a179808521dea7f205 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable Witherspoon MRW hwmon generationMatt Spinler2017-01-241-0/+1
| | | | | | | | Generate Witherspoon's hwmon conf files from the mrw. Change-Id: I120f4f91de48b36ba4b610eab35df98e3e84b534 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-p9: disable host watchdogPatrick Williams2017-01-191-0/+1
| | | | | | | | | | Hostboot currently does not have IPMI support enabled on P9 systems. Therefore, we need to disable the host watchdog. Temporary workaround to be removed with openbmc/openbmc#993. Change-Id: I875a3927af6ec34d2caf4c694b0a89c35a2bff74 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-phosphor: Add Mailbox DaemonCyril Bur2017-01-202-1/+2
| | | | | | | | Change-Id: I981ec3223ba5af71e50f11d699a3f6b5448f96c8 Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Create mrw-perl-tools recipeMatt Spinler2017-01-191-0/+2
| | | | | | | | | | The mrw-perl-tools recipe makes use of the Build.PL script in phosphor-mrw-tools to determine which scripts and modules to install. Build.PL is part of Perl's Module::Build installation method which is executed by the cpan_build bbclass. Change-Id: Ic5d51e8ec58b4450eeb27843b11332f556f3c35b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add unbind/bind around fan speed i2csetsMatt Spinler2017-01-191-0/+11
| | | | | | | | | When the max31785 device driver becomes available, we'll need to unbind it before using i2sets to talk to the chip. Change-Id: I25967d753ca81b899880a160f3ea4a022be48e77 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Pick up new Witherspoon MRW XMLMatt Spinler2017-01-111-1/+1
| | | | | | | | | | | | | LEDs are now in the model. There is a Targets.pm change that must go with this that the mrw-rev.bbclass change will get. Because Targets.pm is common between Palmetto and Witherspoon, the Palmetto XML must be patched to make Targets.pm happy. Change-Id: Ic3378cca8c6ebe96870d283aac2d42d97b68358a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-witherspoon: Order vcs_on before obmc-host-startXo Wang2016-12-221-2/+4
| | | | | | | Fix missing instantiation parameter for vcs_workaround unit. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I86e6e9d404cf81878b86814d0330fff6a136ceac
* Turn P9 VCS back off on a power off.Matt Spinler2016-12-202-0/+19
| | | | | | | | | | | After the system is powered off (PGOOD is a 0), we will make sure VCS is off. Even though the power on sequence also turns it off, we're being safe by also doing it here especially if some other code does the power on. Change-Id: I0834650083005bd41fbffc500cb2bc88b61d5c81 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Enable Witherspoon AVS bus and VRM controlMatt Spinler2016-12-201-0/+2
| | | | | Change-Id: I3739068a89645628d007e5fe1d530f51bbe1c3d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon AVS Bus ControlMatt Spinler2016-12-207-0/+113
| | | | | | | | | | | | | Perform an AVS bus workaround on the VRMs attached to the processor. The AVS bus is how the processor talks to the VRMs. After the workaround, this also provides services to disable the AVS bus so a VRM override can be run, and then enable it again afterwards. Change-Id: I68c48ffaafe5d7125556aa9d36cf11bf55ca93ac Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon VRM overridesMatt Spinler2016-12-203-0/+193
| | | | | | | | Overrides the default voltages of Witherspoon VRMs before a power on. Change-Id: Ide881b4b0656f53782459a427f8acde729137822 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud