summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump bmcweb targets and disable submodule useEd Tanous2018-03-231-3/+3
| | | | | | | | Resolves some build failures and updates the bmcweb recipe to use the proper target names for image selection. Change-Id: Id223dab3c4999ce083351ceee4b36836a8f46b77 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* python-*: switch remaining pypi recipes to use the pypi classMark Asselstine2018-03-163-19/+8
| | | | | | | | | | | | | | | | | | | Cleanup the various python-* recipes which download from pypi. The biggest change is to "inherit pypi" which should result in us always using current pypi best practices. This will for example ensure we are using https and not http which is apparently going to be disabled soon. Where the default behavior in the pypi class wasn't sufficient we make use of the PYPI_* variables to overwrite the defaults. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> (From meta-virtualization rev: 34dee81d0c5a0e2e1b1633ad4293171163c3bb62) Change-Id: I44b23eb0e33a781a3ee9ba7bf9621645e2a339d1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* pypi.bbclass: bring in from meta-pythonTim Orling2018-03-162-0/+29
| | | | | | | | | | | | | | | | | | | | The pypi.bbclass has usefullness in many meta layers, not just meta-python. Add it to oe-core for the benefit of everyone. Documentation strings for PYPI_PACKAGE, PYPI_PACKAGE_EXT and PYPI_SRC_URI added to meta/conf/documentation.conf (From OE-Core rev: c350812523017f113f63e0b863fd526b4d6331b9) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From Yocto rev: 7d950b99bdb0f3c91eb060d31711243a7d3366fc) Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ia3a8b4d492cd50851fd95204710ac6c779ec7437
* Factor PS derating into power cap limit validationMatt Spinler2018-03-153-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | When the BMC sends a system power cap to the host, the host validates it is in a certain range or it will reject it. So, the BMC also checks the range before sending it at all. This range comes out of the MRW (machine readable workbook) XML, and is stored as output power. The user, however, inputs the power cap value as input power, and so the range the BMC code checks it against must also be in input power. To support this, the script that pulls the power cap min and max values out of the MRW for use in settings validation will now convert those output power values into input power by applying the power supply derating factor. Resolves openbmc/openbmc#2944 Tested: Check that the power cap range that the settings manager uses is now the input power versions. Change-Id: Id5c5851d081ad706fda73054b49e67a93d57f76e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Make host-check a part of host state functionAndrew Geissler2018-03-154-18/+7
| | | | | | | | | In the previous review it was noted that it didn't make much sense for host-check to be it's own provided function in OpenBMC. It's more of a recommended piece of the base host state function. Change-Id: I024472e96ea00f411e8348e0221c210f84700019 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Yocto 2.4Brad Bishop2018-03-154695-181527/+179039
| | | | | | | | Move OpenBMC to Yocto 2.4(rocko) Tested: Built and verified Witherspoon and Palmetto images Change-Id: I12057b18610d6fb0e6903c60213690301e9b0c67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* libgpg-error: Patch for ppc64leBrad Bishop2018-03-152-0/+65
| | | | | | | Add a patch to enable ppc64le builds of libgpg-error to work. Change-Id: If6a8a095509a92745f2f4c8f2502b0b7bfb12e2f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-rest.inc: bump versionAndrew Geissler2018-03-151-1/+1
| | | | | Change-Id: I58c2b601a49d1fc4a179a326a27c7591a0592cc0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-151-1/+1
| | | | | Change-Id: Id72206de9c229cf30d2c51d25bc8c856ff318028 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* mrw-rev.bbclass: bump versionAndrew Geissler2018-03-151-1/+1
| | | | | Change-Id: I1730c97774addf56d7c3928d8c814b06644f2c7f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-03-151-1/+1
| | | | | Change-Id: I5311255a9d45846fdf774177d848635286d24226 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2018-03-151-1/+1
| | | | | Change-Id: Ibc37bf5129324cee1e32300d1691a4a2c2c71dca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Use OpenPower variable for PS derating factorMatt Spinler2018-03-142-1/+7
| | | | | | | | | | | | | | | | | | | | The openpower-occ-control code needs to know the power supply derating factor, but will default to a value if one isn't supplied externally in do_configure. Since other will also need to use that same value, use a common variable for it defined in openpower.inc, and now pass it into the configure step. This derating factor is an OpenPower concept used by the Power processor's OCC thermal control subsystem. Tested: Check that the derating factor variable in config.h in the openenpower-occ-control repo follows the variable in openpower.inc. Change-Id: I259b6086ebe70b2ac6eccdd244e43a7d36a28a77 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Support more than one group per eventMatthew Barth2018-03-142-170/+181
| | | | | | | | | | | | | | | Update to list groups per event along with not requiring the zone conditions be defined for an event that should be generated for all. Tested: Generated code contains events in correct conditions Single group event generation remains unchanged Two groups within event included in same generated event Resolves openbmc/openbmc#2630 Change-Id: I35502f7fa361c93f367f940c260a160742f160b1 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Remove legacy bmc control packageAndrew Geissler2018-03-141-3/+0
| | | | | | | | | | All existing functions have been moved to phosphor-state-manager repository Resolves openbmc/openbmc#1666 Change-Id: Iaec1e6b647d12ae31b633e9a84d3b6e2a8eca370 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* initfs: files: whitelist: AlphabetizedPatrick Venture2018-03-141-4/+4
| | | | | | | Alphabetized the whitelist file. Change-Id: I5d6de780c17524409585680a7c9dea297e7c317f Signed-off-by: Patrick Venture <venture@google.com>
* phosphor-dbus-monitor: Add the witherspoon specific config fileRatan Gupta2018-03-143-0/+128
| | | | | | | | | | | | This config file would be used to create the events when configured property gets changed. This config file would be used by the phosphor-event-manager process. Resolves openbmc/openbmc#2399 Change-Id: Ib933d720cd81313caf025c35074304f55fac401d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add SOC update scriptKen Chen2018-03-143-0/+143
| | | | | | | | Need feed SOC update file name and TFTP IP Tested: Built and validated a centriq2400 image Change-Id: I74bf979c5c1e97aa25ea6f11b83831363041aa4d Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
* Reset boot progress and OS status sensors after rebootDhruvaraj Subhashchandran2018-03-142-1/+33
| | | | | | | | | | Reset boot progress and OS status sensors if host is not running Resolves openbmc/openbmc#2804 Change-Id: I1fee2bf7776ae957e87452d9cfa7a4fca647b46f Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Bump priority of download service back to defaultAndrew Geissler2018-03-141-2/+0
| | | | | | | | | | | | This download service is used on systems that do not implement the UBI code update feature. Therefore it should run at the same priority as all other services. On the UBI enabled system that doesn't use it (witherspoon), its been pulled from the image. Resolves openbmc/openbmc-tools#13 Change-Id: I14693dadda375f9d0108e4fccb1a614dae7388e1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-141-1/+1
| | | | | Change-Id: I06fe51e53e614f24857cedb5c58da68a4d60016b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-hwmon.bb: bump versionAndrew Geissler2018-03-141-1/+1
| | | | | Change-Id: I2c8c832a43d3c072f0497d8f483a77ea8f84e76e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-03-131-1/+1
| | | | | Change-Id: Id49de6ce721cf1b8d7b5194960af69f0e7779598 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2018-03-131-1/+1
| | | | | Change-Id: I70c30706a78f6f9492a51966738221cd32c4fc38 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Yocto 2.3Brad Bishop2018-03-124872-159977/+166515
| | | | | | | | | Move OpenBMC to Yocto 2.3(pyro). Tested: Built and verified Witherspoon and Palmetto images Change-Id: I50744030e771f4850afc2a93a10d3507e76d36bc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Resolves: openbmc/openbmc#2461
* Remove obmc-openpower-* machine featuresBrad Bishop2018-03-1225-66/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | The openpower layer supports a usage pattern of building non openpower systems with the openpower layer included in the layer configuration (introduced with 008b81bb). As a part of 008b81bb a number of distro and machine features were added. As with MRW and UBI before it, these features are distro policy and not machine features. As such remove the machine features. Additionally converge the three feature variants down to a single openpower feature since there aren't any in-tree systems that don't enable all three. Add a distro override and fix up combined feature checks to use this override instead for improved readability. Add a new distro configuration that enables these features and point all Openpower sample local.conf files to this new distro config. Tested: Built and validated Witherspoon, Palmetto images Change-Id: Ifa3df61fbe1803f00c38956c265604ba91d7d127 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Convert openpower-ubi-fs to a distro featureBrad Bishop2018-03-126-9/+15
| | | | | | | | | | | | | | | As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Change-Id: I57f3bc244523eff5bc043caff8365e334d98cb30 Tested: Built a witherspoon image and validate manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Convert obmc-ubi-fs to a distro featureBrad Bishop2018-03-1213-38/+55
| | | | | | | | | | | | | | | As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Tested: Built a Witherspoon image and validated image Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* MRW: Use a distro override to enable providersBrad Bishop2018-03-125-20/+34
| | | | | | | | | | | | Now that obmc-mrw is no longer a machine feature we can organize a bit and enable MRW providers off to the side with a disto override, de-cluttering wherever non-MRW defaults are specified. No functional impact but slightly easier for humans to parse. Change-Id: If2731206b94e16e0b0132a385756eb11178118f2 Tested: Built a Witherspoon image and validated manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove obmc-mrw machine featureBrad Bishop2018-03-139-20/+21
| | | | | | | | | | | | | | | | Using MRW or not is distro policy. As such remove the obmc-mrw machine feature. Do not enable the remaining obmc-mrw distro feature in the base phosphor distro configuration. Create new distro configs for the systems that use MRW today (i.e. Witherspoon) that enables the obmc-mrw distro feature and point the local.conf.sample at the new distro configuration. Change-Id: If4cedc745b3ee942518fbfd4d5cf2cd5b60f346d Tested: Built a Witherspoon image and validate the manifest Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* distro: Add MRW distro policy includesBrad Bishop2018-03-132-0/+4
| | | | | | | | | | | | | | Add MRW distro policy includes to prepare for removing the obmc-mrw feature from the default distro policy. Custom distros can enable MRW by including the MRW include(s) from their distro configuration. The content is a little light at the moment but it is anticipated it will grow in subsequent patches. Tested: No functional changes Change-Id: I9120662618b45f0b73902edc666c7684b499a40c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* distro: Move distro config content to includeBrad Bishop2018-03-132-66/+67
| | | | | | | | | Enable other distro config files to require/include a proper include rather than directly including openbmc-phosphor.conf Tested: Built a Witherspoon image Change-Id: I2e94c9a7f9ecc1527ece86099407cdc4f34a5e36 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower: Fix _appends with missing spaceBrad Bishop2018-03-137-7/+7
| | | | | | | | These _appends can potentially crowd their neighboring entries. Change-Id: I1dae77f9a17744110175916935c01773708652b0 Tested: Built a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* ipmi: Add missing build dependencyBrad Bishop2018-03-131-0/+1
| | | | | | | | | Add a missing pyyaml dependency to the phosphor-ipmi-sensor-inventory-mrw-native recipe. Tested: Built a Witherspoon image Change-Id: Ia85eb4da107f855d8f2dd9483b4dd34b71674f24 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* skeleton-rev.bbclass: bump versionAndrew Geissler2018-03-131-1/+1
| | | | | Change-Id: I4be962064668c937fce34b7814378c86a2dc994c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-03-131-1/+1
| | | | | Change-Id: I53d382a8c253338cf41ba4d6440b4a83e495e803 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-131-1/+1
| | | | | Change-Id: I0eed1092768c02f68efe678a38ae012da14feae1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add entry for gpu_func sensor in MRW config YAMLMatt Spinler2018-03-121-0/+4
| | | | | | | | | | | | | | | | With this entry, code will be able to map a gpu_func sensor that comes down in an eSEL to an inventory item so a callout can be done. Resolves openbmc/openbmc#2955 Tested: Checked that the GPU inventory items now show up in inventory-sensor-gen.cpp Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ibb3a100c9bb129fe0a06fc82af40413101be80c5 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-romulus: Add fan monitor configLei YU2018-03-122-0/+34
| | | | | | | | | | | | | | 1. Enable fan monitor; 2. Add FanPwm interface; 3. Set the factor, offset for calculation from pwm to rpm Tested: Verifid fan monitor works fine; Manually change pwm, fan monitor will set fan non-functional after a while; change pwm back, it will set fan functional again, as expected. Change-Id: Ic56cbe291959368218b60c4a5b8e305f39ff7edb Signed-off-by: Lei YU <mine260309@gmail.com>
* minor reorganization of phosphor-defaults.incPatrick Venture2018-03-081-18/+26
| | | | | | | | This is a minor reorganization by grouping of the overrides specified in the phosphor-defaults.inc file. Change-Id: I1634552a286e0f0b04b4c0d3c7c07e4a0aa03c06 Signed-off-by: Patrick Venture <venture@google.com>
* obmc-flash-bmc: Ignore error if rwfs_size is not setAdriana Kobylak2018-03-081-3/+6
| | | | | | | | | | | | | | | Ignore the return code of fw_printenv in case rwfs_size doesn't exist, otherwise the function fails and doesn't get set. Also check that the imgsize variable is set before calling fw_setenv to prevent accidentally clearing the rwfs_size. Tested: Verified that rwfs_size gets set when it didn't exist. Also that it gets updated when the value is different than the one passed. And that it doesn't get cleared if the function is called without passing the imgsize argument. Change-Id: I02e3414e3b22da55890b7343b8805402139b6bad Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-03-081-1/+1
| | | | | Change-Id: I0064c7475ed7f6b1d6509ab76d0f01683f9c7889 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: I1b299ee8167a7c9a16b06fb58c3d13ed9c0d97a0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: I693eeb27becfd6290a3bd420e3b403d27a570e4e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-watchdog.bb: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: I17a657c313010c0cb25a333381c9a291442200d4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-fan.inc: bump versionAndrew Geissler2018-03-070-0/+0
| | | | | Change-Id: Idb4499cb078065998cf9fb3a47abe64bbed0a2e2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: Id0a813aee8d4a7dee62bb48cf5e7934fd01a3614 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: I76d3a7a54142dd36292e7d66b383ffda8fd31ffc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-watchdog.bb: bump versionAndrew Geissler2018-03-071-1/+1
| | | | | Change-Id: I3b07d2ae145412a57a74ce1dfc153e81b5d331d3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* i2c-tools: revert alternative download URIBrad Bishop2018-03-071-4/+1
| | | | | | | Upstream now points at the Yocto mirror. Drop. Change-Id: I4cbc6ab8f51acaf2e9c11478ab5275c60f734fd6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud