summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Network: Bring libnl into the openbmc imageRatan Gupta2018-03-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | We would be writing a new app in the phosphor-netwokd repo. libnl would be used for IPC mechanism between kernel and user space process. In issue 2931 we need to talk with kernel for certain NCSI commands(nelink) through libnl. NCSI commands are as follows NCSI_CMD_PKG_INFO: which returns information on packages and their associated channels. NCSI_CMD_SET_INTERFACE which allows a specific package or package/channel combination to be set as the preferred choice. NCSI_CMD_CLEAR_INTERFACE which clears any preferred setting Partilally Resolves openbmc/openbmc#2931 Change-Id: I9b90a43d44c082a403ec93aa6a5a1f1cdb68a992 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Revert "meta-phosphor: disable 'uninative' for RHEL6 support"Brad Bishop2018-03-292-9/+0
| | | | | | | | | | | Drop support for RHEL6 which has been unsupported by Poky since 2.1. This reverts commit c83cf1ce570d4771b1e42ded308bf4110e70408b. Tested: Built a witherspoon image Change-Id: Idd8dda940c72a69a7a228733c34018f906ec9b8f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* fsp2: Append -layer to bb file collection nameBrad Bishop2018-03-291-2/+2
| | | | | | | This seems to be the upstream convention. Update to match. Change-Id: Ie56cfd4cce1d1d49a3edeaf734fcfbbc665a55c8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Remove duplicate kernel providerBrad Bishop2018-03-291-1/+0
| | | | | | | virtual/kernel was specified twice in the common Aspeed configuration. Change-Id: I808d5359fbfb8986c6b194dc5c0a8dc1e5268999 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-03-291-1/+1
| | | | | Change-Id: I5066b97f4c19b606d95cb8594eb4f3c02446b86a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-03-281-1/+1
| | | | | Change-Id: Ia1a1be4de904c5675678a4f248fa36973ed8a364 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add Portwell Neptune machineAmithash Prasad2018-03-288-0/+285
| | | | | | | | | | | Initial introduction of Portwell Neptune family equipped with Aspeed 2500 BMC SoC. Tested: Build portwell neptune board and load on the target hardware. Ensure that BMC boots to console. Change-Id: I7a97162dfe3031904e27f2de2691e693079c9216 Signed-off-by: Amithash Prasad <amithash@fb.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2018-03-281-1/+1
| | | | | Change-Id: I5db35eddaa3d52bc0c3abd860b3b4382ae972280 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2018-03-281-1/+1
| | | | | Change-Id: I730378193b83becaa03dcc9484638d716b12a1fc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* linux: Host PCIe VGA and random number fixesJoel Stanley2018-03-281-1/+1
| | | | | | | | | | | Joel Stanley (2): ARM: dts: aspeed: Describe random number device clk: aspeed: Mark bclk (PCIe) and dclk (VGA) as critical Fixes: openbmc/openbmc#2978 Tested: Booted image on Romulus and observed VGA output Change-Id: I65c665cd3e4bae5b5e3ee5cd7607cb9b71021e6f Signed-off-by: Joel Stanley <joel@jms.id.au>
* bmcweb.bb: bump versionAndrew Geissler2018-03-271-1/+1
| | | | | Change-Id: Ifba479a68bb3f2986621ba7c9fa626159f4af0e2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* pyphosphor.bb: bump versionAndrew Geissler2018-03-271-1/+1
| | | | | Change-Id: I213afbcca78fd27f3446ebdf38aa694f554fc5ea Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-271-1/+1
| | | | | Change-Id: Icf48a88dc246a14c3e5a5361a25c43e41226f62e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Revert "Add support for c++ futures for armv5te"Brad Bishop2018-03-272-2012/+0
| | | | | | | | | | This reverts commit 61832e963b7b897b4fd13ac18f681ef27f2477e2. No longer required with Poky move to GCC 7.3. Tested: Built a witherspoon image Change-Id: I0b6daaf27240b454dd9b8847a5fc85d4cf9a44de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Generate IPMI Aux firmware revision from VERSION_ID fieldTom Joseph2018-03-261-0/+41
| | | | | | | | | | | | | | IPMI command get device id supports auxiliary firmware version field in the response. This field is 4 bytes and the first 2 bytes would contain the count from the version tag in BCD format, the next 2 bytes would represent the release version in BCD format. This change can support the VERSION_ID format of IBM enterprise build and a build from the master. Resolves openbmc/openbmc#2972 Change-Id: I4f4e23a3be687b814cef51b1b96c7b97778bcb16 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Revert "Enable libyaml nativesdk bake"Brad Bishop2018-03-261-1/+0
| | | | | | | | | | This has been upstreamed. This reverts commit d6c9edf9d789005674c0761b13ff5651f0cccf25. Tested: Built and verified a witherspoon image Change-Id: I95d79c3b5794847fd74e015dd0eecb5c3399e9f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-03-241-1/+1
| | | | | Change-Id: I3d7fb44e67934915ed1818d775d943de59472cb6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: I01c99149582d50cffcab2fa3c46fc28e4e57100f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: I3d19c686e14eb8c00ea963dbd90ee68c58ef319c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* kernel: Move to 4.13 kernelJoel Stanley2018-03-2320-69/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have 236 commits, 127 files changed, 17766 insertions(+), 2128 deletions(-). Some of these are backports from upstream. This list does not include patches from the 4.13 stable releases, but we do include those in the dev-4.13 branch. 1 Alexey Khoroshilov 34 Andrew Jeffery 1 Arnd Bergmann 1 Benjamin Herrenschmidt 1 Bhumika Goyal 1 Brad Bishop 1 Brendan Higgins 11 Christopher Bostic 1 Cyril Bur 14 Cédric Le Goater 49 Edward A. James 3 Gavin Shan 1 Guenter Roeck 8 Ivan Mikhaylov 1 Jacek Anaszewski 1 James Feist 7 Jeremy Kerr 72 Joel Stanley 2 Julia Lawall 1 Ken Chen 6 Lei YU 3 Milton Miller 1 Mykola Kostenok 1 Patrick Venture 2 Philipp Zabel 1 Rick Altherr 11 Samuel Mendoza-Jonas 2 Wei Yongjun 1 Xo Wang 1 Yong Li Note that the 4.13 branch is EOL'd by the Linux community, and as such should not be used for any products beyond development. React to removal of occ hwmon instances from device trees with a new startup/shutdown mechanism for phosphor-hwmon. To fix this, a helper script will be used to start the service that will pass the service the device tree name if it is present, or the udev device path if it isn't. This script will still run from the udev rule as before, but it will stop and start the service itself without using the SYSTEMD_WANTS attribute. As the path to the hwmon environment file matches the service template argument, the paths for the OCC .conf files need to change to match the device path instead of the previous device tree path. Note that the pure device path would have the hwmon instance number in it, but since that can't be known ahead of time it is stripped off by the script that starts the service. In addition, the pure device path for the OCCs contain several ':'s, meaning the associated environment files would also need to. However, Yocto/Bitbake cannot handle a ':' in a file path, so they are converted to '--'s by the script that starts the service and phosphor-hwmon will convert them back internally when it starts. The service file also needed some changes now that the service lifetime is no longer controlled by systemd via SYSTEMD_WANTS. This script will be called by a udev rule to start and stop phosphor-hwmon when the hwmon device driver is started and stopped. It is passed both the device path and the OF_FULLNAME device tree attribute. If OF_FULLNAME is present, it will start the service with that as its template argument, otherwise it will use the device path. This is to handle devices that aren't in the device tree so they won't have OF_FULLNAME. If a '/hwmon/hwmonN' is in the path it is removed, as this path is also used as a path to an environment file and so must be known ahead of time, which the hwmon instance N is not. If there is a ':' in the path name, it is converted to a '--'. Yocto/Bitbake cannot handle a ':' in file paths. Resolves openbmc/openbmc#2953 Change-Id: I815be4d6d9e1cbea8428bb1bb8c332776ee71ece Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* mrw-rev.bbclass: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: I1fa024b3d209d6cc55d6fc1cb70c8aa32a8fc9d1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Fix wspoon power fault error yaml installMatt Spinler2018-03-231-2/+1
| | | | | | | | | | | | Missing the ${D} on the install command - this still managed to work on the older versions of yocto but not with the latest one. Also removed the PROVIDES=<recipe-name> line since it's redundant. Change-Id: I83127f0c457ec31bd99311371ec76abaf6fbc76a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* clear-once: Remove redundant RPROVIDESBrad Bishop2018-03-231-2/+0
| | | | | | | | | PN is already included by RPROVIDES so there is no need to set it again explicitly. Tested: Built a palmetto image Change-Id: I8efce4464ed6757a3e47d9fd95bb99dbee2c7056 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* clear-once: whitespace fixBrad Bishop2018-03-231-1/+0
| | | | | | Change-Id: Ie6ba20b415492d107a3ffe27c6e399364be7a399 Tested: No functional changes Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add power supply to BMC accessible FRUs to generate FRU mapNagaraju Goruganti2018-03-231-0/+50
| | | | | | | | | Adding power supply to BMC accessible FRUs. Partially Resolves openbmc/openbmc#2984 Change-Id: Ib4af12f281f433ecac727324ec75e95fd62b8714 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Autogenerate output YAML for temperature sensors by parsing MRWMarri Devender Rao2018-03-232-1747/+95
| | | | | | | | | | | | | Added temperature sensors to input config YAML to auto generate output YAML entries by parsing the MRW Removed temperature sensors from the handcoded sensor YAML file Resolves openbmc/openbmc#2942 Resolves openbmc/openbmc#2982 Change-Id: I7ac43bdf51e37c78b66c57bbe0cba9cbef2c5e2e Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* phosphor-ipmi-net.bb: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: Ied9af54d61045da6dcfdafeb94bdfee64a2b0c10 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-romulus: Add fan control yaml configsLei YU2018-03-2313-0/+412
| | | | | | | | | | | | | | | 1. The config follows Witherspoon's and remove water-cool/gpu/pcie related configs. 2. Uses FanPwm interface instead of FanSpeed. 3. Removed zone_condition related config which is optional. Romulus is always air cooled. 4. Updated to use groups for events. Tested: Verified that fan control automatically adjust fan speeds based on temperatures. Change-Id: I386c7e921557ef53b445cafe504d2927a76e8e38 Signed-off-by: Lei YU <mine260309@gmail.com>
* phosphor-hwmon.bb: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: Id8cde0845f720c153531e0792aba3d8ca0a52e54 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: Ia554782d8854b2e9cffe5b42afdcf15c5a5d9170 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add Quanta-Q71l READMEPatrick Venture2018-03-231-0/+6
| | | | | | | | | The board is supported although often behind, in that its configuration is only periodically updated. Change-Id: If0d84c9a46eb8b8858305a2737df7eee9d6afe30 Signed-off-by: Patrick Venture <venture@google.com>
* python-*: use pypi classBrad Bishop2018-03-235-16/+14
| | | | | | | | | | 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. Change-Id: I3e818284efb8094e64b004af22781c8a3fcb89b3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* bmc flash service: Remove non-existing dependencyLei YU2018-03-231-2/+0
| | | | | | | | | | | | | | obmc-control-bmc service was removed from build but bmc flash service still depends on it, which causes it never starts and BMC will not enter ready state. Removing the non-existing dependency and this service can be started. Tested: Without this change, BMC becomes NotReady state after power on; With this change, BMC enters Ready state after power on. Change-Id: I469037cc5d5c15a695e1fd1730d14af7cbc03d73 Signed-off-by: Lei YU <mine260309@gmail.com>
* Clean up stale obmc-phosphor-utils referencesBrad Bishop2018-03-2316-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
* distro: Cleanup distro featuresBrad Bishop2018-03-231-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>
* glibc: Drop glibc bbappendBrad Bishop2018-03-231-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>
* Revert "qemu: remove unsupported linker option for RHEL6"Brad Bishop2018-03-231-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>
* Revert "binutils: allow build on RHEL6"Brad Bishop2018-03-235-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>
* json-perl: Update to 2.97001Jens Rehsack2018-03-232-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>
* recipes-devel: clean-upJens Rehsack2018-03-231-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>
* json-perl: Move to recipes-develBrad Bishop2018-03-231-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>
* phosphor-ipmi-net.bb: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: I6b55d9993e132d38fb78f4cd2ac21bd8431d37a6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: I49cf198df342873cad4ce6fa720edab1b120ed21 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2018-03-231-1/+1
| | | | | Change-Id: Iab3a24bc5104e8d6ec32eed8b61151c765d75cc0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* 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-154655-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>
OpenPOWER on IntegriCloud