summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower
Commit message (Collapse)AuthorAgeFilesLines
...
* openpower-software-manager: Create a mount dir for ubi volumes.Saqib Khan2017-08-021-0/+4
| | | | | | | | | | | | | | | After a BMC Code update the directories under /media/ are deleted. Therefore the obmc-flash-bios-ubiremount.service fails to mount the PNOR ubi volumes as mount point is no longer exist. Add a check to create the mountdir before mounting the ubi volumes on /media dir. Resolves openbmc/openbmc#2062 Change-Id: I4f148fb376795102bd630e87fc8045e422e796ff Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* witherspoon:Rename avsbus-workaround to power-workaroundsAndrew Geissler2017-08-024-9/+9
| | | | | | | | | | This service/script will now be used for all required power workarounds that the BMC needs to apply during boot. Renaming to support this more generic purpose of this script. Change-Id: I9b0fbdff37f6ddc169391f95497d2d69620e552c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-software-manager: Create /usr/local mount pointAdriana Kobylak2017-08-021-0/+2
| | | | | | | | | | Mount /usr/local as a tmpfs to be used as a patch location for the host bios code and (eventually) the bmc. Add a dependency to it to the pnor updater service starts since that's a service that will use it. Change-Id: I41cf3f4f536bad4b3966503953f79db2d052022d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* witherspoon:VDDR/VDN leakage and GPU PGOOD updatesAndrew Geissler2017-08-022-9/+67
| | | | | | | | | | | | This will disable GPU pgood from causing system faults and workaround a leakage issue with memory. This update came in one change set from the power team. Resolves openbmc/openbmc#1958 Change-Id: I00c3d0f3cdd759d3b77e748ed9808e10dfde06db Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I2761e4faefc304f284189ff176c321ac2290ae1e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager:re-attach pnor mtd device to ubiSaqib Khan2017-08-012-3/+16
| | | | | | | | | | | | | | | | - Removed the ubiattach dependency from ubiremount.service, since it was attempting to reformat the pnor chip on every BMC reboot. - Attempt to reattach the pnor mtd device to ubi only if it is formatted as ubi. This approach will help preserve the systems that are not formatted as ubi. Resolves openbmc/openbmc#2061 Change-Id: I83698c05fd58a0f01c597583109d4009b02239a0 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I34c30d135f26d8e4f671b71ca2a81141827d9f32 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-palmetto: Fix occ hwmonLei YU2017-08-013-1/+6
| | | | | | | | 1. Add openpower-occ-control into build to bind/unbind occ-hwmon driver; 2. Modify hwmon config to use the updated occ-hwmon device. Change-Id: I5ad0f2b7b95b41ff216381e6689926201930d097 Signed-off-by: Lei YU <mine260309@gmail.com>
* PNOR: Create service file to remove read only UBI volumesSaqib Khan2017-08-012-0/+10
| | | | | | | | | | - A template service file that takes the version Id and removes the pnor-ro-<versionId> volumes. This can be used by the Object.Delete interface implementation to remove a software version. Change-Id: Ife7763825d947e81790d23a436ffd8c9e6762b28 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* meta-openpower: Define i2c-occ featureLei YU2017-08-013-0/+4
| | | | | | | | | | | OpenPOWER P8 systems uses i2c to access occ. Define i2c-occ OBMC_MACHINE_FEATURES and append EXTRA_OECONF in openpower-occ-control.bb so that it compiles with I2C OCC support. Enabled this feature on Palmetto first. Change-Id: I1c07d28494fc5e87e86a3be1bfcfd955770e14e7 Signed-off-by: Lei YU <mine260309@gmail.com>
* Fix execution dependency with checkstop monitorVishwanatha Subbanna2017-08-014-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | phosphor-gpio-monitor watching for checkstop instance is configured to start at host-start target and to stop at host-stop target. On detecting the checkstop condition, it is configured to invoke obmc-host-crash target, which in turn would invoke host-quiesce target. Starting and stopping the gpio monitor was achieved by having 2 target files that had just 'Requires' relation with gpio-monitor. This commit removes the target and uses '.wants' relationship and puts a drop-in unit for establishing a `Conflicts` relation with obmc-host-crash target, which is what is invoked by gpio-monitor on detecting checkstop. This will ensure that gpio-monitor is stopped before starting crash target and not relying on power off to do the same. Fixes openbmc/openbmc#2022 Change-Id: I4dee93859a533c4d1a5138f4c3dd048160301e03 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Ensure host updater runs before mboxdAndrew Geissler2017-08-011-0/+1
| | | | | | | | | | | The host updater service generates the links to the PNOR partition files, these are required by mboxd Resolves openbmc/openbmc#2051 Change-Id: I376d56dbce1be5fdbf97af870430d26e7b549117 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* settings: meta-zaius: add overrideDeepak Kodihalli2017-08-012-0/+7
| | | | | | | | Zaius had a way to override the reboot policy setting. Make sure that still works with the new settings application. Change-Id: I51e32705b9aa4787fadab211f57b5fdcf75a3207 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add GPIO PresenceGunnar Mills2017-07-315-2/+24
| | | | | | | | | | Add the GPIO Presence service file and needed Witherspoon conf files for power supply GPIO presence detection. Resolves openbmc/openbmc#1329 Change-Id: Ie8d5e3e6c2bda1c85fd10a4cffacfdd7ce9840ae Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* PNOR: Mount ubi volumes on BMC rebootSaqib Khan2017-07-313-0/+46
| | | | | | | | | | | | | | - Create a static service file that will be run on all BMC boot to remount the ubi volumes. - Read the ubinfo for all available volumes from obmc/flash-bios script. - Re-Mount the available volumes on /media/ dir using the volume names. Resolves openbmc/openbmc#1848 Change-Id: I9e336340a04f335d034438406e5f0fff9b21d1b9 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* openpower-dbus-interfaces.bb: bump versionPatrick Williams2017-07-301-1/+1
| | | | | Change-Id: I55b471de6ebd3684ae78478030e6dc074cc555d1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I20395da9ad5261d88819663a0b167009dd9a1fb6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I7079e14d5ccc905d5887b7670e53fed6d497b24c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* kernel: new Maxim MAX31785A driverJoel Stanley2017-07-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew has cooked us up a proper pmbus MAX31785A driver. This bumps the kernel to include that driver, the device tree updates for the new bindings, and a userspace change for Witherspoon. The userspace change was reviewed and got five +1's: phosphor-hwmon: Update Witherspoon fan labels for PMBus driver The reimplementation of the max37185 fan controller driver uses the Linux PMBus subsystem, which exposes the installed number of fans rather than all supported fan IO. https://gerrit.openbmc-project.xyz/#/c/5564/ It is included in this commit so the system remains bisectable. Andrew Jeffery (6): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation ARM: dts: aspeed: witherspoon: Update max31785 node hwmon: pmbus: Add fan control support hwmon: Remove MAX31785 implementation pmbus: Add driver for Maxim MAX31785 Intelligent Fan Controller ARM: dts: aspeed: Witherspoon has a MAX31785A fan controller Joel Stanley (2): ARM: dts: aspeed: romulus: Update max31785 node ARM: dts: aspeed: firestone: Update max31785 node Change-Id: I7a7b86f5ee6ff38803d4f62c3d3ac99edbea45fb Signed-off-by: Joel Stanley <joel@jms.id.au>
* openpower-dbus-interfaces.bb: bump versionPatrick Williams2017-07-261-1/+1
| | | | | Change-Id: Id0f1d7174d63332af513683124e466e691d12dd3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-251-1/+1
| | | | | Change-Id: I6f60856ca9eec13128762a14f02b08cd81d2b23c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-romulus: Add OCC hwmon config filesLei YU2017-07-254-0/+141
| | | | | Change-Id: I49ee3fb11568e35562d6b8a4d4a5f4b5845efdd4 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add in CPU inventory for ZaiusAndrew Geissler2017-07-255-1/+100
| | | | | | | | | The CPU inventory from the host is what triggers the OCC control object creation. To get OCC control support, need to have the CPU inventory objects present and functional. Change-Id: I5a88d55e5e0be5e3e61dd0ff8f519a7462588aa6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add occ control application into zaiusAndrew Geissler2017-07-251-0/+2
| | | | | | | | | | | | The occ control application allows occ pass through support as well as binding and unbinding the occ device at the appropriate times. This binding and unbinding will enable the hwmon sensors from the occ to appear. Resolves openbmc/openbmc#1951 Change-Id: Ifa4d746d0af48522d877cf0238a03943a27245d8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-241-1/+1
| | | | | Change-Id: Id8a305c3feed84d9c5e12a6dd4d4b921b45361d2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add in OCC hwmon config files for ZaiusAndrew Geissler2017-07-243-4/+178
| | | | | Change-Id: I32c71693b855208e4cb9579490e8f2d93fe113d8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-07-241-1/+1
| | | | | Change-Id: I776368a666f3ca4f62a5263711c901ea699a9375 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-software-manager: Create bbappend to specify ubi locationsAdriana Kobylak2017-07-241-0/+6
| | | | | | | | | | Each system can specify the locations where the images should be stored during a bmc code update. Create one for witherspoon. Resolves openbmc/openbmc#1758 Change-Id: Ib024554b97d01c9783219e224eed0d12f6b4574f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* pflash: bump to v5.7-rc2Joel Stanley2017-07-212-36/+2
| | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (1): libffs: Fix ffs_lookup_part() return value Cyril Bur (4): libflash/mbox-flash: Minor fixups before V2 libflash/mbox-flash: Update to V2 of the protocol libflash/libffs: Correctly update the actual size of the partition libflash/libffs: Zero checksum words Oliver O'Halloran (1): libflash: Initialise entries list earlier Suraj Jitindar Singh (1): libflash/mbox-flash: Implement MARK_WRITE_ERASED mbox call Change-Id: If49644ef2680aeed901002b201391ae7abbbe651 Signed-off-by: Joel Stanley <joel@jms.id.au>
* wspoon: Normalize native fan bbappend search pathsBrad Bishop2017-07-219-4/+4
| | | | | | | | | Set FILESEXTRAPATHS to PN for all native recipe appends. Resolves: openbmc/openbmc#1991 Change-Id: I4f2fc9548dfab5d50970fcfcf1cb6082ae5d9288 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-software-manager: Move ubiumount.service logic to scriptAdriana Kobylak2017-07-193-15/+26
| | | | | | | | | | The service files that manage the pnor ubi volumes and mount points are starting to get too much logic in them. Move the logic to a shell script. Closes openbmc/openbmc#1673 Change-Id: I6c9fb239b493eb64049fd4b8efc9be6eaf5b9b79 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* openpower-software-manager: Adjust the size of the ubi volumeAdriana Kobylak2017-07-191-6/+11
| | | | | | | | | | | | | | | | | | | The ubi volume size is the allocated size when they're created so need to set the max size needed at creation time. The size will be passed in with an argument (via openbmc/openbmc#1979) so for now approximate the sizes based on current file sizes. Decrease the size of the read-only partition to save some space, since even though the volume size adjusts to the size of the image, ubi will still reserve that space for the volume. Increase the size of the read-write volume to be able to fit the read-write partitions. Slightly increase the size of the prsv volume, there are only 3 pnor prsv partitions of a few KB each. Change-Id: I3175c731fa19127b6b16db5fe7af0cebc66e7ead Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* openpower-software-manager: Move ubimount.service logic to scriptAdriana Kobylak2017-07-192-15/+29
| | | | | | | | The service files that manage the pnor ubi volumes and mount points are starting to get too much logic in them. Move the logic to a shell script. Change-Id: I57d6ff7ffb32d24704ceec77afd1d07622bc6de8 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* openpower-software-manager: Move squashfsmount.service logic to scriptAdriana Kobylak2017-07-192-6/+53
| | | | | | | | The service files that manage the pnor ubi volumes and mount points are starting to get too much logic in them. Move the logic to a shell script. Change-Id: I4396bcd9fcfd253eeaa3a5ce00621d97386ff399 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* openpower-software-manager: Move ubiattach and ubiformat to single scriptAdriana Kobylak2017-07-195-38/+52
| | | | | | | | | | | | | | | | | The service files that manage the pnor ubi volumes and mount points are starting to get too much logic in them. Create a single shell script instead of having all the commands and logic in the service files. Also specify the ubi device number in ubiattach via the -d parameter so that it matches the pnor mtd device number. In that way we always know what the ubi device for pnor is, for when the bmc chip is formatted with ubi we can differentiate them. Remove the ExecStop entry on the service file, no need to detach the volume when any service file stops. Change-Id: Ib41592ea40ef8e58602100bb3ab51c5f4faada18 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add Witherspoon thermal policyBrad Bishop2017-07-193-0/+189
| | | | | | | | | | | | Add Witherspoon thermal policy rules for the Witherspoon system. Do not allow the system to remain running when three or more POWER9 cores have a temperature of gte 115 degrees C. Resolves: openbmc/openbmc#1186 Change-Id: Idaf7b78c06de543ada477059867d40df4c86d8c6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Witherspoon fan policyBrad Bishop2017-07-194-0/+465
| | | | | | | | | | | | | | | Add Witherspoon fan plug policy rules for the Witherspoon system. An air cooled Witherspoon requires a minimum of three functional fans. If the number of functional fans drops below that for longer than five seconds power the system off. A water cooled Witherspoon requires a minimum of two functional fans. If the number of functional fans drops below that for longer than five seconds power the system off. Change-Id: I0bba905dcd7542c43215a051e2df2c87fefce154 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* pdbg: update to version 1.0Joel Stanley2017-07-191-2/+4
| | | | | | | | | | | | | | Upstream changelog: - Move to a generic description of the hw topography using device-tree - General build bugfixes - Build libpdbg as a shared library - Complete support for POWER9 including get/putmem and register operations - Minor code clean-ups The build now depends on dtc. Change-Id: If49a212e4d684b72b664086e52ffc5ae4e9aa980 Signed-off-by: Joel Stanley <joel@jms.id.au>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-191-1/+1
| | | | | Change-Id: Ib97be091e3a8d01cade486e24793f79dd48584a3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Remove legacy hwmon applicationBrad Bishop2017-07-192-3/+2
| | | | | | | | phosphor-hwmon and the /xyz/openbmc_project/sensors namespace are fully functional. Change-Id: I42756f4246280cbfeeedebf6073ea301ce7b78be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-07-191-1/+1
| | | | | Change-Id: I4309936aeda5bb4dcffc3be7a4142ef1d61b5480 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-dbus-interfaces.bb: bump versionPatrick Williams2017-07-191-1/+1
| | | | | Change-Id: I37cd3ff4aa6f00ec36833b1e609a82a7f66d7b91 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* barreleye: remove unused meta-ibm directoryPatrick Williams2017-07-181-1/+0
| | | | | Change-Id: Ib956526f7ddce6f406c5e36cc92c966f040e988b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* wspoon: Add secondary fan rotor sensorsBrad Bishop2017-07-183-0/+16
| | | | | | | | | | Create DBus objects for these additional sensors and update application configuration to consume them. Resolves: openbmc/openbmc#1188 Change-Id: If0c75ba9a2cae7811694379649756e1310e9a25a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* mapper: Generate an environment fileBrad Bishop2017-07-182-0/+12
| | | | | | | | | | | | | | | Mapper will soon consume four command line arguments that limit the scope of watched path and interface namespaces. Add tooling to generate this environment file based on a new bitbake variables. Add xyz-openbmc_project and org-openbmc by default in the Phosphor layer and other layers can add additional namespaces as needed. Change-Id: I1c03aa91b75d03652a8a8fb80737553fef224fdf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-07-171-1/+1
| | | | | Change-Id: I2e55ace07fa73cc814d7cce12355961af5296149 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager.bb: bump versionPatrick Williams2017-07-171-1/+1
| | | | | Change-Id: I11cbd810a4071236bd1b7e415bd6b653f770eb01 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Revert "Zaius: Remove checkstop monitor since GPIO bindings are not ready"Xo Wang2017-07-171-8/+0
| | | | | | | This reverts commit 6031bb6c798bdc86146836582034ab8ef8a3987c. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ia49ba69173098080daf6bf5ada4e3d02562f6f91
* meta-zaius: Override checkstop monitor service envXo Wang2017-07-172-0/+5
| | | | | | | | Override the checkstop monitor service environment file in order to add the keyboard key number for the Zaius checkstop GPIO pin. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I52a3f54d9f10c82c7bffcdc7012c178d97e8124d
* wspoon: Rename fan sensor objectsBrad Bishop2017-07-134-16/+16
| | | | | | | | Add a _0 prefix to fan sensor objects to reflect their dual rotor feedback sensing nature. Change-Id: I6de29b16c806d8e2b584c769af5f01e4ed5528f5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud