summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ingrasys
Commit message (Collapse)AuthorAgeFilesLines
* meta-zaius: avsbus-control: Add VOUT_COMMAND workaroundXo Wang2017-03-151-0/+7
| | | | | | | | | | | | | | | When switching voltage regulator modules (VRM) on Zaius to AVSBus- controlled operation, the initial output voltage should be copied from the PMBus VOUT_COMMAND register. However, the Intersil VRM does not perform the copy following the first switch from PMBus- to AVSBus- controlled operation. Add a workaround to the AVSBus enable step that writes the value of VOUT_COMMAND to itself in order to initialize the otherwise BMC inaccessible AVSBus voltage setpoint. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I3335586d98e95eb52d44d6d31e688f9b7c292136
* Do not run chassis power target services if power onAndrew Geissler2017-03-152-0/+2
| | | | | | | | | | | | This is the first commit in a series that will ensure we do not run the chassis power on services when the chassis is already on. Specifically this is to handle the situation where the chassis is on and the BMC is rebooted. Change-Id: I733ca076f044731a4ba327fe2f46302dce5f4edd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* kernel: FSI and P9 fixesJoel Stanley2017-03-062-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Two fixes for FSI bugs that users were seeing often. A revert of the Zaius reserved memory region device tree change due to a kernel bug where u-boot will happily load data into the region that the kernel subsequently marks as inaccessible. This is a temporary fix until the ARM early boot code can be fixed. Finally, a change to bring Romulus PNOR SPI settings to parity with the other P9 platforms. Christopher Bostic (2): drivers/fsi: Change hub sysfs name drivers/fsi: Don't scan after fsi-gpio_master unbound Lei YU (1): arm: aspeed: romulus: Set PNOR SPI address mapping Patrick Williams (1): Set Zaius back to old address range Change-Id: I3887c7dbd3f6fd450fb096ba59e0189af87039d7 Signed-off-by: Joel Stanley <joel@jms.id.au>
* zaius: Temp kernel patch for reserved memory addrv1.99.3Patrick Williams2017-02-272-0/+32
| | | | | | | | | | | | A commit in the openbmc/linux tree moved the reserved memory for Zaius to the end of the memory space. This seems to cause a conflict between u-boot and the kernel resulting in an unbootable image. Temporarily set the reserved memory address to match Witherspoon until the issue openbmc/openbmc#1203 can be resolved. Change-Id: I1bab9d29285d5b02fe03b2654c4458f1b22482be Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-zaius: avsbus-control: Raise VDN rails max voltageXo Wang2017-02-202-0/+15
| | | | | | | | | | | | | | | Testing showed that the VDN max voltage setting is capping the VCS rail setpoints when those setpoints are written by the host over AVSbus. Raise VRMs' upper limit for voltage on the VDN rails to a value that does not interfere with VCS rail voltages. This is a hacky workaround for what is possibly a logic error with the VRMs' firmware and will be rolled back when the root cause is discovered and corrected. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I85fd94f77509bc51aa7909dd7f522163666040fb
* meta-zaius: vcs-control: Catch UCD driver bind failureXo Wang2017-02-161-1/+2
| | | | | | | | | Capture return value of binding UCD90160 driver to power sequencer rather than let it exit the entire script on first failure. Only exit script if the all the driver bind attempts fail. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I76303e1abb222daa7badb58b90d77bb49717236a
* meta-zaius: Set VIO rails voltage when BMC bootsXo Wang2017-02-103-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
* Zaius: Re-enable IPMI watchdogMatt Spinler2017-02-071-2/+1
| | | | | | | Stop applying the patch to disable it. Change-Id: I4dc6c7acdce3bd3aa90969748aa9722ad8585d0d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-023-20/+24
| | | | | | | | | | | | | | | | | 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
* openpower-p9: Add delay in a reboot so mbox-reload can runMatt Spinler2017-02-021-1/+2
| | | | | | | | | | A quick fix to ensure that mbox-reload.service has a chance to run after the power off and before the power on during a reboot. An upcoming refactoring will remove the need for this patch. Change-Id: Ieee0573e9bd4dec518361da9244d95a27357abd3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* 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