summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
Commit message (Collapse)AuthorAgeFilesLines
* os-release: populate sysrootBrad Bishop2017-08-011-0/+3
| | | | | | | | Put os-release in the sysroot so it can be accessed by other recipes. Change-Id: Id97d44bcec0272d6b7dc29831a056e419579adc9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* os-release: Don't rebuild everytimeBrad Bishop2017-08-011-2/+10
| | | | | | | | | | | | | | Update the os-release recipe such that it is not rebuilt unless git reports something different. To do this both the recipe and sstate caches must be disabled but the impact with such a small recipe is low enough to be acceptable. Resolves: openbmc/openbmc#124 Change-Id: I53343410d973ab4a60d9437704c34dbec7120ede Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* kernel: Maxim max31785 workaroundsJoel Stanley2017-08-011-1/+1
| | | | | | | | | | | | | | | | | This contains two workarounds for the Maxim max31785. The first is to fix the lack of configuration of the fan installed bits in the FAN_CONFIG_1_2 register. The second is a workaround for a i2c issue observed when testing the code. This is still being root caused. Andrew Jeffery (3): dt-bindings: max31785: Add use-stored-presence property max31785: Support use-stored-presence devicetree property pmbus: max31785: Work around back-to-back writes with FAN_CONFIG_1_2 Change-Id: I226646aba538ce2e4e8560f706d80389cf52c544 Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: Watchdog gpio, upstream vuart, pca955x and i2c fixesJoel Stanley2017-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update defconfigs with new VUART kconfig symbol. The MAX31785 symbol moves as it is now sorted with the PMBUS drivers. Andrew Jeffery (4): ARM: aspeed: Request WDTRST1 pinctrl function dt-bindings: watchdog: aspeed: External reset signal properties watchdog: aspeed: Support configuration of external signal properties ARM: dts: aspeed: Witherspoon WDT1 external signal is push-pull Brendan Higgins (1): i2c: aspeed: fixed potential null pointer dereference Cédric Le Goater (1): leds: pca955x: fix typo Jeremy Kerr (1): drivers/serial: Add driver for Aspeed virtual UART Joel Stanley (4): Revert "drivers/serial: Add driver for Aspeed virtual UART" serial: 8250: Add flag so drivers can avoid THRE probe ARM: dts: aspeed: Update vuart compatible ARM: configs: aspeed: Regenerate defconfigs Change-Id: I151016c7ea98fc6552ce8ab54661dd1353834deb Signed-off-by: Joel Stanley <joel@jms.id.au>
* ffdc.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I5b3533d195a07d90ae289e9e5e9ad2a9daebbd37 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.inc: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: Idfc58f8104bd396917e9aa7e20aa99572cb04891 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-debug-collector.inc: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I04d06b2771699cd92684a0878a1388474f163c55 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-software-manager.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: Iee2ffb01fe6532fa1d207338d8c6cc57ec9d38da Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* pyphosphor.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: Icd9422fa8425469af771b415467affb5bb7ead54 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I8d8669badd13b7fc9eddf361ca1c7dca23eaa611 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-time-manager.bb: bump versionPatrick Williams2017-08-011-1/+1
| | | | | Change-Id: I357c181cec24620b859a53fbe8adb7621a81cee4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Fix a bug driving a LED during BMC bootVishwanatha Subbanna2017-08-012-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | It is a requirement that Firmware notifies users about it's READY state and the mechanism was to assert 'bmc_booted` group which would result in user defined behavior on corresponding physical LED. Blinking a particular physical LED is one of the most common ways to let users know. The code was asserting the 'bmc_booted' group soon after the LED daemon was alive and this was incorrect since LED daemon would start early in the boot and not after reaching READY state. This patch waits until reaching READY before asserting the needed LED group. If applied, this commit will resolve openbmc/openbmc#1919 only for systems that are not based on MRW. For fixing this issue on Witherspoon machine, a change needs to be made in openbmc/phosphor-mrw-tools to make sure latest XML is chosen during build. Currently, its pointing to an old XML. Change-Id: Idc711942140295f2cf5d7b691eb9371f4da671d5 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add dependency on settings D-Bus objectsDeepak Kodihalli2017-08-015-4/+27
| | | | | Change-Id: I0e7e84f191f6a466b0f84c6d4f490816331f141f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* settings: meta-zaius: add overrideDeepak Kodihalli2017-08-013-58/+91
| | | | | | | | 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>
* settings: restriction_mode: set default to NoneDeepak Kodihalli2017-08-011-0/+6
| | | | | Change-Id: I61debcb77eda2d7e0ae8ac77aab518df51e392da Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* settings: Add missing phosphor-logging dependencyBrad Bishop2017-08-011-0/+1
| | | | | Change-Id: Ib5fcc3bc5d663719bd508810b2ffe87bf1943169 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add GPIO PresenceGunnar Mills2017-07-312-5/+45
| | | | | | | | | | 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>
* ffdc: bump versionPatrick Williams2017-07-311-2/+2
| | | | | Change-Id: Ia84dec714b440a4bd531ec7fa41d5f929cf2d33c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan.inc: bump versionPatrick Williams2017-07-301-1/+1
| | | | | Change-Id: I7118f53e3f54f2a9ac10ca3be03bb5b5122bfbcc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-gpio-monitor.bb: bump versionPatrick Williams2017-07-301-1/+1
| | | | | Change-Id: Ib129f340e2131f5b7da7f0c14cd40ec8eed7ab36 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Settings YAML changes to add settings validation.Patrick Williams2017-07-302-24/+50
| | | | | Change-Id: Ied5f585eb6165daccfb606f403f55af9a26f56c3 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* phosphor-debug-collector.inc: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I41b8401824527d5894b5d1fb3736ade76df69256 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.inc: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: Ic5cffa3209bf5fa7e2351bf532b50fcdf7457a55 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-fan.inc: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I81bd57d5cd1299779978e511d2b8905d77c7d0a0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-hwmon.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: Id7a32c89e6aab10edfe2ebd55f7cf88cedbd9b55 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I32e48e199f7220418fd91e4be294963b4b4da6af Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-hwmon.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: Iaccb3ab0546b005382a0983a4939545643aba709 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-software-manager.bb: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: I905448e30d3b9afeef3a722c031f02ae0453eda5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-led-manager.inc: bump versionPatrick Williams2017-07-281-1/+1
| | | | | Change-Id: Ie5696085a3fed98791a080c753454d38226e5f7b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* kernel: new Maxim MAX31785A driverJoel Stanley2017-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* kernel: tty fix, aspeed-i2c update, firestone dtsJoel Stanley2017-07-271-1/+1
| | | | | | | | | | | | | Jeremy Kerr (1): tty: don't force !TTYB_NORMAL flip buffers if not required Joel Stanley (3): ARM: dts: aspeed: firestone: Request UART pins ARM: dts: aspeed: firestone: Fix i2c addresses i2c: aspeed: Reset to upstream version Change-Id: Id47a8488ef1509f06058a7f1706db61b78fb2cd4 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Ensure hwmon doesn't start before object mapper availableAndrew Geissler2017-07-261-0/+1
| | | | | | | Resolves openbmc/openbmc#2029 Change-Id: I978ddbeb773d22c77d4ee164b61c9f6fb15252bb Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* phosphor-ipmi-host.inc: bump versionPatrick Williams2017-07-261-1/+1
| | | | | Change-Id: Ic94e6927a705f4a21ff65712e67ef4bed32469fb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* renamed yaml file for fru read inventory example recipeMarri Devender Rao2017-07-261-1/+1
| | | | | Change-Id: I80203330199da67fdb36fd9602b61052ce8cf9e8 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-07-251-1/+1
| | | | | Change-Id: Ifa623ecc1f66f70bf7fa06eb5ad2ce0eb58bba6f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-ipmi-host.inc: bump versionPatrick Williams2017-07-261-1/+1
| | | | | Change-Id: I1888db5cefb3eab510aef3f0e7fdc8f41bd8193c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-logging.bb: bump versionPatrick Williams2017-07-261-1/+1
| | | | | Change-Id: I55863609511fb63aa199ef2e1de47c5e2f705f8c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-dbus-interfaces.bb: bump versionPatrick Williams2017-07-261-1/+1
| | | | | Change-Id: I7826a04aed3472a679929987610a914799724886 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* kernel: ftgmac100, smc, dps310 fixesJoel Stanley2017-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (2): ftgmac100: Increase reset timeout ftgmac100: Make the MDIO bus a child of the ethernet device Christopher Bostic (1): iio: dps310: Temperature measurement errata Cédric Le Goater (1): mtd: spi-nor: aspeed: set 4B setting for all chips Joel Stanley (1): ftgmac100: return error in ftgmac100_alloc_rx_buf Rafał Miłecki (1): net: phy: broadcom: add support for BCM54210E Resolves: openbmc/openbmc#2003 Resolves: openbmc/openbmc#1791 Change-Id: I5ca0a703e9452bcf2915b25cfd9eb6e43d675077 Signed-off-by: Joel Stanley <joel@jms.id.au>
* phosphor-software-manager.bb: bump versionPatrick Williams2017-07-251-1/+1
| | | | | Change-Id: I3b5d9c5c97ccfc3ce555c97e352ece75fb0c4a00 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Ensure host stop target completes after chassis offAndrew Geissler2017-07-251-0/+1
| | | | | | | | | | | | | | If the chassis poweroff target is running at the same time as the host stop target, ensure the host does not consider itself complete until the chassis is fully off. This ensures host reboots will wait for the chassis to be fully off before starting the next boot. Resolves openbmc/openbmc#2026 Change-Id: Iefcbb6435cc81393d0591cf4c7bb4eceeef906f0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Ensure chassis-poweroff called on shutdown errorsAndrew Geissler2017-07-251-1/+1
| | | | | | | | | | | | With the recent refactor to the shutdown targets, need to ensure the obmc-chassis-poweroff target is called if the host-shutdown times out so that the system properly shuts down Resolves openbmc/openbmc#2027 Change-Id: I8b1374611776a4027beaa7646862dc4be51df838 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* os-release: Whitespace fixesBrad Bishop2017-07-251-15/+15
| | | | | | | Use standard python four space indent. Change-Id: I878b7b711a6bebe61d328d54afa41d1915aa2955 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-ipmi-net.bb: bump versionPatrick Williams2017-07-251-1/+1
| | | | | Change-Id: Ia14b8c7143e0068d0dc2e757a772fae95f02ece5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move mboxd reset to power on pathAndrew Geissler2017-07-252-6/+6
| | | | | | | | | | | To ensure the BMC does not interfere with host checkstop analysis, the mboxd reset should be run during power on Resolves openbmc/openbmc#1915 Change-Id: I42812c5dc73ead585adb7e1455ff3a46f9a52404 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Don't return the error if unable to create the network namespaceRatan Gupta2017-07-252-0/+42
| | | | | | | | | | | | | On systems where kernel is not configured with namespace support then don't return error during setting up network namespace. Rationale to not enable the kernel with namespace support as it brings lot of unnecessary code. Resolves openbmc/openbmc#1949 Change-Id: I3b52a8c61b9bd3e3fff02cfab998c3746b8b72c6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* BMC Code Mgmt: Service files to delete ro and rw partitionsLeonel Gonzalez2017-07-243-0/+16
| | | | | | | | Adds service files to delete read only and read write partitions. Change-Id: Ia0101b53defc9a92097d7c15f3c3b7bd7a8e5cd7 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
* BMC Code Mgmt: Service files for factory resetMichael Tritz2017-07-243-0/+43
| | | | | | | | | | | | This commit extends the obmc-flash-bmc script and includes a pair of service files. A U-Boot environment variable will be set to indicate that the BMC read-write volume needs to be reset. When this variable is present, the read-write volume will be removed and recreated. Change-Id: I6e39727cd3898d66bdbc63e9071f3a8b20a77673 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Fix a bug in driving LED during PowerOn and PowerOffVishwanatha Subbanna2017-07-242-0/+2
| | | | | | | | | | | | | | | | | | As part of PowerOn, group 'power_on' gets asserted via a service file that is associated with PowerOn and that results in driving corresponding physical LEDs. This works fine for a single PowerOn and does not work if there is a PowerOff followed by a PowerOn. Service file had RemainAfterExit set and did not have a stop condition. This commit puts a Conflicts relationship with appropriate stop service file and vice versa. Fixes openbmc/openbmc#1918 Change-Id: Ie0e6b554b3ab7beacd3ad15a0ff76e4d6481f648 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* phosphor-ipmi-host.inc: bump versionPatrick Williams2017-07-241-1/+1
| | | | | Change-Id: Ibdc8b6aceb5d33418d08b63de7954d4a2b5f46a2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud