summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-23Clean up stale obmc-phosphor-utils referencesBrad Bishop16-15/+6
There were a number of places that inherited this class but did not use it. A number of classes that did use it did not inherit it. This was possible because the class was pulled in by the distro configuration but that has been removed here as well. Tested: Built and verified a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I73511cdcc609875b4fe016967c1b84c5200fb703
2018-03-23distro: Cleanup distro featuresBrad Bishop1-10/+25
Consider (this is a Yocto verb) a number of backfilled features: pulseaudio bluez5 ldconfig gobject-introspection-data Put OpenBMC specific distro features in their own variable DISTRO_FEATURES_OBMC. This has no functional impact but does make looking at DISTRO_FEATURES with bitbake -e a little easier on the eyes. Change-Id: I78a9e2f0807cac41bc119b04b42f32db5d1b9dbf Tested: Build and verified witherspoon and palmetto images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23glibc: Drop glibc bbappendBrad Bishop1-2/+0
USE_LDCONFIG has been deprecated in favor of the ldconfig distro variable, which we already don't use. Drop bbappend. Change-Id: I343427c1c8fa012e4847c0cd340859506d3a2e54 Tested: Built a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23Revert "qemu: remove unsupported linker option for RHEL6"Brad Bishop1-2/+0
Drop support for RHEL6 which has been unsupported by Poky since 2.1. This reverts commit 94ac41b1aa87a76a5ec3e50a24f4d7ce61ba5ca1. Tested: Built a witherspoon image Change-Id: I934af01801df03359d00cdf65a57019f08b77c01 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23Revert "binutils: allow build on RHEL6"Brad Bishop5-213/+0
Drop support for RHEL6 which has been unsupported by Poky since 2.1. This reverts commit e6870323bed60378abc8f8ae4a8ba2f5d1e7c790. Tested: Built a witherspoon image Change-Id: I37020fff870cf652dc344eca65d1ad869f0ef45f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23json-perl: Update to 2.97001Jens Rehsack2-74/+31
Update recipe for CPAN hosted Perl5 module JSON from 2.90 to 2.97001 to express our love to the Perl Programming Language. Changes since 2.90: https://metacpan.org/changes/release/ISHIGAKI/JSON-2.97001 @charsbar: o/ Signed-off-by: Jens Rehsack <sno@netbsd.org> (From meta-cpan rev: 205e10483629470ef49425c3a0ba47343aeeda59) Tested: Built a witherspoon image Change-Id: I76f352ec6fd27c1e65f95c7b32a3ed76b803d8e8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23recipes-devel: clean-upJens Rehsack1-0/+0
Clean up recipes-devel and move some recipes to meanwhile existing better categories. Signed-off-by: Jens Rehsack <sno@netbsd.org> (From meta-cpan rev: 6b091d47bd14831d875f41d366e327ab127b4a62) Stripped of all changes to files except json-perl. Tested: Built a witherspoon image Change-Id: I13093acd029278102523d30c33209b8d4473eb00 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23json-perl: Move to recipes-develBrad Bishop1-0/+0
Move json-perl to recipes-devel to match meta-cpan. Tested: Built a witherspoon image Change-Id: Ib789762cd99157ee1cf4c634962ec5e7b3420e91 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23phosphor-ipmi-net.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I6b55d9993e132d38fb78f4cd2ac21bd8431d37a6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-23witherspoon-pfault-analysis.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I49cf198df342873cad4ce6fa720edab1b120ed21 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-23phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Iab3a24bc5104e8d6ec32eed8b61151c765d75cc0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-23Bump bmcweb targets and disable submodule useEd Tanous1-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>
2018-03-16python-*: switch remaining pypi recipes to use the pypi classMark Asselstine3-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>
2018-03-16pypi.bbclass: bring in from meta-pythonTim Orling2-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
2018-03-16Factor PS derating into power cap limit validationMatt Spinler3-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>
2018-03-15Make host-check a part of host state functionAndrew Geissler4-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>
2018-03-15Yocto 2.4Brad Bishop4655-175507/+173019
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>
2018-03-15libgpg-error: Patch for ppc64leBrad Bishop2-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>
2018-03-15phosphor-rest.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I58c2b601a49d1fc4a179a326a27c7591a0592cc0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-15phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Id72206de9c229cf30d2c51d25bc8c856ff318028 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-15mrw-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I1730c97774addf56d7c3928d8c814b06644f2c7f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-15phosphor-software-manager.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I5311255a9d45846fdf774177d848635286d24226 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-15phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ibc37bf5129324cee1e32300d1691a4a2c2c71dca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-14Use OpenPower variable for PS derating factorMatt Spinler2-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>
2018-03-14wspoon: Support more than one group per eventMatthew Barth2-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>
2018-03-14Remove legacy bmc control packageAndrew Geissler1-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>
2018-03-14initfs: files: whitelist: AlphabetizedPatrick Venture1-4/+4
Alphabetized the whitelist file. Change-Id: I5d6de780c17524409585680a7c9dea297e7c317f Signed-off-by: Patrick Venture <venture@google.com>
2018-03-14phosphor-dbus-monitor: Add the witherspoon specific config fileRatan Gupta3-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>
2018-03-14Add SOC update scriptKen Chen3-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>
2018-03-14Reset boot progress and OS status sensors after rebootDhruvaraj Subhashchandran2-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>
2018-03-14Bump priority of download service back to defaultAndrew Geissler1-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>
2018-03-14phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I06fe51e53e614f24857cedb5c58da68a4d60016b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-14phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I2c8c832a43d3c072f0497d8f483a77ea8f84e76e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-13phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Id49de6ce721cf1b8d7b5194960af69f0e7779598 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-13sdbusplus.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I70c30706a78f6f9492a51966738221cd32c4fc38 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-13Yocto 2.3Brad Bishop4860-159141/+165679
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
2018-03-13Remove obmc-openpower-* machine featuresBrad Bishop25-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>
2018-03-13Convert openpower-ubi-fs to a distro featureBrad Bishop6-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>
2018-03-13Convert obmc-ubi-fs to a distro featureBrad Bishop13-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>
2018-03-13MRW: Use a distro override to enable providersBrad Bishop5-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>
2018-03-13Remove obmc-mrw machine featureBrad Bishop9-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>
2018-03-13distro: Add MRW distro policy includesBrad Bishop2-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>
2018-03-13distro: Move distro config content to includeBrad Bishop2-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>
2018-03-13openpower: Fix _appends with missing spaceBrad Bishop7-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>
2018-03-13ipmi: Add missing build dependencyBrad Bishop1-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>
2018-03-13skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I4be962064668c937fce34b7814378c86a2dc994c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-13phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I53d382a8c253338cf41ba4d6440b4a83e495e803 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-13phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I0eed1092768c02f68efe678a38ae012da14feae1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-12Add entry for gpu_func sensor in MRW config YAMLMatt Spinler1-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>
2018-03-12meta-romulus: Add fan monitor configLei YU2-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>