summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding patch to remove GNOME compiler warning(deprecated)Saqib Khan2017-03-212-0/+14
| | | | | | | | | | | gnome-common is completely deprecated and replaced by autoconf. Therefore this patch removes all gnome dependencies from the code. For reference: https://wiki.gnome.org/Projects/GnomeCommon/Migration Change-Id: I108dd58152e8b60d1390bcbf184877ea415de669 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Replace base_contains with bb.utils.containsSaqib Khan2017-03-211-5/+2
| | | | | | | | base_contains has been deprecated and is replaced by bb.utils.contains Change-Id: I8cf9b63b43febed1557e4644c97ccd6614152f98 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* phosphor-net-ipmid.bb: bump versionPatrick Williams2017-03-201-1/+1
| | | | | Change-Id: I3d3d01fc85d856c95bbadf38465bfc8df7166fce Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.bb: bump versionPatrick Williams2017-03-201-1/+1
| | | | | Change-Id: I5cbc85e2ed3cee7208bde4480b41bbbe165cd3bd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Start net-ipmid only based on socket activationTom Joseph2017-03-201-3/+0
| | | | | | | Resolves openbmc/openbmc#1110 Change-Id: I80f7ae793fe2b48497d95bb94a327ef19539abdd Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Move object_mapper per dbus path conventions.Patrick Williams2017-03-209-9/+9
| | | | | | | | | | | | | | | | | | 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>
* phosphor-ipmi-host.bb: bump versionPatrick Williams2017-03-201-1/+1
| | | | | Change-Id: Icaebcec63642069434f387a388d3bf80efa3dc1b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-03-201-1/+1
| | | | | Change-Id: Iebd7ec1e144e24e99d7753a55beb376cd2d70f12 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.bb: bump versionPatrick Williams2017-03-181-1/+1
| | | | | Change-Id: I9c4caf308f4a5dc7f125931ca9f603cc66befc52 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-logging.bb: bump versionPatrick Williams2017-03-181-1/+1
| | | | | Change-Id: Ifb8be657ec91a39601816c8cb073069622f37eb6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* ipmi-sensor-inventory: Fix the output dir path for sensor config yamlRatan Gupta2017-03-172-2/+2
| | | | | | | Fix the same path in ipmi-sensor-inventory-example-native.bb Change-Id: I57a9173c04a3636864c09f822428cf54f94822f6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Change bbappend file to a wildcard nameSaqib Khan2017-03-163-0/+0
| | | | | | | | This would allow us to upgrade package version without having to modify the file name every time. Change-Id: Ibd09f98124e0e718a86ee504c4216ffa31f2c543 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Specify len() of object by converting to listSaqib Khan2017-03-161-2/+2
| | | | | | | | Helps resolve the following error in python3: TypeError: object of type 'filter' has no len() Change-Id: Id607186baeacc3802f651d5cb72af82d0c10115b Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Replace iteritems() with items() in systemdSaqib Khan2017-03-161-1/+1
| | | | | | | | Deprecated iteritems() method is not forward-compatible with python3 and is replaced by items() Change-Id: Ic6b57da360149c378118673b966bde189d8e2493 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Add phosphor-logging-test to debug tarballMichael Tritz2017-03-162-1/+5
| | | | | | | | These recipe changes will add the package phosphor-logging-test to the debug image recipe. Change-Id: Id0f3e2ee0ec2ebe421586ced928d60c73cbe9b8c Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Templatize host-failure-reboots serviceMatt Spinler2017-03-163-14/+19
| | | | | | | | This service touches a host0 setting, so it needs to be a template and touch host%i. Change-Id: I9cf84ec40f5fe3aa1ad2c420aaa26d522eece6e1 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* obmc-phosphor-image.bbclass: Remove inarp from default buildJohn Wang2017-03-162-1/+1
| | | | | | | | | | | | | | This service was implemented for Barreleye to send out the ARP packet for BMC discovery. We can remove it from default build since it's not necessary for other platforms. Also need to inherit obmc-phosphor-systemd so it can be installed once built in on specific platform. Resolves openbmc/openbmc#1306 Change-Id: I20865177aa939fb729d15e9ba373c80ff8ea59bf Signed-off-by: John Wang <hsienchiang@gmail.com>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-03-161-1/+1
| | | | | Change-Id: If8b02dd3e3cbbebecef9e8a80c924257b7978203 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add FSI enable/disable services for cronus useMatt Spinler2017-03-167-16/+58
| | | | | | | | | | | Start fsi-disable.service to unbind the FSI Driver. Start fsi-enable.service to bind it again and rescan. Also added a fsi-bind@.service so we can ensure the driver is bound each power on. Change-Id: I5fa62b44994aea3bb645e755187f29e720bf3bce Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add virtual/phosphor-logging-calloutsDeepak Kodihalli2017-03-166-1/+62
| | | | | | | | | | | | | | | This virtual generates mappings between sysfs device paths and inventory items. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#1093 Resolves openbmc/openbmc#1249 Change-Id: If67b4ef0850910a076ca212197a4bd0e704d0266 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add virtual/phosphor-ipmi-sensor-inventoryRatan Gupta2017-03-167-0/+818
| | | | | | | | | | | | | | 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>
* inventory-manager: add Before stmt for servicePatrick Williams2017-03-151-0/+1
| | | | | | | | | Ensure the service advertises the primary object it creates so that mapper-wait calls can be deferred by systemd correctly. Change-Id: I8510420320bc7f9d0327a5c0372eb14144392267 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add phosphor-fan-presence to bitbakeMatthew Barth2017-03-154-0/+58
| | | | | | | | Created phosphor-fan-presence recipe along with service file to run the phosphor-fan-presence-tach daemon. Change-Id: I7211d51eaf48648e7bf2f838edee49ecadb534fb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Service for enabling/disabling host failure rebootsMatt Spinler2017-03-152-0/+22
| | | | | | | | | Wraps the auto_reboot host setting in a service so it can be enabled or disabled by starting or stopping the service. Change-Id: Ib3e92f67eb833cd6e31e153b58a63edb6837ae2c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* sdbusplus.bb: bump versionPatrick Williams2017-03-151-1/+1
| | | | | Change-Id: Ie58fbf4d71663d70128a05b9f6dfd5fd8cf07d6e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Mount a specified PNOR UBIFS volumeAdriana Kobylak2017-03-152-0/+12
| | | | | | | | | | | | | | | Create a template systemd unit file to mount a specified PNOR UBIFS volume (systemd does not support template mount files). Create it with an arbitrary size of 1MB, it can be dynamically resized at runtime. Example usage: systemctl start obmc-flash-bios-ubimount@N where N is the desired partition number, ex: 1. This will create a volume named pnor-rwN (ex: pnor-rw1) under the /media directory. Change-Id: I6c4d8662dfb50e83d02bfb946ce11b74726fe3bd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Attach the PNOR mtd device to UBIAdriana Kobylak2017-03-152-0/+11
| | | | | | | | | | | | | Create a new service that gets the PNOR mtd device from /proc/mtd and performs a ubiattach to it. Since only one mtd device (PNOR) is being attached, it's assumed that a /dev/ubi0 device is created. Later when more devices/chips are attached, a udev rule might be needed to link them to a specific ubi device number. Change-Id: I5e3018b7f4b9551861ca52718cc40b8ccfe0da6e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Automatically check for chassis power on BMC rebootAndrew Geissler2017-03-154-1/+32
| | | | | | | | | | | | Run the obmc-chassis-reset@.target: - Check if pgood is on - If it is, create the file in /run/openbmc/chassis@%i-on and - Run the systemctl command to start the chassis power on target Resolves openbmc/openbmc#1094 Change-Id: I93f94fc1b75e35fd353387d0bed5569e07615171 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Targets and services to check for pgood on bmc resetAndrew Geissler2017-03-157-2/+84
| | | | | | | | | | Once enabled these targets and services will be run after a BMC reboot to check if pgood is on and if so, to create a file which will be used by other power on services to know whether they need to run or not. Change-Id: Id2e75f9bce20f362d2f57a79e91ece1eaf7d7c45 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Do not run chassis power target services if power onAndrew Geissler2017-03-153-0/+3
| | | | | | | | | | | | 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>
* phosphor-inventory-manager.inc: bump versionPatrick Williams2017-03-151-1/+1
| | | | | Change-Id: I4fadf9ab68dff9ebd7326c8f1496a73c92576944 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-03-151-1/+1
| | | | | Change-Id: I4b3c77be1c8717129258f1a24c0a3b12afa7a003 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add delay after running mboxd reloadAndrew Geissler2017-03-151-0/+2
| | | | | | | | | | | | The previous temporary fix for openbmc/openbmc#1045 was lost when the code moved over to the new host state code to issue reboots on the watchdog timeout. Now that the new code is in, the software is now guranteed to run this service which means it can simply put the delay in the service file. Change-Id: Ie713f1291072d3a35d721b5a4c911d7baf756d4b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* kernel: i2c workaround and fsi unbind fixJoel Stanley2017-03-151-1/+1
| | | | | | | | | | | | | | | | i2c workaround to ease the symptoms of openbmc/openbmc#998 FSI patch to set the FSI pins to the correct state for Cronus when unbinding the driver. Andrew Jeffery (1): i2c-core: Expand buffers used in i2c_smbus_xfer_emulated() Christopher Bostic (1): drivers/fsi: Set enable line to '1' on unbind Change-Id: Id1be5b9727391e4c56c797e5daa063e29a071b6f Signed-off-by: Joel Stanley <joel@jms.id.au>
* phosphor-led-sysfs: Add DEPENDS on phosphor-dbus-interfacesXo Wang2017-03-141-0/+1
| | | | | | | | | | | | | | | This fixes a build warning WARNING: phosphor-led-sysfs-1.0-r1 do_package_qa: QA Issue: phosphor-led-sysfs rdepends on phosphor-dbus-interfaces, but it isn't a build dependency, missing phosphor-dbus-interfaces in DEPENDS or PACKAGECONFIG? [build-deps] and occasional build failures due to phosphor-led-sysfs:do_configure running before phosphor-dbus-interfaces is built. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id59e0ffff5befa66e90a0d29373368ab0a0a36ee
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-141-1/+1
| | | | | Change-Id: I468dc8928d0d8133f41c5c9abdc2634fbfd0745c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-led-sysfs.bb: bump versionPatrick Williams2017-03-141-1/+1
| | | | | Change-Id: I660be705473dacdaa1a9b9e555daab0487830afc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-03-141-1/+1
| | | | | Change-Id: I68220a9b23da25b3aca07d61428e553ac372cd89 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.bb: bump versionPatrick Williams2017-03-141-1/+1
| | | | | Change-Id: I7d8b7a525bbd084924b68af95790fa804512e257 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-led-manager: add missing dep on phosphor-loggingRatan Gupta2017-03-141-0/+3
| | | | | | | Fixes openbmc/openbmc#1308. Change-Id: I10bbbec6113df49e6d6c0480eb8bf3cc06d017f4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* phosphor-led-manager.inc: bump versionPatrick Williams2017-03-131-1/+1
| | | | | Change-Id: I6a0bb20fe94ad87b049799e698684df6930fe3b4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-03-131-1/+1
| | | | | Change-Id: Id3c296c4b84c37e8ee695ea43f23b60ba2ddffeb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Update linux kernel version to 4.7.10Saqib Khan2017-03-101-1/+1
| | | | | | | | | This is the last supported version of 4.7 branch. There will be no more updates of this level. Joel recommended this change. Change-Id: I8fea65b614c0528997a6f77fb6b6a35c52a6d6cf Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* kernel: FSI fixes and device tree updatesJoel Stanley2017-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Four more bugfixes for issues with the FSI driver from Chris. An update to the Romulus device tree to reflect the fact that it has only one BMC flash. And an addition of a hog for the NC-SI mux pin to the Zaius device tree. Christopher Bostic (4): drivers/fsi: Set I/O to standby values on unbind drivers/fsi: Reorder hub devices so that parent is set before add drivers/fsi: Remove hub devices during master unregister drivers/fsi: Free up allocated resources on fsi-master unbind Cédric Le Goater (1): ARM: dts: aspeed: romulus: remove second BMC flash Xo Wang (1): ARM: dts: aspeed: zaius: Enable NC-SI mux Change-Id: I0bbf8514f1c5f3c04e03ab051ae233d72d3328f4 Signed-off-by: Joel Stanley <joel@jms.id.au>
* mboxd.bb: bump versionPatrick Williams2017-03-101-1/+1
| | | | | Change-Id: I8e30ad9d847dacf0e88123ef8e0d1ed3096f8ece Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-logging.bb: bump versionPatrick Williams2017-03-101-1/+1
| | | | | Change-Id: I4a20edd44397b22a077711ccbbcd5c12d85b49d6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I5fb8e148c527c8cf0a285f824cc898ce953a8b96 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mrw-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I617ece78cd9e7f296ecf0f441405e6e48bdfd8c4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skeleton-rev.bbclass: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I56697e33d0559da9d39a22d811377fcd402c2635 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-logging.bb: bump versionPatrick Williams2017-03-091-1/+1
| | | | | Change-Id: I20b34277d3abdefd9ca8c993608d01b2b0e91d1c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud