summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14Clean up op packagegroupsBrad Bishop8-67/+0
Now that the legacy applications are picked up in the OpenPOWER layer via obmc-apps packagegroups, those dependencies can be removed from the op-apps packagegroup. Remove the sensord application as it has been replaced with phosphor-hwmon. Demote sensor mgmt feature to an image feature since anything running OpenBMC can have a sensor. Change-Id: I0b27cacbcbd73d53ab8db40790ea967ad478d111 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-14Add inventory, led and sensors package groupsBrad Bishop4-0/+72
Add inventory, leds and sensors categories to the obmc-apps packagegroup. Add virtuals and mark Phosphor apps as providers: -obmc-inventory-manager -obmc-leds-manager -obmc-leds-sysfs -obmc-sensors-hwmon Add legacy applications to these groups in the OpenPOWER later until they are fully deprecated. Change-Id: If3ae7c83ccd03e21adbca4653c1e803566b502de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-14Inventory manager dependency updatesBrad Bishop1-1/+2
Add phosphor-dbus-interfaces to DEPENDS and RDEPENDS. Change-Id: I141fa9ec0412f88023ab431b72f4f70ac4f1f0c3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-14Changes to conform to IPMI FRU specDeepak Kodihalli1-14/+13
Change-Id: I5b0a32c24bcca0b1210926a2c68531b81464ad3c Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-02-14phosphor-logging.bb: bump versionPatrick Williams1-1/+1
Change-Id: I66c832701fec431ae9fb06fe3b25eeab40a87d3c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-14pdbg.bb: bump versionLei YU1-1/+1
The revision fixes the pdbg issue on Romulus Change-Id: Idd96ad49a0951bffa59930514d1d08012ae9702d Signed-off-by: Lei YU <mine260309@gmail.com>
2017-02-14New Witherspoon MRW XMLMatt Spinler1-1/+1
* IPMI sensor IDs were added. * Fan hwmon labels were added. * System FRU number was set to 3. Change-Id: Iee2989b56f04919e2090f0ada372d97395607b6d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-14phosphor-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: Iff256b66d74ed8ae5237aad4c6555c17e92e046c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-13Add inventory manager classBrad Bishop3-3/+7
Change-Id: Ib034680499f16efb842bc5074e269bb590f25fbd
2017-02-13slpd-lite.bb: bump versionPatrick Williams1-1/+1
Change-Id: I260316726db770f9af93c459aa08ab4c7927708b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-13phosphor-ipmi-fru.inc: bump versionPatrick Williams1-1/+1
Change-Id: I312b1f08cd5b2f9cc02c84a6f118b753c1d2afc3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-13phosphor-inventory-manager.inc: bump versionPatrick Williams1-1/+1
Change-Id: Ic78c510850222b411a08caaec0c4b54a7bcab625 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-13kernel: Update flash layout for built in initramfsJoel Stanley1-1/+1
This adds a commit from Rick that merges the kenrel and initramfs partitions. OpenBMC has switched to using FIT by default, and by building the kernel and initrd into the FIT image we get verification of both of these images at boot time. This change makes it hard to switch between the old and the new layout, as the kernel (via the device tree)is hardcoded to use the new flash layout. This also pulls in the fsi-master device tree for Witherspoon, but it is not enabled so there is no functional change. Change-Id: Ia75569faaf9765b2ea79c4df44a3b7e2c357b0bd Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-02-13meta-aspeed: Add kernel panic timeoutXo Wang2-0/+2
Set a one-second timeout observed by the kernel after panicking. The system will reset after the timeout is up. The default timeout is 0, which means to wait indefinitely after panic. Fixes openbmc/openbmc#1114 Signed-off-by: Xo Wang <xow@google.com> Change-Id: I2eec2113fd7598f84dd91412b212ecc2a6949214 Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-02-11meta-zaius: Set VIO rails voltage when BMC bootsXo Wang3-0/+21
DD1.0 modules require a higher VIO for PCIE link stability. Add service to set VIO voltage setpoint when BMC boots. Add BitBake recipe to install service. Add recipe to obmc-phosphor-image dependencies. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ia43d58683d3f26ac6ca684b5e662c45c38f47824
2017-02-10phosphor-logging.bb: bump versionPatrick Williams1-1/+1
Change-Id: I6449c43fec4822221012cc8fe4142faea04b58d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10Add native/sdk classes to phosphor-dbus-interfacesBrad Bishop2-4/+20
Enable native and nativesdk classes for phosphor-dbus-interfaces. Install nativesdk-phosphor-dbus-interfaces by default in the obmc-phosphor-image sdk. Change-Id: Iaf134734ada106bb69254dfffa07c2af2641d9f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-10Add bbclass for phosphor-dbus-interfacesBrad Bishop1-0/+1
At the moment provides only a path to the YAML. Change-Id: I35bf3ce59057fc64a1ca930d23b1e68990e32c80 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-10slpd-lite.bb: bump versionPatrick Williams1-1/+1
Change-Id: I71c0cf0ef22e6a541db43637bde7d81842caf6c5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10System quiesce target for when required targets failAndrew Geissler2-1/+7
This will be the target that all other critical targets go to when a service within it fails. Automated recovery and stay-in-fail-state logic will be built on top of entry into this new target. Change-Id: Ibdf2e823cf372916c61ef5a8375c4faf8a928119 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-02-10phosphor-logging: Link against phosphor-dbus-interfacesAdriana Kobylak1-1/+2
Change-Id: I23b0e087709319a14581777fb701930a3a7d9c7f Signed-off-by: Adriana Kobylak <anoo@linux.vnet.ibm.com>
2017-02-10phosphor-inventory-manager.inc: bump versionPatrick Williams1-1/+1
Change-Id: Ie30d6a9e2fb909576c5b33c022e4edf4bd8681f0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10phosphor-led-manager.inc: bump versionPatrick Williams2-2/+2
Change-Id: I84264f2ef7f96484abe68b85ff0a58ba36f850c2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10sdbusplus.bb: bump versionPatrick Williams1-1/+1
Change-Id: Iab66db2ed5bb4814d7c626d86c69657bddfc3538 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10phosphor-net-ipmid.bb: bump versionPatrick Williams1-1/+1
Change-Id: I7f76a47e6d43a0765ac89d6c2124c6e2282a84c2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10kernel: Move to upstream pinmux and GPIO driversJoel Stanley1-1/+1
This resets the state of the GPIO and Pinmux drivers to those in the upstream maintainer's tree. This brings fixes as well as support for all of the GPIOs present in the Aspeed SoCs. This changes the GPIO numbering for userspace[1], which is handled by changes made to skeleton in 4458d4939a33672bf3fc5113523c6d2453478371. [1] https://lists.ozlabs.org/pipermail/openbmc/2017-January/006324.html Change-Id: I5538287a9a234cad0c38ebf21a2ec0731a59f2d4 Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-02-10phosphor-settings.bb: bump versionPatrick Williams1-1/+1
Change-Id: I4778252307a303102403ea9f1e73d243f575203a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10phosphor-logging.bb: bump versionPatrick Williams1-1/+1
Change-Id: Idd4a6427ec1421d7c69874bc4f1b209d9f8d75ee Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10phosphor-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia3257f2913a5a725d10c9ef15185dbb4124e7b9f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-10romulus: Add a stubbed inventory mapBrad Bishop3-0/+26
A recipe should have been provided when obmc-mrw was removed from machine features. Change-Id: I3c211e0c76bb5e208b061365b3e7de07f37dff5e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-10phosphor-ipmi-fru.inc: bump versionPatrick Williams2-5/+6
Change-Id: Ia88dc79848affd88deefb0129ec3a5070c1ad678 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-09New Witherspoon MRW XMLMatt Spinler1-1/+1
The XML now contains FRU IDs. Change-Id: I70bc350bcb04d0c07869b9db9c78fb55da6422c9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-09mboxd: Use escaped unit names for device dependenciesAndrew Jeffery1-4/+5
Inspecting the journal showed that the device units that mboxd depends on were timing out: Jan 30 02:48:29 witherspoon systemd[1]: Timed out waiting for device dev-aspeed-lpc-ctrl.device. Jan 30 02:48:29 witherspoon systemd[1]: dev-aspeed-lpc-ctrl.device: Job dev-aspeed-lpc-ctrl.device/start failed with result 'timeout'. Jan 30 02:48:29 witherspoon systemd[1]: dev-aspeed-mbox.device: Job dev-aspeed-mbox.device/start timed out. Jan 30 02:48:29 witherspoon systemd[1]: Timed out waiting for device dev-aspeed-mbox.device. Jan 30 02:48:29 witherspoon systemd[1]: dev-aspeed-mbox.device: Job dev-aspeed-mbox.device/start failed with result 'timeout' As it turns out, systemd wants escaped strings to cope with e.g. paths with dashes in the filename. Update the Wants/After lines to use the escaped strings. The escaped values were created running `systemd-escape`[1] on a Zaius image under QEMU: root@zaius:~# systemd-escape -p /dev/aspeed-* dev-aspeed\x2dlpc\x2dctrl dev-aspeed\x2dmbox This leaves us with the happy result of no timeouts: # journalctl | grep aspeed ... Feb 06 02:25:22 zaius systemd[1]: Found device /dev/aspeed-mbox. Feb 06 02:25:25 zaius systemd[1]: Found device /dev/aspeed-lpc-ctrl. ... [1] https://www.freedesktop.org/software/systemd/man/systemd-escape.html# Change-Id: I4770026842757768b20b919125af47ae499d1667 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2017-02-09Add spi mailbox section to devtree config fileMatt Spinler1-1/+10
Add a section to the config file to select the address range to use for mapping the PNOR into BMC memory. If the LPC mailbox isn't being used on a system this whole section can be removed. Change-Id: I981e4d1aca2e09997c874fcc5b528e846193e2eb Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-09Move events directory contents to loggingBrad Bishop4-0/+0
Change-Id: Ica1c0fac71de409fb1fb501a1d4e5a2857ed4c7e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-09Move rest-dbus to interfaces directoryBrad Bishop3-0/+0
Change-Id: I4bca18e028b0338f4eedecdcbadcf733f228e08e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-09phosphor-logging.bb: bump versionPatrick Williams1-1/+1
Change-Id: Iccd407778c0cba76afff55fca548a7197f71e140 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-09kernel: Add FSP FSI I2C driver and Zaius UART fixJoel Stanley3-1/+3
This bumps the kernel to include a port of the FSI I2C driver from the FSP. It drives the I2C master in the CFAM logic of the host processor over FSI. This driver is being rewritten to be a proper i2c bus driver, and as such will be removed once that driver is functionally equivalent. There is also a fix for the Zaius UART. A device tree for the Qanta Q71L, a non-openpower BMC, was added. Christopher Bostic (3): drivers/fsi: Add slave interrupt polling drivers/fsi: Add Client IRQ Enable / Disable drivers/fsi: Add sysfs file to adjust i-poll period Edward A. James (5): drivers: fsi: Add i2c client driver drivers: fsi: i2c: Add engine access wrappers drivers: fsi: i2c: probe fsi device for i2c client drivers: fsi: i2c: add driver file operations and bus locking drivers: fsi: i2c: boe engine Joel Stanley (2): drivers: fsi: Fix compilation warnings aspeed: defconfig: add FSI_I2C driver Rick Altherr via openbmc (2): dts: Minimal device tree for Quanta Q71L BMC arm: aspeed: zaius: Disable LPC reset for UART1 Change-Id: I4fd4e4e347cfe3dead1d84de8b79dc2121346b02 Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-02-07skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I45d057449181f58057666a44eb1002f45956700f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-07Zaius: Re-enable IPMI watchdogMatt Spinler1-2/+1
Stop applying the patch to disable it. Change-Id: I4dc6c7acdce3bd3aa90969748aa9722ad8585d0d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-07Enable P9 to externally report checkstops.Matt Spinler1-0/+5
Setup P9 to enable its checkstop GPIO so the BMC can detect them. The P9 is not able to set these registers itself. Change-Id: I4d061b16b9ef6b71e953be6aaa861ede71bcbe48 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-02-07meta-phosphor: Don't overwrite INHERIT in confXo Wang1-1/+1
INHERIT is being overwritten rather than appended to in openbmc-phosphor.conf as of 0a544b5f874e81a1c4579d3de113c176668b6c80. Use override append syntax for obmc-phosphor-utils and add a space to separate from preceding classes. Fixes openbmc/openbmc#1095. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id8c3c2d9cbab9cd5e1f0eff3674ad28084816da6
2017-02-03phosphor-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: I0ec6fac4976a416c864fbad549bc9f1954b84497 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-02-03leds: Add unit file and udev rule for sysfsBrad Bishop3-0/+16
Change-Id: I6f299b818534fc2e9f5262fdcf85688d16cc1286 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-03Move inarp to network directoryBrad Bishop2-0/+0
Change-Id: Id686b504ac12306d7375fd36d8389cdb7572c19b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-03Add dependency to libsdbusplusAdriana Kobylak3-3/+4
Remove ALLOW_EMPTY from sdbusplus recipe as the library has been created. Add dependency to phosphor-logging and state-manager. Change-Id: Ia7be4ec9f9cd0f272ece7eccad79c0bc46bbc893 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-02-03leds: inherit dbus classBrad Bishop1-0/+1
The LED group manager doesn't inherit the dbus class which prevents its systemd unit file from being installed. Change-Id: I616dcfddeb9ba1a389b43389fa719f8a3f8c811a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-02-02Incorporate new FFDC script into appropriate imageMichael Tritz2-2/+3
Change-Id: I108f828386deef5b92fbc1b02c7207ff292474a8 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-02-02ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop22-161/+133
Replace this virtual with two others: -virtual/phosphor-ipmi-fru-hostfw-config -virtual/phosphor-ipmi-fru-inventory. Update ipmi-fru-parser machine recipes to provide virtual/phosphor-ipmi-fru-inventory rather than virtual/phosphor-ipmi-fru-config. Remove machine recipes on machines that use MRW since a single MRW recipe provides for any MRW using system automatically. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com? Change-Id: Ia0d94b938eb2c7bfadd5a018ae5ea136f14dd874
2017-02-02ipmi: Add virtual/phosphor-ipmi-fru-inventoryBrad Bishop5-0/+59
This virtual provides a configuration file that describes the IPMI inventory implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe that generates the file from an MRW. Change-Id: I331fec22fb603146cbe6b2d57256a2b29adce46b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>