summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ingrasys
Commit message (Collapse)AuthorAgeFilesLines
* meta-zaius: vcs-control: Add retries for power sequencer commandsXo Wang2017-02-011-12/+24
| | | | | | | | | | | | | | | | For reasons yet fully debugged, PMBus communication with the UCD90160 power sequencer is flaky, with the symptom that some i2c-{get,set} commands fail or the ucd9000 driver fails to probe. Add retries in the script that performs these commands as a workaround to their random failures. Though this script exits at first error and returns its code, the systemd services that use it have [Unit] Type=oneshot. So, systemd can not be configured to restart the script during failures. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ia9eee013001c47ffc9706984b110f312ccdbc175
* meta-zaius: Modify recipe variables based on machineXo Wang2017-01-262-5/+5
| | | | | | | | | | | | In bbappend files, use the override style syntax to modify variables and specify appends and prepends with the machine name. This limits the scope of their effects to only when MACHINE=zaius. This allows meta-zaius to be present in BBLAYERS without causing side effects except when building for Zaius BMC. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Iaccc5cb1abac033dab54411eaa20855172ad3283
* meta-zaius: Mirror host console to UART1Xo Wang2017-01-262-0/+4
| | | | | | | | | | Add Zaius-specific override for obmc-console.conf containing the 'local-tty' configuration option. This enables obmc-console-server to relay the LPC-controlled VUART to another tty (in this case, ttyS0/UART1). Signed-off-by: Xo Wang <xow@google.com> Change-Id: I97b6982c163e22bab57004b62cc31dd8eae51680
* Phosphor IPMI FRU config stubs for ZaiusBrad Bishop2017-01-253-0/+21
| | | | | | | | | Add native recipe stub that (will) provide the the IPMI -> DBus inventory mapping for the Phosphor IPMI FRU provider on the Zaius system. Change-Id: Ibaad66d44f3421689608f852e4c565cd493126ec Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-p9: disable host watchdogPatrick Williams2017-01-191-0/+1
| | | | | | | | | | Hostboot currently does not have IPMI support enabled on P9 systems. Therefore, we need to disable the host watchdog. Temporary workaround to be removed with openbmc/openbmc#993. Change-Id: I875a3927af6ec34d2caf4c694b0a89c35a2bff74 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-phosphor: Add Mailbox DaemonCyril Bur2017-01-202-0/+2
| | | | | | | | Change-Id: I981ec3223ba5af71e50f11d699a3f6b5448f96c8 Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Create mrw-perl-tools recipeMatt Spinler2017-01-191-0/+2
| | | | | | | | | | The mrw-perl-tools recipe makes use of the Build.PL script in phosphor-mrw-tools to determine which scripts and modules to install. Build.PL is part of Perl's Module::Build installation method which is executed by the cpan_build bbclass. Change-Id: Ic5d51e8ec58b4450eeb27843b11332f556f3c35b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-zaius: Enable AVSBus controlXo Wang2016-12-311-0/+1
| | | | | | | Add avsbus-control runtime dependency to pdbg-based host control. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I47395f61a4de096476c861145944aa903969fbd6
* meta-zaius: Move refclock-fixup enablementXo Wang2016-12-312-2/+1
| | | | | | | | Make refclock-fixup a runtime dependency to pdbg-based host control. Remove refclock-fixup's direct dependency to image. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I2ba73d43f6e9dcaac50fe8256ff0aa210cdf40f2
* meta-zaius: Add AVSBus workaround script, servicesXo Wang2016-12-224-0/+131
| | | | | | | | | | Add AVSBus control script. Add systemd services to enable AVSBus after power on and disable AVSBus at power off. Add BitBake recipe to install script and services. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I3f7a36a6c16d32bb7b648b0f84c9ab3abb922399
* meta-zaius: Use P9 features and enable VCS controlXo Wang2016-12-221-0/+3
| | | | | | | | | | Set Zaius machine conf to use P9 features (pdbg host control and VCS workaround). Use Zaius vcs-control recipe for machine-specific VCS workaround components (virtual/p9-vcs-workaround). Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib75779da074b47c4fa335c5d2dfc40dc1bb82f04
* meta-zaius: Add VCS control script and servicesXo Wang2016-12-224-0/+145
| | | | | | | | | | | | | Add script for reading/writing VCS rail states on Zaius. Add systemd services with VCS on after workaround and VCS off at host power down. Add recipe to install script and services. This implementation of the VCS workaround is specific to Zaius as it requires UCD power sequencer logic to default to VCS rails off. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I3acf89f69c4d3df0036cd6fcc8639af0b3f3c68a
* meta-zaius: Order refclock fixup before VCS workaroundXo Wang2016-12-161-0/+1
| | | | | | | | No Wants= relationship added because the refclock fixup is not dependent on VCS workaround. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Idd3904b17a2a56b9e57d05214b910faa560d8711
* meta-zaius: Fix up host reference clock after power onXo Wang2016-12-084-0/+66
| | | | | | | | | | | | | | | | Zaius's host reference clock generator IC requires an output configuration fixup before trying to send the P9 host any FSI transactions. The IC is powered by the main 3.3V rail (the BMC runs from standby 3.3V), so the fixup has to be applied every time after it is powered on. Add script that performs the I2C writes to the clock gen. Add systemd service that launches the script following power on. Add bitbake recipe to install service. Add image build append to build service into image. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I8b1b83d0dabbb86439a043f8a1d9cdcb56986c45
* meta-zaius: Add Linux config for I2C master selector and hotswap controllerXo Wang2016-11-161-0/+2
| | | | | | | | Include kernel drivers for the I2C arbitrator and the hotswap controller. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id6178e6e5c7eba0d71d2d57a0ec09c0ac8e49bb3
* meta-zaius: Add FLASH_SIZE to confXo Wang2016-11-141-0/+2
| | | | | | | This option pads unused portions of the flash, up to 64 MiB, with 0xFF. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I345a56342fdc16a079ea1b96d82adb2e1d9c4a15
* meta-zaius: Add kernel defconfig appendsXo Wang2016-10-312-0/+9
| | | | | | | | Add Zaius specific driver configs for RTC, 1-wire thermal sensor, and I2C mux. Signed-off-by: Xo Wang <xow@google.com> Change-Id: If265035e7a2f03e1a890c512f86cce27d091391c
* meta-zaius: Patch U-Boot to enable BMC networkingXo Wang2016-10-243-0/+106
| | | | | | | | | Patch U-Boot to hard reset Zaius BMC's Broadcom PHY and to enable MAC2 that it's attached to. These are temporary Zaius-specific patches that should be removed when the Zaius U-Boot target is complete. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I0004b354d5774be1c244243e1bbbc527f195010c
* zaius-config: Add Zaius config recipeXo Wang2016-10-051-0/+5
| | | | | Signed-off-by: Xo Wang <xow@google.com> Change-Id: I3523a192f60e335a728c06d667bdf8836dde0a16
* ingrasys: Use openbmc.inc featuresXo Wang2016-10-041-1/+1
| | | | | | | | Include machine features in openpower.inc to enable host control functionality. This requires zaius-config (Zaius.py) in the skeleton group. Signed-off-by: Xo Wang <xow@google.com> Change-Id: If02e863f861618683cd3d547056ffb23b08e7f22
* meta-zaius: Add OE layers to bblayers.conf.sampleXo Wang2016-09-141-0/+8
| | | | | | | Fixes build breakage for Zaius. Change-Id: I7cb274263865c5b318e16696222a8bb6c3b200ec Signed-off-by: Xo Wang <xow@google.com>
* Add Zaius machine under meta-ingrasys.Xo Wang2016-09-138-0/+74
Zaius is a P9 system announced at the 2016 OpenPOWER Summit. This uses samples.inc for phosphor feature selection as skeleton does not yet have configs for Zaius. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I9aa35304251ce62660115d5f2ebc9c6a829fceec
OpenPOWER on IntegriCloud