summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing build dependenciesBrad Bishop2018-02-013-0/+3
| | | | | | | | | Add some missing sdbusplus dependencies. Uncovered by Yocto 2.3 per-recipe sysroot feature. Tested: Built effected recipes under Yocto 2.3 Change-Id: I165165af96b9a57e8975d7fb8bf5934702759008 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add missing pkgconfig dependenciesBrad Bishop2018-02-014-0/+4
| | | | | | | | A number of skeleton recipes were missing pkgconfig dependencies. Exposed by Yocto 2.3 per-recipe sysroots feature. Change-Id: I514a95d08e199b395355341fec586b2af11428b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* systemd: limit bbclass hooks to class-target scopeBrad Bishop2018-02-012-5/+10
| | | | | | | | | | Allow the phosphor systemd and dbus bbclasses to be inherited by recipes using BBCLASSEXTEND (native, etc). No-op in non-target recipe class context. Tested: Built an image and verified dbus and systemd unit files. Change-Id: Ib2f64233f89d05679c568527a074d9236729201f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* logging: refactor virtualized recipe build depsBrad Bishop2018-02-011-8/+7
| | | | | | | | | | | | | | | | React to a bitbake behavioral change when removing build dependencies from virtualized recipes. Starting with Yocto 2.3 the recipe dependencies indicated in the patch are not removed from the dependency list. Minor whitespace change. Dropped nativesdk-phosphor-logging dependency removal as it wasn't a base dependency in the first place. Tested: Built the recipe in all effected recipe contexts Change-Id: I07b40951fff752af44dcdc32f5a301e3912bbdc3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add recipes for building webui on targetEd Tanous2018-02-011-0/+45
| | | | | | | | | This patchset adds the ability to build and package the phosphor-webui and rest-dbus packages as static assets into the filesystem, for the webserver to host. Change-Id: I190eeb3172cbebe5b5ab8d895e5cc9b5647d739b Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* wspoon: Increase watchdog timeoutMatthew Barth2018-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | Increasing the watchdog timeout to 10sec to allow dynamic fan speed changes to continue until a BMC performance issue is resolved. The watchdog wasn't being pinged within the original 3 seconds. This would cause the fans to run at 100% PWM and eventually be marked nonfunction resulting in a system being shutdown. Temporarily, marking a fan nonfunctional when it's tach feedback speed is above the target speed for witherspoon has been removed. This would keep the system from being shutdown, however the fans are no longer under dynamic speed control after the watchdog trips. Increasing the watchdog timeout to 10sec prolongs dynamic fan speed control staying active. If the watchdog trips, issuing a reboot will allow dynamic fan speed control again. Change-Id: I6e52892a2c6228fd5175dc2d279a947554423221 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Don't run mbox reset until dbus object availableAndrew Geissler2018-02-011-0/+2
| | | | | | | | | | | | | The mbox reset command run within this service requires the mboxd dbus object (org.openbmc.mbox) be available. Prior to this commit, OpenBMC tended to get lucky with the ordering but there was no guarantee. This commit will ensure the ordering is always right. Resolves openbmc/openbmc#2850 Change-Id: Ia9efeb6e06ac47018d449ee2cab2651bc00ab0ed Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* wspoon: Increase fan fail shutdown delayMatthew Barth2018-02-012-4/+4
| | | | | | | | | | | | | | | When more than one fan is nonfunctional, wait 10 seconds before powering off the system. This is a change done to help mitigate a performance issue where PDM is held off from processing fan functional state property changes which could cause a system to be shutdown even after enough fans return back to a functional state. Increasing the shutdown delay to 10 seconds allows enough time on the BMC for PDM to correctly process all the property changed signals for the fan functional properties. Change-Id: I3c9170d80ca200463c85dfc2df85b33e531c8440 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* skeleton-rev.bbclass: bump versionAndrew Geissler2018-02-011-1/+1
| | | | | Change-Id: I8f76a8f5db069b1867e69ee891bee765897255e4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-dbus-interfaces.bb: bump versionAndrew Geissler2018-02-011-1/+1
| | | | | Change-Id: I917ebdf71bbfddc3cc606795f45fab66d72064ce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Systemd: backport a new api for uuid generationYong Li2018-02-016-0/+876
| | | | | | | | | | | | | | | | | The current uuid generation method just export the machine-id, it does not match the systemd description (https://www.freedesktop.org/software/systemd/man/machine-id.html): This ID uniquely identifies the host. It should be considered "confidential", and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. Backport the new sd_id128_get_machine_app_specific from systemd 233, to replace the old uuid generation method. Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* DCMI: Get power reading - add witherspoon configMarri Devender Rao2018-02-012-0/+4
| | | | | | | | | 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 sytem. Change-Id: I2bfac0826b051d243b4edba34cc0b0e09dc648cf Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* meta-romulus: Add phosphor-cooling-type serviceLei YU2018-02-014-1/+39
| | | | | | | | Romulus is air-cooled machine, configure phosphor-cooling-type to always set AirCooled to true and WaterCooled to false. Change-Id: I3b3e477c1b45ff9fb9a4c37ca837cccbb1bf07fa Signed-off-by: Lei YU <mine260309@gmail.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: I3f292664544794fd49c7dd20b016b11de2a822a5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* gevent-websocket: move to Phosphor layerBrad Bishop2018-01-311-0/+0
| | | | | | | | | This recipe was erroneously merged directly into the meta-virt subtree with 1ea01342e. Move to the phosphor layer. Tested: Built an image and verified gevent-websocket still installed Change-Id: I33eba0dedbd5ff2a522ddab526e5787345a2f5d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* dcmi : get temperature readings: witherspoon jsonDeepak Kodihalli2018-01-312-0/+59
| | | | | | | | This commit adds a json file that specifies instance numbers and d-bus paths to look-up for temperature readings. Change-Id: I501f75214042c5b1ad56e64d0893e142a90a2efc Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* dcmi: get temperature readings - jsonDeepak Kodihalli2018-01-312-0/+12
| | | | | | | | | | 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>
* Remove Stonewither fan and power supply supportMatt Spinler2018-01-313-0/+8
| | | | | | | | | | | | | | | | | This does the following: * Removes the D-Bus monitor rules for monitoring fan and power supply status. * Removes the fan control features and packages. * Removes the MSL (Min Ship Level) checking for the MAX31785 fan controller that is no longer present. Resolves openbmc/openbmc#2700 Change-Id: I5c824d68dd21d090a08044ac84d2f275f58c97b5 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add args to Witherspoon power supply monitorMatt Spinler2018-01-313-3/+7
| | | | | | | | | | | | | | | | These arguments are needed to allow the application to collect the input power history and put it on D-Bus. The new arguments include: * The number of average and maximum power records to keep in D-Bus. * GPIO information for the GPIO used to send the sync command to the power supplies to have them restart their history recording. Change-Id: Id25cf1daa6ba070b773b49308a54ba51c0839980 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create recipe to add service for power supply SYNCBrandon Wyman2018-01-312-1/+16
| | | | | | | | | | | This synchronizes the energy sampling clocks between the two power supplies in the system, which should result in better accuracy of the measured input energy that gets reported. Resolves: openbmc/openbmc#1737 Change-Id: I6e5d6c6277422148d916d72ab88a1fff88a3a594 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Add service file to synchronize INPUT_HISTORY dataBrandon Wyman2018-01-311-0/+14
| | | | | | | | | | | During the power on sequence, the power supplies should have their INPUT_HISTORY data synchronized. This can be accomplished by toggling the PS_FFS_N GPIO pin low then high. Use existing phosphor-gpio-util application to accomplish this. This INPUT_HISTORY data will be used later for telemetry data. Do not toggle on reboot with power on. Change-Id: I1e90914827e0e450f8950384d2868a9c730e5ee9 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: I7c11bd9ac69c0da05e33bf662c05048221c4a98d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: I49b8bdefa7a351f6196949479204d8e4d20235fd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add Stonewither OpenPOWER system layerMatt Spinler2018-01-318-0/+113
| | | | | | | | | | | | | This system uses much of the same hardware as Witherspoon, but not have any power supplies or fans in the chassis. As such, it includes the meta-witherspoon layer and points to the Witherspoon device tree and MRW XML. A future commit will fully remove fan and power supply monitoring. Change-Id: I1c7f7da66b306f3c30eb955a63121cc3f62f663a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add IR38163 re-probe workaroundKen Chen2018-01-315-0/+80
| | | | | | | IR38163 work on DC on state, need re-probe for centriq2400 HW design Change-Id: I8f2bf997d3fdd9c223367c96b4bd38768c006cdb Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: Ie59c7f7b7f6b5207493b9a95c1d2471fb600d80c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-dbus-interfaces.bb: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: Icd4203e33f4d410437573b7e60bf137810b7a4ac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-time-manager.bb: bump versionAndrew Geissler2018-01-311-1/+1
| | | | | Change-Id: If649694e96ee392181c137dd6b4abd8cc82e2599 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Use variables for MRW XML filename and pathMatt Spinler2018-01-3017-17/+36
| | | | | | | | | | | | | | | Create an mrw-xml bbclass that has variables for the MRW XML filename and path to it. Then, changes all users of the MRW XML to inherit that class and use those variables. The filename will default to ${MACHINE}.xml if it hasn't already been set to something else, such as in a .conf file. This is done so that the file can be something other than ${MACHINE}.xml. Change-Id: Ia7021e5a5d5e7946829e58688250aa64250cb00e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* DCMI: Get power reading - add config fileMarri Devender Rao2018-01-302-0/+8
| | | | | | | | | 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>
* op-occ: add native recipe to install error yaml to shared locationMarri Devender Rao2018-01-302-0/+38
| | | | | | | | | | Extend recipe for native recipe which installs error yaml files to shared location Partially resolves openbmc/openbmc#2705 Change-Id: I02405a24353a565dbd34fdca06098be8337cd921 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* phosphor-fan.inc: bump versionAndrew Geissler2018-01-301-1/+1
| | | | | Change-Id: I5582513508ddef5ee70c9e98c1c25db10e8b2703 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-301-1/+1
| | | | | Change-Id: Ic8064f261f5dd2a90b84ece27c89a3a1c01a2c55 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-301-1/+1
| | | | | Change-Id: I5e0e94d168061b6d82214779aa6cbd9796dc27b3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-01-301-1/+1
| | | | | Change-Id: I4c79b47aade64c8982384cca96e026a39095c22f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-fan.inc: bump versionAndrew Geissler2018-01-301-1/+1
| | | | | Change-Id: I30898201c6fab8aa658e4483b7926cb54c92e475 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host: Add channel config defaultPatrick Venture2018-01-304-0/+36
| | | | | | | | To provide a custom channel configuration, provide a virtual phosphor-ipmi-channel-config. Change-Id: I00d8e8aed11a18d193a9066a098611784600da56 Signed-off-by: Patrick Venture <venture@google.com>
* meta-romulus: Add fan presence yaml configLei YU2018-01-292-0/+21
| | | | | | | | | | Romulus has 3 fans using aspeed fan tacho, and has no GPIOs to detect fan presences. So assuming the fans are present as long as fan tach is there. Change-Id: I60f36f8127a437511fde22a4c45458b70b4074ed Signed-off-by: Lei YU <mine260309@gmail.com>
* Add Sensor conf file for centriq2400Ken Chen2018-01-2926-0/+412
| | | | | Change-Id: Ie65534b741fab60d0ed1494189c50938224d09b1 Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-291-1/+1
| | | | | Change-Id: Id9a115c950ec17740c6803040325044782c27665 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-dbus-interfaces.bb: bump versionAndrew Geissler2018-01-271-1/+1
| | | | | Change-Id: Ie15d145b150e0897cc631876f32dd1d022c30955 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-user-manager.bb: bump versionAndrew Geissler2018-01-271-1/+1
| | | | | Change-Id: I158bd33e068382f2d83be628543022eacb5a5a86 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2018-01-271-1/+1
| | | | | Change-Id: I7d160322d632f406495cbd7f74afbedd9f9ea16e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-watchdog.bb: bump versionAndrew Geissler2018-01-271-1/+1
| | | | | Change-Id: Ifb727a632fc72e205e50dd549f36d7553e1d55f9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-01-261-1/+1
| | | | | Change-Id: I32faf5f69d201f62fada9b73ab50b33aa29deb4d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-romulus: Add w83773g sensor configLei YU2018-01-263-0/+19
| | | | | | | | Romulus uses w83773g hwmon sensor and it has 3 temperature sensors. Add the kernel config and hwmon config to use the sensor. Change-Id: If9ddc5eba17fa7e60b714d158c00e43d7e5378f8 Signed-off-by: Lei YU <mine260309@gmail.com>
* Fix for MACHINE_FEATURES check in u-boot.incMichael Tritz2018-01-261-1/+1
| | | | | | | | | | | | | This commit fixes a check against the MACHINE_FEATURES when patching a new image with initial environment variables. This bug was blocking the kernelname variable from being filled in, so the system wouldn't boot if the image was loaded outside of the typical code update process (i.e. QEMU, DediProg). Resolves openbmc/openbmc#2781 Change-Id: I847d9bb216c0d8f680b342a3790519a9fc9b2c32 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* phosphor-rest.inc: bump versionAndrew Geissler2018-01-261-1/+1
| | | | | Change-Id: I243dbaaba9204b9bea769c64bffd2e07512db634 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-debug-collector.inc: bump versionAndrew Geissler2018-01-261-1/+1
| | | | | Change-Id: I6526848bb0f5dd80ae3c14afa0687dd8ca68e8b4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* ffdc.bb: bump versionAndrew Geissler2018-01-261-1/+1
| | | | | Change-Id: I621d3de041954348ada8118bdc052cdc9a2c2ce5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
OpenPOWER on IntegriCloud