summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines
AgeCommit message (Collapse)AuthorFilesLines
2017-06-12Add in OCC hwmon config fileAndrew Geissler3-2/+136
OCC hwmon sensor support is more complicated then other hwmon sensors. It requires that software look at the label and include that in the generated dbus sensor. A separate commit in phosphor-hwmon will handle this new function. The hwmon conf file indicates this new functionial requirement to hwmon by including a new MODE_*=label for each sensor that requires this function. Resolves openbmc/openbmc#1183 Change-Id: I55bff27d3eab478559ae42e290dfe74e2f627e12 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-06-12Add in IR35221 hwon config fileAndrew Geissler5-0/+12
The IR35221 is a new chip which provides temperature information on the VRMs installed in the system. Change-Id: I49e24e14f74400e948c2ed98132ebf5ef66346ff Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-06-12Add in DPS310 hwmon config fileAndrew Geissler2-1/+6
The DPS310 is a new chip coming soon to provide ambient temperature to the openbmc. The config file may need a few tweaks when the chip arrives but this at least provides a base that will not hurt anything. Change-Id: Id5264ddcab7245f9ec9b3dbb5898f76ccf45e82b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-06-12op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia47331538b624955de2ee6f3b8547b18a6e3ffd1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-12Fix up recipes to address missing fan appsBrandon Wyman2-10/+11
Change to use the "softer" default value for PACKAGECONFIG by default. Change to append extra paths in bbappend for Witherspoon. Fix up/change some names in bbappend file for Witherspoon. Resolves openbmc/openbmc#1765 Change-Id: I316e1e857b008ccd67e922698ee7e0a9c5d222fc Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
2017-06-12fix duplicate yaml_dir config variable declaration and usageMarri Devender Rao1-1/+0
yaml_dir is defined both in phosphor-dbus-interfaces.bbclass and phosphor-obmc-yaml.bbclass pointing to different locations. Fixed the same by removing usage of phosphor-dbus-interfaces Also removed unused openpower-dbus-interfaces.bbclass Change-Id: I74d06a0f7d635bd708f58611444061c6d48db858 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-09skiboot.inc: Bump versionAdriana Kobylak2-55/+2
Pick up the latest skiboot version (5.6.0) to pick among the fixes the pflash support for non-4K erase block partitions. Also remove the mtd labels patch since that's also included in the upstream version. Change-Id: If790c731c8b0e2d54e6b9faf09e92290e5bc84bd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-06-09openpower-debug-collector.inc: bump versionPatrick Williams1-1/+1
Change-Id: I8e899214d5fcfb40cf58dc9647fa28f193fa72df Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-09openpower-fru-vpd.inc: bump versionPatrick Williams1-1/+1
Change-Id: I8986015aa06cee26f6481a1be92e84bfa520d8cf Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-09openpower-dbus-interfaces: add as DEPEND for phosphor-loggingPatrick Williams1-1/+2
openpower-dbus-interfaces-native installs error YAML, so it must be a DEPEND for phosphor-logging-error-logs-native. Add via a bbappend. Change-Id: I591c14700cf9a7e2e4ef0a36254520dff563f703 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-09openpower-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ieb97368b602358d853a5fb322e656b9bcd7a5d99 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-08debug-collector: modifying the yaml pathMarri Devender Rao1-2/+2
Change-Id: I8152162aebd246776002776ce0bb79783726ae84 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-08Package yaml files and generated files as part of base classMarri Devender Rao1-4/+1
Change-Id: I6a66dc2fd6d7117f1ac8b085858b911955866814 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-08meta-zaius: Don't run refclock fixup if host is upXo Wang1-0/+1
The clock generator output fixup workaround temporarily disables the clock output when run, crashing the host if it's up. Fixes openbmc/openbmc#1274. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib734ffc43eb29c7b7039419c8fdd42e4d47c3260
2017-06-08Create recipe files for phosphor-cooling-typeBrandon Wyman4-1/+42
Adding service file for this application. Environment file for Witherspoon. This is currently the only system known to really need this check for water cooling property to be set/updated. Resolves openbmc/openbmc#370 Change-Id: I978de38d09111c38d77e1ca4b287724243acf0a9 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
2017-06-07openpower-software-manager.bb: bump versionPatrick Williams1-1/+1
Change-Id: I5c9e223b3292d96670b221614dd02cde43c88fff Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-07Fix the mapping of IPMI chassis info area part numberRatan Gupta6-24/+6
This fix maps the chassis info area partnumber to the model property of dbus object. Resolves openbmc/openbmc#1729 Change-Id: I3974065bb8e3cfc5d5ac9a827546ec8095f717e0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-06-07Create configuration file for BMP280 ambientBrandon Wyman2-0/+10
Change-Id: If5137be315dd7b8f087b79f75a9e5e1f2f112113 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
2017-06-07Add fan zone conditions YAMLGunnar Mills1-0/+18
Define the conditions that may be used when defining fan zones. The current conditions check the cooling types on the chassis because the Witherspoon fan zones are different based on if water cooling is used or not. Change-Id: I850b9f04bafb79f36526b6d355b556005b2336be Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2017-06-07meta-zaius: vcs-control: remove UCD driver bind/unbind hackeryRobert Lippert1-29/+2
The i2cget/i2cset commands in this script can theoretically interfere with the linux hwmon driver state so the bind/unbind around running the i2c commands was added as a defensive measure. But in reality the linux ucd9000 driver does not touch the GPIO registers so there is no chance of any interference. Remove the bind/unbind steps which have had issues in the past and isntead use '-f' argument to i2cget/i2cset to allow the script to run even when the hwmon driver is loaded. Change-Id: I0b3748e263a0578b3da533d75fa2f3ccc3a68b09 Signed-off-by: Robert Lippert <rlippert@google.com>
2017-06-07meta-zaius: remove VIO override recipeRobert Lippert3-21/+0
This recipe is no longer needed on DD1 due to host firmware changes that limit the PCIe speed to gen2. Change-Id: I5bab73a7955b491d50666c3bc2564bfecb03e3fe Signed-off-by: Robert Lippert <rlippert@google.com>
2017-06-05Install events yaml for fan controlMatthew Barth2-0/+54
Updated the fan control recipe files to include the events config yaml file. For witherspoon, an events yaml file was added initially supporting the fan degraded events of missing or containing a nonfunctional fan resulting in the fans running at full speed. Resolves openbmc/openbmc#944 Change-Id: I5cbc69694d2a05ec2d5daab55f045e1e28764828 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-06-05Add sensor and some FRU definitions for ipmi.Patrick Venture14-0/+523
When phosphor-ipmi-host supports returning sensor data, this is the file it will use to build the cpp map and provide the information. This has been tested on my platform via ipmitool from the host. Change-Id: Ie5b0696935d23d6f50c9f62ddb583618a9f3ff91 Signed-off-by: Patrick Venture <venture@google.com>
2017-06-04op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ic10fd5cd466344eed6dc8009cc841fccfec0e046 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-04quanta-q71l package for controlling the SPI master.Patrick Venture2-0/+167
Testing: Used this version to change the register during a BIOS flashing, and it worked as expected. Change-Id: I13e59f6917d535647679cc84ff5c62ed1602ad4d Signed-off-by: Patrick Venture <venture@google.com>
2017-06-03openpower-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: I3983dead1b61a110aff086a7c3078aff438fe006 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-03debug-collector: add native recipe to copy error yamlsMarri Devender Rao2-0/+20
Add native recipe to copy application error yamls to known location. Change-Id: I9a776a8fe29f681ffa48bed6e1b37e6b934a0d52 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-03openpower-software-manager: Recipe fixesAdriana Kobylak1-7/+8
When the do_install block was added to add the script files, the binary from the git repository was no longer installed in the package. Replace with do_install_append. Also remove the duplicated source variable S. And reorder the recipe to make it cleaner. Closes openbmc/openbmc#1713 Change-Id: Iae814884a1b90dd15ea9ead010d4e26f22aa7ca1 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-06-02openpower-occ-control.inc: bump versionPatrick Williams1-1/+1
Change-Id: Ic6f30f29b3f19945e8954f690542f8fb44874a4c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-02openpower-software-manager.bb: bump versionPatrick Williams1-1/+1
Change-Id: I4152506e3b3d0a6e8bbe76f25c8fae7119f93009 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-01openpower-software-manager: Support migration to ubifsAdriana Kobylak4-1/+43
A ubiattach is the first step for any ubi operations. If this service fails, it could be that the pnor chip is formatted differently, as with the case of flashing it with pflash. Enhance the service to: Check if the chip is formatted as a ubi device. If it's not, format it as ubi with a new ubiformat script. Reattempt the attach. This allows a pnor code update without the user having to manually reformat the chip. Closes openbmc/openbmc#1637 Change-Id: Id73b5eae40af68cd49e0ba0deb56efc36bd03981 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-05-31openpower-software-manager.bb: bump versionPatrick Williams1-1/+1
Change-Id: If857b64b2841cc9331cc0a8cfbce2b96b9f79845 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-31Add recipe file for phosphor-gpio-monitorVishwanatha Subbanna4-0/+42
phosphor-gpio-monitor is a generic GPIO monitor application which can be used for any purpose where a GPIO needs to be monitored for certain state. Due to this need, it has been added to obmc package group. Change-Id: I8e11e8d5567d6f4c56479b335d1f6bd9b39401fd Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-05-30openpower-software-manager.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id50cb6ddecc5e6075f6d4c926c9ed46e31b45fbb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-30openpower-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: I3918ae32ff0a10fc38cd45be89782275661c76b8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-26Bump pdbg version for 4.10 kernelEdward A. James1-2/+2
Change-Id: I38816e67a105a6265a8a7933e6d66b95f850f03b Signed-off-by: Edward A. James <eajames@us.ibm.com>
2017-05-26Change FSI service files for 4.10Edward A. James4-5/+7
Latest FSI code changes paths, so we need to update the bind/unbind/scan paths. Change-Id: Ia1d8c5f31a8f0c8a69ca03121741a3ba35761c3a Signed-off-by: Edward A. James <eajames@us.ibm.com>
2017-05-25Create service files to remove read-write UBI volumesAdriana Kobylak3-0/+33
Perform the opposite operations in reverse order as the ubimount service file. Create two service files to remove the rw UBI volumes: A template service file that takes the version id and removes the pnor-rw-<versionid> volumes. This can be used by the Object.Delete interface implementation to remove a software version. A service file that removes the single pnor-prsv volume. This and the template service file can be called by the FactoryReset interface implementation to remove all read-write volumes. Closes openbmc/openbmc#1615 Change-Id: I079eb0fdb7e444434f57abf0421f55864dfb9703 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-05-25obmc-flash-bios-ubimount: Create UBI vol for pnor preserved partitionsAdriana Kobylak2-6/+18
In addition to create a UBI volume for the read-write (rw) pnor partitions, create a UBI volume for the preserved (prsv) pnor partitions to store the host data that should be preserved during a code update. This volume has a common name instead of a unique id because only one copy (the active one) needs to be available in the system. Add checks to only execute the commands to create the volumes if needed (they don't exist). This is needed since the preserved one doesn't need to be created after it's first created. Change-Id: Ib21d7d5343f3cb48ff71edca29631249dc5717a0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-05-24openpower-software-manager.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ie14f4135c05ea60ee484b323b79a3937b19b6084 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-24quanta-q71l: add phosphor-hwmon configsPatrick Venture5-0/+25
This provides configurations for phosphor-hwmon to provide fans and temperature sensors. They also need to be in the devicetree, but this is where they would be if they were. Change-Id: I33911818d0a315dc156bff28c70ec3e91403f0bb Signed-off-by: Patrick Venture <venture@google.com>
2017-05-24openpower-occ-control.inc: bump versionPatrick Williams1-1/+1
Change-Id: Id7f80f5078ae3ebe003fb344b3cece1f172aa3e9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-24debug-collector: Enable use of sdbus++ during buildMarri Devender Rao1-1/+2
Include python native so that sdbus++ can be used to generate error.hpp and error.cpp from error yaml files. Change-Id: Ic7ba8d81b24ebe556147b57d962f5a25173fb201 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-05-24Remove hack from skeleton for mboxd workaroundAndrew Geissler3-3/+0
mboxd has been fixed so this workaround is no longer needed Change-Id: I1eca65558c446e982174f1c4af2f484b8fe5c3b8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-05-23Make use of obmc-fan-control-ready@.targetMatt Spinler1-0/+5
This involves the following: * Start the fan-control-init@.service on a power on. * That service will set fans to full speed, delay for a bit, and then start the obmc-fan-control-ready target. * This target will start the fan monitor and real fan control services. * On a power off, the target and these services will be deactivated. Doing it this way ensures the fans will have had time to ramp up from a cold start before applications start looking at them. Currently, on a reboot at runtime the same thing will occur. The watchdog would have already brought the fans to high speed, so this will extend that time at full speed by another 20 (or similar, it's configurable) seconds, ensuring we know what speed the fans are at. Resolves openbmc/openbmc#1567 Change-Id: I73a1f91f0efaf319df97b59334073116d45f40c3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-19witherspoon - current divisor not needed in vrm-control.shDhruvaraj Subhashchandran1-1/+1
Resolves openbmc/openbmc#1427 Change-Id: I2f09f02d1c5dd84395f614f9bd91fe74e0b9e082 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-05-19openpower-pnor-code-mgmt: Initial recipeAdriana Kobylak6-0/+84
Create recipe for the openpower-pnor-code-mgmt repo. Move the pnor-specific service files from the phosphor layer to the open-power one. Add the new openpower-software-manager to packagegroups. Change-Id: Iab47b82e6872f7f92aed6260c51eaf0acf744aeb Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-05-19op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Idb259b3cbf80930b7f821625006bd1575bfe83d6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-18op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ic33f7e7d40180b6421721778e07a24846f00410f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-18LEDS: Add LampTest group containing all the LEDsVishwanatha Subbanna2-0/+26
LampTest currently expects all the LEDs to be blinking. This change is for Barreleye and Palmetto. Change-Id: I78573124f312195d250b4feebf4cb77249cc1c74 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>