summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm
Commit message (Collapse)AuthorAgeFilesLines
* Add phosphor-openpower-fru to the imageDeepak Kodihalli2017-02-202-0/+5
| | | | | | | Add to Witherspoon image. Change-Id: Ic00ca036e735055a5afb0978c44aaa52fd18f6fc Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add OpenFSI flag to device tree config fileMatt Spinler2017-02-201-0/+4
| | | | | Change-Id: I843b15b07b7c56fbda1b8d9e9b7dbbac6835f5de Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-witherspoon: vcs-control: Add retries for rebinding ucd driverSaqib Khan2017-02-161-3/+9
| | | | | | | Resolves openbmc/openbmc#1059 Change-Id: Idf2584d9179b55e85f56513617ba6cb39b881395 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Change wants to requires for all critical servicesAndrew Geissler2017-02-154-9/+9
| | | | | | | | In order for targets to fail when their services fail, the relationship must be a "requires" Change-Id: I1523dd51af8817b473557bac65e9e71eacecf52e Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* New Witherspoon MRW XMLMatt Spinler2017-02-131-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>
* 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>
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-0213-89/+70
| | | | | | | | | | | | | | | | | 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
* 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-022-1/+6
| | | | | | | | | | 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>
* 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-015-11/+11
| | | | | 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>
* Phosphor IPMI FRU config stubs for most systemsBrad Bishop2017-01-2513-1/+95
| | | | | | | | 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>
* 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-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-1/+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-195-0/+10
| | | | | | | | | | 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>
* 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>
* 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>
* 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
* Turn P9 VCS back off on a power off.Matt Spinler2016-12-202-0/+19
| | | | | | | | | | | After the system is powered off (PGOOD is a 0), we will make sure VCS is off. Even though the power on sequence also turns it off, we're being safe by also doing it here especially if some other code does the power on. Change-Id: I0834650083005bd41fbffc500cb2bc88b61d5c81 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Enable Witherspoon AVS bus and VRM controlMatt Spinler2016-12-201-0/+2
| | | | | Change-Id: I3739068a89645628d007e5fe1d530f51bbe1c3d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon AVS Bus ControlMatt Spinler2016-12-207-0/+113
| | | | | | | | | | | | | Perform an AVS bus workaround on the VRMs attached to the processor. The AVS bus is how the processor talks to the VRMs. After the workaround, this also provides services to disable the AVS bus so a VRM override can be run, and then enable it again afterwards. Change-Id: I68c48ffaafe5d7125556aa9d36cf11bf55ca93ac Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon VRM overridesMatt Spinler2016-12-203-0/+193
| | | | | | | | Overrides the default voltages of Witherspoon VRMs before a power on. Change-Id: Ide881b4b0656f53782459a427f8acde729137822 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add recipes for Witherspoon VCS workaroundSergey Solomin2016-12-162-0/+46
| | | | | | | | | | | | | | | Create vcs-workaround machine feature p9.inc Add new recipe vcs-pre-post.bb Add new recipe p9-vcs-workaround.bb Add new recipe start_host.bb Create preferred providers Create host control machine/distro/image feature Add dependencies Partially resolves openbmc/openbmc#647 Change-Id: I285cafc81afda20977fdf360ad8ad34d15e38685 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* disable UCD VCS railsSergey Solomin2016-12-112-0/+46
| | | | | | | Setup UCD module to disable VCS rails from power-on Change-Id: Ib72595cf120cd082bb8baf3657307154b5abd117 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* New recipe for setting Witherspoon fan speedsMatt Spinler2016-12-092-0/+26
| | | | | | | | For bringup use to set the fans to a fixed value until the real fan control code is ready. Can be removed then. Change-Id: I9e07d371222e19b542fd0c211180f5c5f5747061 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Service file to set Witherspoon fan speedsMatt Spinler2016-12-091-0/+16
| | | | | | | | | | Service file will call set_fan_speeds.sh at power on to set a default speed of 8000 RPM. Can be removed when real fan control is ready. Change-Id: I776e95effcb58dca330aa2f92b50c2c12ec14695 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Script to set witherspoon fan speedsMatt Spinler2016-12-091-0/+19
| | | | | | | | | | | Sets all fans to the RPM value passed in. Uses the i2cset command because there is no hwmon entry yet for the fan controller chip. Will be removed when real fan control is implemented. Change-Id: I50289dbcfcf175ab3349d851f4e45da061436b73 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Set MRW location for Witherspoon MRW XMLMatt Spinler2016-12-071-0/+3
| | | | | Change-Id: I175b1da5735ce022975354d3a961a94d223b5603 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add sd unit file for vcs_on.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which starts vcs_on script after vcs workaround. Partially resolves openbmc/openbmc#647 Change-Id: Ibf13a24b592d6d526b1c599d8f7b4eb8c7596150 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add sd unit file for vcs-off.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which orders itself before powering on Partially resolves openbmc/openbmc#647 Change-Id: Ibc3f3a928958b164c46056452c13f91c20b17277 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add supporting scripts for the OpenPOWER P9 processor.Sergey Solomin2016-11-182-0/+22
| | | | | | | | | | | Add Witherspoon power sequencer configuration scripts. Add P9 VCS workaround script. Add P9 SBE start instructions script. Partially resolves openbmc/openbmc#647 Change-Id: I0a25b2fc0fc74b2a88fd7d2c77b59aa72e0b2876 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add BMC flash section to devtree generator configMatt Spinler2016-11-141-3/+10
| | | | | Change-Id: I65e34e4b9e82957cc8c0b648a5ef0594790b6e59 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add IIO kernel config for WitherspoonLei YU2016-11-141-0/+1
| | | | | | | The CONFIG_IIO is depended by CONFIG_BMP280. Change-Id: I543dac0485b6ebdc0c86397f61ac62e99e13fd6f Signed-off-by: Lei YU <mine260309@gmail.com>
* Add BMP280 kernel config for Witherspoon.Lei YU2016-11-081-0/+1
| | | | | Change-Id: I09b7b98e03e5fa30dfd3c37563e68cf751dd8c84 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add recipe to install device tree config YAML.Matt Spinler2016-11-081-0/+17
| | | | | | | | New recipe copies the devtree-config.yaml to a place the device tree generator can find it. Change-Id: I3ac107986de469ce47a4cd76cb790a8ab60988bc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-obmc-machines: Add RTC_DRV_RV8803 to Witherspoon and Romulus kernelChris Smart2016-11-012-0/+2
| | | | | | | | | | | | | | | Witherspoon and Romulus contain an Epson RX8900CE RTC which is supported by the RV8803 kernel driver. This patch enables it now that the RTC is enabled in the respective device trees. See this commit for Witherspoon: 6c628de9d450b ARM: dts: witherspoon: add Epson RX8900CE RTC module And this commit for Romulus: c5682cbc3542a arm: dts: Add Romulus BMC machine Change-Id: I336a6a19c455d2e20084e7fd92c29404ccd5851c Signed-off-by: Chris Smart <chris@distroguy.com>
* Create YAML config file for device tree generation.Matt Spinler2016-10-311-0/+34
| | | | | | | | | This file will be read by the device tree generation code to fill in some things that aren't strictly hardware dependent so don't belong in the XML. Change-Id: I8d863adfd04c13dee5e133f1aceed76d470c2fe1 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-openbmc-machines: Add RomulusJoel Stanley2016-10-279-0/+89
| | | | | | | | | | | Romulus is a Power9 OpenPOWER system developed by IBM. TODO: - bump skeleton for config/Romulus.py - bump kernel for device tree Change-Id: I9779f213e3ebc6286f6eaac35650e6c4fe395f80 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Add UCD90160 kernel config for WitherspoonLei YU2016-10-251-0/+1
| | | | | | | Resolves openbmc/openbmc#653 Change-Id: I2c696ea0cf10b71ce971b456983ab0acdb5fed3f Signed-off-by: Lei YU <mine260309@gmail.com>
* Add obmc-mrw Machine featureMatt Spinler2016-10-201-0/+2
| | | | | Change-Id: I0fbf66ee1cc06222d1cc24d94674b142d3c08363 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud