summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower
Commit message (Collapse)AuthorAgeFilesLines
...
* romulus: Add a stubbed inventory mapBrad Bishop2017-02-093-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>
* New Witherspoon MRW XMLMatt Spinler2017-02-091-1/+1
| | | | | | | The XML now contains FRU IDs. Change-Id: I70bc350bcb04d0c07869b9db9c78fb55da6422c9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add spi mailbox section to devtree config fileMatt Spinler2017-02-091-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>
* 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>
* Enable P9 to externally report checkstops.Matt Spinler2017-02-071-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>
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-0219-129/+118
| | | | | | | | | | | | | | | | | 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
* ipmi: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop2017-02-023-0/+103
| | | | | | | | | | | | | | | | | This virtual provides a configuration file that describes host firmware implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe for Hostboot on OpenPower systems. Set the default provider to the example. Set the default on OpenPOWER systems to the hostboot recipe. Change-Id: Iff56c5c0c2ea8aec7ecaa5a5d981da6f88a894f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Romulus: Set MRW URLBrad Bishop2017-02-021-0/+3
| | | | | Change-Id: I3f364d06a5f92d05af8ad1cd1589f6a16cb24b0d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* romulus: turn off obmc-mrwBrad Bishop2017-02-021-2/+0
| | | | | | | | Turn off the obmc-mrw feature on Romulus until all the necessary attributes can be added to its MRW. Change-Id: I6306b0231a1692ffbc826452a3a213a06a9f5a0d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-p9: Add delay in a reboot so mbox-reload can runMatt Spinler2017-02-023-2/+8
| | | | | | | | | | 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>
* IPMI: Update versions on all packages.Patrick Williams2017-02-011-1/+1
| | | | | | | | | | openpower-ipmi-oem.bb: bump version phosphor-ipmi-fru.inc: bump version phosphor-ipmi-host.bb: bump version phosphor-net-ipmid.bb: bump version Change-Id: I565647887f0a8eefceeb0fd6e57372aab02b1b92 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Create symlink for IPMI Provider librariesTom Joseph2017-02-011-1/+6
| | | | | | | | | | The IPMI provider libraries are installed into /usr/lib/ipmid-providers. If the provider library is applicable for host-ipmid channel then soft link is created to /usr/lib/host-ipmid. In this way the soft links are created for the provider library to the corresponding directory. Change-Id: I586bc830efd2b1d1ff1941181d1aa8d9a400f628 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Move VRM workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-012-3/+3
| | | | | Change-Id: Ieb1c1a131671890c262e6b4238b5146394a0c8f3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Move VCS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-017-14/+14
| | | | | Change-Id: I12e71adf8d2635360087a0781354391121af3d7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Move AVS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-014-7/+7
| | | | | Change-Id: I49c9ce703673e18ef17684f0b3e02626ddb091af Signed-off-by: Andrew Geissler <andrewg@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
* Incorporate new phosphor-bmc-state-manager into appropriate imageJosh King2017-01-271-0/+1
| | | | | Change-Id: I4c013d98e03703b1328d85ae00cebb8500ffa205 Signed-off-by: Josh King <jdking@us.ibm.com>
* 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>
* Phosphor IPMI FRU config stubs for most systemsBrad Bishop2017-01-2516-1/+117
| | | | | | | | Add native recipe stubs that (will) provide the the IPMI -> DBus inventory mapping for the Phosphor IPMI FRU provider. Change-Id: I21e76bc23ef1638ddcc318a179808521dea7f205 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename host-ipmid -> phosphor-ipmi-hostBrad Bishop2017-01-251-1/+1
| | | | | | | Attempt at consistant naming convention of ipmi recipes. Change-Id: I9828503a61bccd83dc0294a3dca2db2d9981593b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* btbridged: Rename to phosphor-ipmi-btBrad Bishop2017-01-251-1/+1
| | | | | | | Attempt at consistant naming convention of ipmi recipes. Change-Id: Ie7b0a92e6d73e4959df096ee3673c4f7cf052bd6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* op-ipmi-oem: Improve descriptionBrad Bishop2017-01-251-2/+2
| | | | | | | | | Reword the description and summary to more accurately reflect what the recipe is - a plugin to the Phosphor IPMI framework that handles OpenPOWER OEM commands. Change-Id: I196b1d20a8c6a39880de93b844fa0884e6a1b9c1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* ipmi-oem: Rename openpower ipmi oem recipeBrad Bishop2017-01-252-1/+21
| | | | | | | | | | Rename host-ipmid-oem to openpower-ipmi-oem as this is an OpenPower specific IPMI plugin. Move to the OpenPOWER layer. Change-Id: Idf0de216a4a49f6ad377001052abfce13dd20aaf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename host-ipmid-fruBrad Bishop2017-01-255-0/+0
| | | | | | | | | | | This ipmid plugin is a reference implementation, so add phosphor to the name. Additionally remove 'host' as this plugin could be used in an out of band context. Change-Id: I604f0e57cf9d93ce1baaa6cdd223254d01330a23 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename host-ipmid -> ipmiBrad Bishop2017-01-255-0/+0
| | | | | | | | Use a single directory for all ipmi related function, inband or otherwise. Change-Id: I9ce114c29ffbcffa472eabd57c6117f0a422c04f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable Witherspoon MRW hwmon generationMatt Spinler2017-01-241-0/+1
| | | | | | | | Generate Witherspoon's hwmon conf files from the mrw. Change-Id: I120f4f91de48b36ba4b610eab35df98e3e84b534 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-p9: disable host watchdogPatrick Williams2017-01-192-0/+2
| | | | | | | | | | 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>
* Rename packagegroup-phosphor-appsBrad Bishop2017-01-201-0/+0
| | | | | | | | Rename to packagegroup-obmc-apps as this recipe provides structure as opposed to reference implementation (Phosphor). Change-Id: I0e0aa51453d35dce675874ffaf3ea497d097ed1a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-phosphor: Add Mailbox DaemonCyril Bur2017-01-204-1/+4
| | | | | | | | 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>
* Add P9 clock mux select overrideMatt Spinler2017-01-201-3/+7
| | | | | Change-Id: I0172b7062d6afe58e78bbd4704253c9ac5a9dbcf Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* pdbg hack to access reg 0x2918Matt Spinler2017-01-202-0/+35
| | | | | | | | | | pdbg as-is can't access reg 0x2918, and the current fix to access that reg breaks other registers. So just use the new address transformation on reg 0x2918 (or 0x102918 when on the 2nd chip). Change-Id: If388a1acba555d6769bde162c28991c44e53d4d7 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create mrw-perl-tools recipeMatt Spinler2017-01-197-0/+14
| | | | | | | | | | 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>
* Add Palmetto hwmonsBrad Bishop2017-01-193-0/+19
| | | | | | | | Add some hardcoded (not from MRW) labels and thresholds for rtc and tmp423 sensor chips. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I182b34665de8f2e32dd47336879367f415f57150
* Add unbind/bind around fan speed i2csetsMatt Spinler2017-01-191-0/+11
| | | | | | | | | When the max31785 device driver becomes available, we'll need to unbind it before using i2sets to talk to the chip. Change-Id: I25967d753ca81b899880a160f3ea4a022be48e77 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Incorporate new phosphor-chassis-state-manager in appropriate imageAndrew Geissler2017-01-181-0/+1
| | | | | Change-Id: I39ca1fdfb7f549036b8eb27d7cfe9cd7309dcc54 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Incorporate new phosphor-host-state-manager into appropriate imageAndrew Geissler2017-01-181-0/+1
| | | | | Change-Id: I66f1414344ccc25e3db84c3de3a74993a99a9ff6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* pdbg.bb: bump versionPatrick Williams2017-01-161-1/+1
| | | | | Change-Id: I1e46ec369277dd8ec4b1ef98c50b94054a60b108 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-romulus: Update VRM control scriptsLei YU2017-01-134-12/+15
| | | | | | | | | | Romulus VDDR uses different regulator, so the scripts is updated: 1. Remove VDDR related settings in vrm-control.sh 2. Add vrm.sh to invoke vrm-control.sh to set VDN, and invoke i2cset to set VDDR. Change-Id: I8be757728833280392328eaf03b3a88b911a4fbd Signed-off-by: Lei YU <mine260309@gmail.com>
* Fix a copy/paste error in op-appsBrad Bishop2017-01-121-1/+1
| | | | | | | | | Prior to this patch the fans package description was not set and the sensors package description was being overriden with the fan description. Change-Id: I8bfdfb7004fdc1632fb48dc3985bc032b4089ffe Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-romulus: Enable AVS bus and VRM controlLei YU2017-01-111-0/+2
| | | | | Change-Id: I2e66de1fea124c3ba6d5751b9d6a818fe8a65e57 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add AVSBus and VRM workaroundsLei YU2017-01-1110-0/+296
| | | | | | | | | | Add AVSBus and VRM control scripts. Add systemd services to do AVSBus workaround, disable AVSBus, do VRM workaround and enable AVSBus. Add BitBake recipe to install script and services. Change-Id: I72ec0138d23eba57ee56d5a6b01e3cd638c819bc Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add CPLD workaroundLei YU2017-01-114-0/+50
| | | | | | | | | | Romulus power on scripts requires a workaround to trigger CPLD to give pgood signal after vcs_workaround. Add this as cpld_trigger service that runs after vcs_workaround and before obmc-host-start-pre. Change-Id: I0723bad38a5832f0bb2a8776129885308a8e644a Signed-off-by: Lei YU <mine260309@gmail.com>
* Pick up new Witherspoon MRW XMLMatt Spinler2017-01-112-1/+7
| | | | | | | | | | | | | LEDs are now in the model. There is a Targets.pm change that must go with this that the mrw-rev.bbclass change will get. Because Targets.pm is common between Palmetto and Witherspoon, the Palmetto XML must be patched to make Targets.pm happy. Change-Id: Ic3378cca8c6ebe96870d283aac2d42d97b68358a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add multi-p9 support to the pdbg scriptsMatt Spinler2017-01-103-7/+17
| | | | | | | | | start_host.sh and vcs_workaround.sh need changes to support multiple P9s. Also bumped the pdbg version which is coreqed with the script changes. Change-Id: I5536b548315b5f9bf4fd4cb742c686a6ce12b6d0 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
* op-pdbg-host-control: Order services against obmc targetsXo Wang2016-12-222-4/+10
| | | | | | | | | | Remove sequencing against Witherspoon-specific services from pdbg host services. Add sequencing against obmc systemd targets. Shorten descriptions in pdbg control services. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I4d2f55c639f6b3095bdb36fe6161ccc9e2032eec
* meta-witherspoon: Order vcs_on before obmc-host-startXo Wang2016-12-221-2/+4
| | | | | | | Fix missing instantiation parameter for vcs_workaround unit. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I86e6e9d404cf81878b86814d0330fff6a136ceac
OpenPOWER on IntegriCloud