summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* 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-014-0/+870
| | | | | | | | | | | | | | | | | 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>
* 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/+22
| | | | | | | | | 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 - 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>
* 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>
* 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-3014-14/+30
| | | | | | | | | | | | | | | 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>
* 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>
* 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>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-291-1/+1
| | | | | Change-Id: Id9a115c950ec17740c6803040325044782c27665 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>
* 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>
* JSON file with DCMI capabilities.Dhruvaraj Subhashchandran2018-01-262-0/+21
| | | | | | | | 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>
* phosphor-fan.inc: bump versionv2.1Andrew Geissler2018-01-251-1/+1
| | | | | Change-Id: Ie5ce4f97ee3885fa064d056e4dc4eec3acbb0c6b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-rest.inc: bump versionAndrew Geissler2018-01-241-1/+1
| | | | | Change-Id: I8e328c774184c32953b96c04829340af02dbc59d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-fan.inc: bump versionAndrew Geissler2018-01-241-1/+1
| | | | | Change-Id: Iba7d09a2ab9d7658d40b8b4c69ea1d9d14d8b945 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2018-01-241-1/+1
| | | | | Change-Id: Ibf0e3d488601fa5a71feda420a9e8d74f8057e79 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-01-241-1/+1
| | | | | Change-Id: Ibeb91fb01a73726225c441a6e6fb77e631150412 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-rest.inc: bump versionAndrew Geissler2018-01-231-1/+1
| | | | | Change-Id: Ibd215267a4017414cd9ff76b1a4bb1966d9cd949 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-dbus-interfaces.bb: bump versionAndrew Geissler2018-01-231-1/+1
| | | | | Change-Id: Idb93cefa39be4cb930bc6748baceba7e29cef7bb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Reduce service restart limit from 3 to 2 on failsAndrew Geissler2018-01-231-2/+2
| | | | | | | | | | | | | | | Further testing has shown that with core files enabled, it's possible to exceed the 10s default interval time when doing 3 restarts. Since all testing has shown either 1 restart fixing the issue, or no restarts fixing the issue, reduce the restart limit from 3 to 2 to ensure even if the service is core dumping, the restart limit will be hit within the 10s. Resolves openbmc/openbmc#2559 Change-Id: Ie1dac96eb1b4ced0bf166c12419db26924104ab4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* kernel: w83773g driver, Zaius pcie-e2b-presentJoel Stanley2018-01-231-1/+1
| | | | | | | | | | | | | | | | | Guenter Roeck (1): hwmon: (w83773g) Fix fault detection and reporting Joel Stanley (1): ARM: configs: aspeed: Add W83773G driver Lei YU (4): ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key hwmon: (w83773g) Add documentation hwmon: Add W83773G driver ARM: dts: aspeed: romulus: Add w83773g temp sensor Change-Id: I05e0071badb9eae89b9438783387039401aa69da Signed-off-by: Joel Stanley <joel@jms.id.au>
* Fix host reset on double poweron commandAlexander Soldatov2018-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | Before this commit, if 'obmcutil poweron' was issued twice, it would result it host reset because a watchdog service would have been started but not signalled by the host to stop upon successful startup. This commit makes the watchdog service persistent so that it doesn't start for the second time. If the BMC is rebooted while the host is powered on, and thus the watchdog service is terminated, that is covered by an already existing condition check for the watchdog service. Resolves openbmc/openbmc#2811 Change-Id: I11212f2a08fc102afee2641c403c50158aae876c Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com> Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
* phosphor-logging.bb: bump versionAndrew Geissler2018-01-221-1/+1
| | | | | Change-Id: I26fcb86c91fd0e6fab0bd94a6f1d37115763c3cc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-dbus-interfaces.bb: bump versionAndrew Geissler2018-01-221-1/+1
| | | | | Change-Id: Ied490615c1918a2880b2966795b2cc16a72e3eda Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Fix broken SDK buildDeepak Kodihalli2018-01-221-0/+2
| | | | | | | | | | | | | | | | The SDK build was failing on installing nlohmann-json, with the error : nlohmann-json-dev-3.0.1+git0+ce1dccf347-r0 conflicts with nlohmann-json = 3.0.1+git0+ce1dccf347-r0. The nlohmann-json package is header-only. So apart from the -dev package, the rest would be empty. In general the package foo-dev has an implicit dependency on foo, but yocto will not allow empty packages to be installed. Add a change to allow installation of the empty base package in this case. This will satisfy the dependency requirement of the -dev package. Change-Id: I8cf0814e83be1c298e26741310e6d8ecdd32c399 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2018-01-181-1/+1
| | | | | Change-Id: I1a825ec9e47eb4888582a9230a70f55de6118619 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Enable perf in obmc-phosphor-debugtoolsJoel Stanley2018-01-181-1/+1
| | | | | | | | | | | | | This enables the userspace 'perf' tool and the corresponding kernel configuration. PERF_EVENTS is enabled on ast2500. It was already enabled on ast2400. TIMER_STATS is enabled. This has low runtime impact when not enabled. It defaults to off. Change-Id: Iac1761aec999679b611e9bf9b51d0fe585d7ac5c Signed-off-by: Joel Stanley <joel@jms.id.au>
* phosphor-hwmon.bb: bump versionAndrew Geissler2018-01-171-1/+1
| | | | | Change-Id: I881d1ae851e90a78cfeaa2a0fd67aa20199c9032 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-01-171-1/+1
| | | | | Change-Id: I1c2addee189482d0aa59daa2b4d3bc840c13980b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* kernel: gpio tolerance, cffps, ir35221, romulus cpld fixJoel Stanley2018-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew Jeffery (2): gpio: gpiolib: Generalise state persistence beyond sleep gpio: aspeed: Add support for reset tolerance Andy Shevchenko (1): gpiolib: Convert fwnode_get_named_gpiod() to configure GPIO Eddie James (5): hwmon: (pmbus/core) Prevent unintentional setting of page to 0xFF hwmon: (pmbus) cffps: Add PMBUS_SKIP_STATUS_CHECK hwmon: (pmbus) cffps: Add debugfs entries hwmon (pmbus): cffps: Add led class device for power supply fault led hwmon (occ): Fix integer overflow in multiplication Edward A. James (1): hwmon: (pmbus) Export pmbus device debugfs directory entry Laxman Dewangan (1): gpio: core: Decouple open drain/source flag with active low/high Lei YU (1): ARM: dts: aspeed: romulus: hog GPIOS7 Samuel Mendoza-Jonas (1): hwmon: (pmbus/ir35221) Remove unnecessary scaling Change-Id: I2361d7b570456f27a89e9780c931f4bab46b7dbb Signed-off-by: Joel Stanley <joel@jms.id.au>
OpenPOWER on IntegriCloud