summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
AgeCommit message (Collapse)AuthorFilesLines
2018-08-08rename libapphandler.so to libipmi20.soVernon Mauery1-2/+2
this is the bitbake portion of the renaming of libapphandler to libipmi20. The shared object contains much more than just app commands, so it should be named something more generic. Change-Id: I8e89252a32cb0a331bf31fccf0cff525bca556b0 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> (cherry picked from commit 06e58138a8ddaed752e401383e3c326791f59cfd)
2018-05-10phosphor-ipmi-host: Move configuration to phosphor-ipmi-configAndrew Jeffery1-26/+5
Witherspoon requires an dev_id.json file whose content is partially derived from data provided by the os-release package. os-release is updated for each commit, as some of its content (VERSION and VERSION_ID) can be derived from `git describe`. As dev_id.json was provided by the phosphor-ipmi-host package, every commit transitively triggered a rebuild of phosphor-ipmi-host in order to satisfy Witherspoon's requirements. Always rebuilding phosphor-ipmi-host is unhelpful for several reasons: * It needlessly reduces CI throughput, as it is likely the commits in question do not modify the phosphor-ipmi-host package. * GCC suffers from what appears to be an unfixable[1] bug[2] that causes phoshor-ipmi-host to consume large (>5GiB) amounts of RAM when compiling some (at least Witherspoon) sensor configurations. To avoid this, separate the configuration files out into virtual/phosphor-ipmi-config and phosphor-ipmi-config packages that phosphor-ipmi-host RDEPENDS on. Witherspoon provides an alternative implementation in witherspoon-ipmi-config to mangle dev_id.json to its particular requirements. A virtual is used rather than a simple bbappends for Witherspoon, as the bbappend approach breaks builds of machines other than Witherspoon if Witherspoon is built first: The Witherspoon-specific dev_id.json file is deployed in its mangled form into e.g. a Zaius image. Specifically, the following sequence will trigger the issue: $ TEMPLATECONF=.../witherspoon.conf . openbmc-env $ bitbake obmc-phosphor-image $ rm -rf conf $ TEMPLATECONF=.../zaius.conf . openbmc-env $ bitbake obmc-phosphor-image [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290#c26 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Change-Id: Ib9629fc77b29e2deeab3f1c3a145d9e966c14ec4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2018-05-10Add the default cipher list for all platformsTom Joseph1-0/+4
The cipher_list.json was added only for Witherspoon platform earlier, this change will package the json file in the image and related IPMI commands Get Channel Cipher Suites and Get LAN configuration commands can succeed. Resolves openbmc/openbmc#3143 Change-Id: I3b1db52b3c4bc4cff69a521e047872497ddae3dc Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-02-28Remove legacy settings serviceAndrew Geissler1-1/+2
xyz.openbmc_project.Settings has replaced this function Resolves openbmc/openbmc#2339 Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-16dcmi: rename get temp readings jsonDeepak Kodihalli1-4/+4
Rename dcmi_temp_readings.json as dcmi_sensors.json. This will serve as the dcmi sensor config information to cater both the 'get temperature readings' and 'get sensor info' commands. Change-Id: Ia6f79330a4568be94555d8cb3f57eac23e486317 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2018-02-08ipmi: Refactor whitelist generationBrad Bishop1-1/+9
The current dual-use of packagegroup-ipmid-providers as a dependency insertion point for both native (whitelists) and runtime (provider libs) doesn't work under Yocto 2.3. Move the ipmi provider configuration from recipe scope to the global configuration scope so we can continue to avoid dually maintaining whitelist and provider lists _and_ build under Yocto 2.3. Also rename OBMC_IPMID_PROVIDERS with the more conventional VIRTUAL-RUNTIME_phosphor-ipmi-providers. Change-Id: I1acce0b08047cba2312f60542942cccbcff66aec Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01dcmi: get temperature readings - jsonDeepak Kodihalli1-0/+4
This commit adds a json file that specifies instance numbers and d-bus paths to look-up for temperature readings. The specific json in this commit is mostly empty, and system specific overrides are supposed to add appropriate content. Change-Id: I155a2e037041cf19b903f5b178e6849857a3d39f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2018-01-30DCMI: Get power reading - add config fileMarri Devender Rao1-0/+5
The D-Bus object that captures the power reading varies from system to system, using JSON config file to specify the D-Bus object to read based on the system. Change-Id: Iad153c2871d1ffa73f1bc02b6afb824a60c1ea80 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2018-01-30phosphor-ipmi-host: Add channel config defaultPatrick Venture1-0/+2
To provide a custom channel configuration, provide a virtual phosphor-ipmi-channel-config. Change-Id: I00d8e8aed11a18d193a9066a098611784600da56 Signed-off-by: Patrick Venture <venture@google.com>
2018-01-26JSON file with DCMI capabilities.Dhruvaraj Subhashchandran1-0/+4
This JSON file is containing the DCMI capabilities, this can be overriden for individual systems based on the capabilities. Change-Id: I67231fc8ea6da4e13856da296fc7c24e3122c559 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2018-01-05Get Device ID - JSONDavid Cobbley1-1/+10
This commit adds the required json file to use get device ID with a JSON file in the rootfs instead of a yaml file. Change-Id: Iff7b5caa432e2e8cac169000940e386e83ad9417 Signed-off-by: David Cobbley <david.j.cobbley@linux.intel.com>
2018-01-04Reorder dependencies alphabeticallyPatrick Venture1-13/+13
Change-Id: I0bd57e51c8e8c8d5f3de0bd9562a1789f21dfe34 Signed-off-by: Patrick Venture <venture@google.com>
2017-11-27Add missing dependency on sdbus++.Saqib Khan1-0/+1
These receipes failed to build with yocto-2.3 with the error message "configure: error: Cannot find sdbus++". Change-Id: I11867fcb6cc12e2eb4adfe64b7181757cc985fea Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-10-19Fix YAML overriding.Kun Yi1-1/+1
bitbake tasks use python3, under which filter() returns a filter object which doesn't enumerate as list. As a result none of the overriding YAMLs takes effect. Use list expansion instead. Discussion for context: https://lists.ozlabs.org/pipermail/openbmc/2017-October/009521.html Fixes openbmc/openbmc#2469. Change-Id: I37cc7fc14b6f91c4eb1fb199d7cff52d93c9ad2a Signed-off-by: Kun Yi <kunyi@google.com>
2017-08-30Add BMC accessible FRUs to generate FRU mapMarri Devender Rao1-2/+2
At present MRW does not have FRU ID's for BMC accessible FRUs, so supporting by hand coding the config details. Resolves openbmc/openbmc#1931 Change-Id: Ia33aa56378fe0e31df722b9134c041e66a5133d5 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-08-08Merge hardcoded sensor yamls with generated sensor.yamlDhruvaraj Subhashchandran1-0/+33
This change will enable adding sensors which is not part of the MRW to the MRW bases systems. Change-Id: I0d7d2ff94a668ae77bb8c906e85ef6280dc49830 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-07-05Add native recipe to generate inventory map from MRWMarri Devender Rao1-0/+2
Resolves openbmc/openbmc#1559 Change-Id: I3c663693df78cdf8daac83d49ca35982be27165a Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-15Watchdog: Add recipe for phosphor-watchdogVishwanatha Subbanna1-0/+1
Change-Id: I460e086e1e5d3d5db5405ac29927a7b460f56ff6 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-06-08Added include file to reuse SRC_REV and SRC_URLMarri Devender Rao1-3/+1
Change-Id: I808bc3610506206251015cea5c064c2bf79ba703 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-07phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id8f69a76dd81e813782b6477e5a3599ddd6057a6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-02phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ice061a196659cda3e4dde3196f3284896898f3b0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-23Add virtual/phosphor-ipmi-inventory-selTom Joseph1-0/+2
This virtual provides a YAML file that serves as a mapping between inventory and sensor number for phosphor-ipmi-host. Add a native recipe that builds the YAML from the MRW. This is the default for the machines that support obmc-mrw. Resolves openbmc/openbmc#1514 Change-Id: I3d856ab00c34d3e71926b863f207dd69f7fc8f3f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-05-23phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I1f7ee73630d40e4a9d1549ac994422c4e6c40dc4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-19Put soft power off service in host shutdown targetAndrew Geissler1-0/+8
This will ensure we give the host a chance to shutdown properly when a power off is requested Change-Id: I3e58a1ad6a187f63dc27448a1f6c2ac25d4a58e3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-05-19phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I173dcf4fe889f2abf0badb0ddba52c13ea1edc0c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-09phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I2055b1709ad715b30c86fd18d57f3a98c3e794bc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-08phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I5010280d5097e6a21b508a47536c9f792161f961 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-27phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Iab5b579c2830fe8d86d0372091e0289d8ed3c3f8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-20phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Icb06b4a6aaed85832578ebe39aefdddba612cd8b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-19phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ibe0a1f1eeeaf7d61093a9fe5e4df7dfdc6fe7b56 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-17phosphor-logging, phosphor-ipmi-host: bump versionPatrick Williams1-1/+1
phosphor-logging.bb: bump version phosphor-ipmi-host.bb: bump version Change-Id: Idb16c92551d9091458b1eef682f580f9170c9901 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-12phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I01ab7e15cbf22cb985e4898a572e36700649fdd6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-04phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I6a184e98431aa1f0b28b4c925c8833f84ae8c7e9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-04IPMI: Provide recipe file for soft power off serviceVishwanatha Subbanna1-11/+2
Change-Id: I9d17bb3b90dee86e2290b8552bb519b0164c477c Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-03-31phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I7eba69049705e2adc63693622a515ecc9e64020e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-31phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia71cbd673805f0ae596303d577a0b5d13055cea1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-30phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I387cce1b32d42986a9a13e46d95f6a8bdd9b5052 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-28phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id4bfd34861c282dd6310c454edc851da1275b108 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-27phosphor-host-ipmid: add recipe dependenciesRatan Gupta1-0/+4
Add build / runtime dependency on sdbusplus and phosphor-dbus-interfaces. Change-Id: I510c22df60f9ae046243cdb9889f1ce645ceb9d7 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-21phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I5cbc85e2ed3cee7208bde4480b41bbbe165cd3bd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-20Move object_mapper per dbus path conventions.Patrick Williams1-1/+1
phosphor-fan-presence.bb: bump version phosphor-inventory-manager.inc: bump version phosphor-ipmi-host.bb: bump version skeleton-rev.bbclass: bump version phosphor-led-manager.inc: bump version phosphor-mapper.bb: bump version phosphor-ipmi-fru.inc: bump version phosphor-state-manager.bb: bump version phosphor-logging.bb: bump version openpower-fru-vpd.inc: bump version Resolves openbmc/openbmc#1112. Change-Id: Iaf32b0e828dc4f2da021eae9b8e1d440042841d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-20phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Icaebcec63642069434f387a388d3bf80efa3dc1b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-18phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I9c4caf308f4a5dc7f125931ca9f603cc66befc52 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-16Add virtual/phosphor-ipmi-sensor-inventoryRatan Gupta1-0/+5
This virtual provides a YAML file that serves as sensor inventory configuration for phosphor-host-ipmid. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#781 Resolves openbmc/openbmc#1212 Change-Id: I25034dd3ed825e2ef320ab0b38ac2f733afded47 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-14phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I7d8b7a525bbd084924b68af95790fa804512e257 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-09phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I83c70c264d3851991ac5880a4e00f1ceb7d5d06f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-03phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I6b5fa55845409a74b4521a7ae2592df3f2474e17 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-01phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: I5f69cb0c2e7e9a48aee2f33ad28481e48e0e37b4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-24phosphor-ipmi-host.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ie3957ba5a907002a11e929f2ccdcddd31898b601 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-24ipmi-whitelist: fix compile issuePatrick Williams1-1/+1
ipmi-whitelists were not working correctly when restored from sstate due to incorrect path locations in the bbclass. Files being installed with the do_install step were not associated with the package because they were placed in the wrong directory. By placing in the right directory, they are placed into the sstate file and restored correctly. The files were also installed into /etc and move to /usr/share. This matches what is being done for the mrw files (see phosphor-ipmi-fru.bbclass for example). Change-Id: I1881d383d4d9d7d3098411fa83c85e49c3a08560 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>