summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
Commit message (Collapse)AuthorAgeFilesLines
* Switch userspace to use MTD access by defaultJoel Stanley2016-11-043-86/+2
| | | | | | | | | | | | | | | | | | Currently pflash defaults to using the MMIO interface through /dev/mem. We want to disable /dev/mem in production systems in the near future, so all non-debugging uses of it need to be eliminated. The new version of pflash defaults to MTD access. It also brings some API cleanups to libflash. We recently moved flasher to use MTD. This updates skeleton to pull in an update to flasher so that it can build against the new libflash API. Fixes: openbmc/openbmc#713 Change-Id: I6bde91c7df5d0588fc48dd2e847f21f0624a6950 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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>
* evb-ast2500: set FLASH_SIZE for obmc-phosphor-image_types_ubootRick Altherr2016-10-311-0/+2
| | | | | | | | | | | | | | obmc-phosphor-image_types_uboot constructs a full flash image from the built kernel, initramfs, etc. The size of the flash image depends on FLASH_SIZE which is expected to be set by the machine config. evb-ast2500 never set this which caused the initial setting of the flash image to all 0xFF to silently fail. A functional flash image was still produced since the copying of the various files into the flash image succeeded. The flash image just ends early and writes zeros to unused sections instead of 0xFF. Change-Id: I640b2191e116ea82546a636e83c2a45c7e45c789 Signed-off-by: Rick Altherr <raltherr@google.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-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-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>
* 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
* Add obmc-mrw Machine featureMatt Spinler2016-10-201-0/+2
| | | | | Change-Id: I0fbf66ee1cc06222d1cc24d94674b142d3c08363 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-obmc-machines: Add MAX31785 to Firestone and WitherspoonJoel Stanley2016-10-142-0/+2
| | | | | | | | | These two machines contain the MAX31785 fan controller. We have an interim driver for these in the dev-4.7 Aspeed kernel tree, so add the driver to the configs for these machines. Change-Id: Id619e8b6e3338c880aabb8780db468cc5fff6a6f Signed-off-by: Joel Stanley <joel@jms.id.au>
* meta-obmc-machines: Witherspoon kernel overrideJoel Stanley2016-10-143-64/+0
| | | | | | | | | | This was an oversight when moving all of the systems to the 4.7 kernel tree. Fixes openbmc/openbmc#662 and fixes openbmc/openbmc#648. Change-Id: Idc39a1e8b8406f72f1c2c20a6a37af06eb2ad002 Signed-off-by: Joel Stanley <joel@jms.id.au>
* zaius-config: Add Zaius config recipeXo Wang2016-10-051-0/+5
| | | | | Signed-off-by: Xo Wang <xow@google.com> Change-Id: I3523a192f60e335a728c06d667bdf8836dde0a16
* obmc-op-control-power: Remove machine-specific patchesXo Wang2016-10-056-165/+0
| | | | | | | | | | | Remove net name patches from Firestone, Garrison, and Witherspoon. The equivalent configuration was moved into the Python machine config. Fixes openbmc/openbmc#601, fixes openbmc/openbmc#636, and fixes openbmc/openbmc#637. Change-Id: I2c2b03b506abffc1511e53dc622f42fe0589b00f Signed-off-by: Xo Wang <xow@google.com>
* 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
* Add raspberrypi as a platformYi Li2016-10-033-0/+54
| | | | | | | | | Add configure files to build OpenBMC for Raspberrypi. Resolves openbmc/openbmc#399 Change-Id: Ibc9ca0357b672c2af8436dc310bc1f10f7773c55 Signed-off-by: Yi Li <adamliyi@msn.com>
* pdbg: Version bumpPatrick Williams2016-09-291-1/+1
| | | | | Change-Id: I432b8b7fd7030b320bba4560245cfab6d2db79ac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* evb-ast2500: Remove sample.inc from evb-ast2500.incRick Altherr2016-09-281-1/+0
| | | | | | | | | | | Previously, sample.inc enabled simulations of machine features required by the Phosphor distro. These features are now optional and controlled by a combination of distro and machine features and sample.inc no longer exists. Removing the include of sample.inc fixes the build of evb-ast2500 but disables those simulations. Change-Id: If22f2c985ccb4321b510a7a5723f8960a57c5fa6 Signed-off-by: Rick Altherr <raltherr@google.com>
* firestone/garrison: fix build breakBrad Bishop2016-09-235-3/+3
| | | | | | | | Firestone & Garrison systems weren't building after a6bd1e. Change-Id: Ida8deaf8d5d00b1c5df16ab9b0410ca6f2b17cb6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Revert "Create Palmetto inventory recipe."Matt Spinler2016-09-212-157/+0
| | | | | | | | | | Don't need this anymore now that inventory.json is generated dynamically. This reverts commit 38a21ef5b470dac705ff0c05dd883518eeb4d2e2. Change-Id: I10ff6b9a30f79de236c1d6186e4e2a3868ea5656 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Fixup inventory generation dependenciesMatt Spinler2016-09-213-1/+6
| | | | | | | Resolves openbmc/openbmc#567. Change-Id: I68e8e726f839038a6a256ff18a88d936ab0af3e4 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* skiboot: Race condition in 'gard' buildPatrick Williams2016-09-162-0/+44
| | | | | Change-Id: Ieddbc96706ceb1dfd3a124a4c4b5c7b198af4b46 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move and rename skeleton recipeBrad Bishop2016-09-145-7/+75
| | | | | | | | Move the skeleton recipe to the openpower layer and rename it more appropriately to packagegroup-op-apps. Change-Id: I27bad03013fd7e5381cb535a5de4f8821674d663 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Move default providers to distro configBrad Bishop2016-09-141-2/+0
| | | | | | | | Move the fake, example implementations from sample.inc to phosphor-defaults. Other layers override as needed. Change-Id: Ic024b13c39bf1750f5c76bc0fac1d18092e8305d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower: remove event machine featureBrad Bishop2016-09-141-1/+0
| | | | | | | obmc-event-mgmt is a distro feature only. Change-Id: I8ef1a0131ecda53b655af40a49340edf409a6951 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com
* Add host ipmi featureBrad Bishop2016-09-141-0/+1
| | | | | | | Add a distro/machine feature for Host IPMI. Change-Id: I873e5a37236ab408890e967109f16bc1926503be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* host-ipmid: Convert providers to package groupBrad Bishop2016-09-142-4/+1
| | | | | | | | The desired providers were previously expressed in a virtual package. Move them to a packagegroup instead. Change-Id: I7343b64871b655dc7f567ecb8412b6b47b791d33 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove VIRTUAL-RUNTIME_xxx_ctlBrad Bishop2016-09-141-12/+0
| | | | | | | | These variables don't do anything functionally at the moment and the idea is better implemented with a packagegroup anyway. Change-Id: I026989df7a1169d44ff1a532731c97930c95d293 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove manager classesBrad Bishop2016-09-141-8/+8
| | | | | | | | | | | The value added by these classes is minimal and lowers the flexibility available to clients using them when it comes to packaging. Rename recipe virtuals - obmc-phosphor seems redundant. Align package virtual names with best practices (virtual-package). Change-Id: I34c3cb03f6b1d2aaa734ed02078b388667f70917 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* 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>
* skiboot: Update to 5.3.5Patrick Williams2016-09-141-3/+3
| | | | | Change-Id: I60dd0f975d0ec1ef44335814382d915b797a9d04 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Generate system inventory data from MRW XML.Matt Spinler2016-09-131-0/+1
| | | | | | | | | | This will fetch a script from the phosphor-mrw-tools repo and use it to generate the system inventory data from the machine readable workbook XML. The resulting .json file will go into the flash image for use on the system. Change-Id: I888ea51a2a75d915238776be568960e0898d6106 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add XML patching bitbake class.Matt Spinler2016-09-132-0/+469
| | | | | | | | | | | | | | This commit adds a new obmc-xmlpatch class that can be inherited in a recipe to provide a do_patch task to patch XML files. The patch files are themselves XML, and must end in .patch.xml for do_patch to find them. This commit also includes Palmetto patches specified in palmetto.xml.patch.xml that are required to build the system inventory. Change-Id: Idae6ffd8e7a3aa247115ff3a840e047727ff0d1a Signed-off-by: Matt Spinler <spinler@us.ibm.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
* Remove policy distro featureBrad Bishop2016-09-121-1/+0
| | | | | | | | The policy feature doesn't have any meaning or definition at the moment so remove in an attempt to reduce clutter. Change-Id: I7edaeb3bc9ffb409e5f7dfeae424ffb94f6085fd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Drop obmc-phosphor- prefix from recipe collectionsBrad Bishop2016-09-126-0/+0
| | | | | | | | Given that these are already in the recipes-phosphor directory this seemed redundant. Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Specify which MRW XML to use for Palmetto.Matt Spinler2016-09-091-0/+3
| | | | | | | | Set the machine readable workbook URI and REV variables so the mrw-native recipe can retrieve the XML. Change-Id: I1f63365917f818b31c00997edb312f700b935af3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add new OE layers to bblayers.conf.sampleBrad Bishop2016-09-066-0/+48
| | | | | Change-Id: Ib558f345200bb7aa8f0a394a025b77b3f604c7ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Create Palmetto inventory recipe.Matt Spinler2016-09-062-0/+157
| | | | | | | | | | | | Create a recipe that will install Palmetto's inventory file into the flash image. This is mostly a proof of concept to show how the inventory could be data driven. A future commit will update inventory_manager.py to use it. Eventually, this file will be auto generated from the machine readable workbook. Change-Id: I2723ff0dbc25807561ca3f9355ccfb64353119e5 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Switch to systemd state managementBrad Bishop2016-09-061-0/+9
| | | | | | | Enable systemd chassis and bmc state management support for Phosphor. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I180496eb8e48dfc617f944053b8e909210c6df7d
* Barreleye: Prepare for systemdBrad Bishop2016-09-0611-0/+72
| | | | | | | | Barreleye specific overrides in preparation for the move to systemd state management. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com Change-Id: Ifaca2e849625530ac97accdf0542d14f9708ee0f
* Palmetto: Prepare for systemdBrad Bishop2016-09-061-0/+3
| | | | | | | | Palmetto specific overrides in preparation for the move to systemd state management. Change-Id: Ie9168f0e4db965a553af2e96e8dbb22b527257e9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Systemd unit files for skeleton applicationsBrad Bishop2016-09-061-0/+15
| | | | | | | Preparing to start these with systemd. Change-Id: I39a99242cee3e9e17e51356521d29bab5ad7d399 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Palmetto: Remove fan/reset button recipesBrad Bishop2016-09-061-0/+2
| | | | | | | These aren't used on Palmetto, so don't build them. Change-Id: Ib31628cc29750e0a4a932759fc3e4723ac643bf4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* yocto-2.1: meta-yocto to meta-poky transitionPatrick Williams2016-08-226-12/+12
| | | | | | | | With yocto-2.1, per meta-yocto/conf/layer.conf, meta-yocto is deprecated and should be transitioned to meta-poky. Change-Id: Ie1819c13d1741d68f130570c676b3fe274cbb6f4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Remove native/sdk classes from recipesBrad Bishop2016-08-181-2/+0
| | | | | | | | | | | | | | | | | | There isn't any reason to be baking pflash or libobmc_intf recipes for sdk or build machines (x86). This was mistakenly added (by me) based on misunderstanding of how to get dev packages into the target sysroot. The correct way to do this is to just have a dev package whose main package is in IMAGE_INSTALL or has a dependency on another dev package (whose main package is in IMAGE_INSTALL). I'm not adding those dependencies now here because at the moment pflash-dev is unused and libobmc_intf will eventually disappear. Change-Id: I691cd029a69ad7554faeb4782ae97b92946c9a7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* pdbg: Version bumpPatrick Williams2016-08-162-34/+1
| | | | | Change-Id: I84e08ce3c54bac67dff7b80d431085ee18db38e4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-openpower: Add pdbg to tarballPatrick Williams2016-08-101-0/+1
| | | | | Change-Id: Icda8c4fa3b11605f473c53552c1c4b9a667e22a3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-openpower: Add pdbg tool recipeJoel Stanley2016-08-102-0/+46
| | | | | | Change-Id: I4ce995e7780a355f1c850dd0f9092f763471df75 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skiboot-gard: Add recipe and add to tarballPatrick Williams2016-08-105-1/+121
| | | | | Change-Id: I250c891eb77dacabb8e76199591b7d5aac0e0122 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* pflash: Refactor recipePatrick Williams2016-08-103-25/+30
| | | | | | | | Move pflash to a general skiboot recipe so that we can create additional recipes for other components of skiboot. Change-Id: I59253d17840da7a07f00bec9c650676da9ffb5e5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud