summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/common/recipes-phosphor
Commit message (Collapse)AuthorAgeFilesLines
* unit: fix environment variable syntaxDeepak Kodihalli2017-02-231-1/+1
| | | | | | | | systemd populates an environment variable if it's in the format 'arg $value', but not for 'arg=$value'. Change-Id: I89bd547909ee9203967630bb43e587dd4932da9e Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* openpower-fru-vpd.inc: bump versionPatrick Williams2017-02-231-1/+1
| | | | | Change-Id: I43fd79222fe68df926f00544e5116b9516115e01 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-fru-vpd.inc: bump versionPatrick Williams2017-02-221-1/+1
| | | | | Change-Id: Ib19b801b372c8a2886e532e8119a1b6509d8f363 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add virtual/openpower-fru-propertiesDeepak Kodihalli2017-02-225-1/+72
| | | | | | | | | | | This virtual provides an output file in YAML format, which has property:value pairs for FRUs of interest. Add a native recipe that extracts property values from the MRW. Set this as the default for OpenPOWER systems. Change-Id: Ib56d253aaceeb84bdb40381147915b3cfc80942a Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Inventory: Map chassis fru dataRatan Gupta2017-02-221-84/+103
| | | | | | | | | Make the association for chassis. Update mrw revision due to co-req with script changes. Change-Id: I42ef9edbf9714d302d7afe2a0851f5ca6f2fe579 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* IPMI Whitelisted commands for FRU and OEM repositoriesTom Joseph2017-02-213-1/+9
| | | | | | | | | | | | The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem is added. Only the IPMI whitelisted listed commands are allowed in restricted mode. The IPMI whitelisted commands for phosphor-ipmi-fru and openpower-ipmi-oem are added as native packages and host-ipmid depends on those. Change-Id: Ic4184773656567eb0dffa30ef29f8bc3ced3aff4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* openpower-fru-vpd.inc: bump versionPatrick Williams2017-02-201-1/+1
| | | | | Change-Id: I9fa6c37d295b02366a4322ad8f3e7ccbb9d36d88 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-fru-vpd: add udev ruleDeepak Kodihalli2017-02-202-0/+6
| | | | | | | Add udev rule to launch unit file upon eeprom plug event Change-Id: Ice525ec26fe3c7144e78728e104d11c15ef3f465 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add recipe for openpower-vpd-parserDeepak Kodihalli2017-02-203-0/+54
| | | | | | | | | openpower-vpd-parser includes an application which reads OpenPOWER VPD from an eeprom, parses it and writes the parsed content to the inventory. Change-Id: Id50d2c48e1f084777dd445753779426045c52428 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add recipe for iicmaster toolEdward A. James2017-02-201-0/+6
| | | | | | | debug tool for fsp-based i2c driver Change-Id: I73ae4d5ae6ded219d55ffd7ae30f2b2a24e296a1 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Add virtual/openpower-fru-inventoryDeepak Kodihalli2017-02-163-0/+51
| | | | | | | | | | | This virtual provides an environment file that serves as inventory configuration for openpower-vpd-parser. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Change-Id: I88c1d4123d73a5cdf37cba8efda40107f7b9ef25 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add virtual/openpower-fru-vpd-layoutDeepak Kodihalli2017-02-162-0/+30
| | | | | | | | | | | | This virtual provides a vpd layout file that describes openpower vpd structure to openpower-vpd-parser. Add a native recipe that provides a default layout, set that as the default for OpenPOWER systems. A system may override this by providing their own virtual/openpower-fru-vpd-layout. Change-Id: I143fb03e68ef7418c704b1d0e2e9835ffb4c5526 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Inventory: map custom IPMI propertiesRatan Gupta2017-02-161-1/+8
| | | | | | | | Here we are mapping the EC(Engineering Change) property of the processor, which comes as a custom field in the ipmi fru packet. Change-Id: Id136433ed4b33669eae3e50562a4f6517330fc08 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Change wants to requires for all critical servicesAndrew Geissler2017-02-152-2/+2
| | | | | | | | 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>
* Clean up op packagegroupsBrad Bishop2017-02-141-11/+0
| | | | | | | | | | | | | | | Now that the legacy applications are picked up in the OpenPOWER layer via obmc-apps packagegroups, those dependencies can be removed from the op-apps packagegroup. Remove the sensord application as it has been replaced with phosphor-hwmon. Demote sensor mgmt feature to an image feature since anything running OpenBMC can have a sensor. Change-Id: I0b27cacbcbd73d53ab8db40790ea967ad478d111 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add inventory, led and sensors package groupsBrad Bishop2017-02-141-0/+21
| | | | | | | | | | | | | | | | | Add inventory, leds and sensors categories to the obmc-apps packagegroup. Add virtuals and mark Phosphor apps as providers: -obmc-inventory-manager -obmc-leds-manager -obmc-leds-sysfs -obmc-sensors-hwmon Add legacy applications to these groups in the OpenPOWER later until they are fully deprecated. Change-Id: If3ae7c83ccd03e21adbca4653c1e803566b502de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Changes to conform to IPMI FRU specDeepak Kodihalli2017-02-141-14/+13
| | | | | Change-Id: I5b0a32c24bcca0b1210926a2c68531b81464ad3c Signed-off-by: Deepak Kodihalli <dkodihal@in.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: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop2017-02-022-0/+102
| | | | | | | | | | | | | | | | | 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>
* 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 VCS workarounds into new obmc-power-chassis targetsAndrew Geissler2017-02-012-3/+3
| | | | | Change-Id: I12e71adf8d2635360087a0781354391121af3d7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.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>
* 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 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>
* Add P9 clock mux select overrideMatt Spinler2017-01-201-3/+7
| | | | | Change-Id: I0172b7062d6afe58e78bbd4704253c9ac5a9dbcf Signed-off-by: Matt Spinler <spinler@us.ibm.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>
* Add multi-p9 support to the pdbg scriptsMatt Spinler2017-01-102-6/+16
| | | | | | | | | 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>
* 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
* Add recipes for Witherspoon VCS workaroundSergey Solomin2016-12-165-3/+63
| | | | | | | | | | | | | | | 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>
* op-pdbg-host-control: Fix boot scripts for pdbgXo Wang2016-12-122-8/+36
| | | | | | | | | | | | | | | | | | | The current scripts use ecmd-style bit ranges and call a "putcfam" function/command that doesn't exist. Use latest VCS fix and IPL start commands from Dean Sanner (including scratch register 8 value), converted to pdbg masked read-modify-write format. Add optional argument to scripts for specifying pdbg's '-d' flag. Scripts tested to boot a Zaius machine, but not tested with systemd services for sequencing. Partially resolves openbmc/openbmc#647. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I87761d1454306ebf4ad597057d2160eae10dc8cb
* Put the CFAM/FSI slave into async mode prior to starting the SBESergey Solomin2016-12-091-1/+1
| | | | | | | | Async mode changes the CFAM clock to an internal reference clock instead of the FSI clock (which on SoftFSI is intermittent). Change-Id: I8af7989de72774aae0e6ffb91bce7e70bd6592a1 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add sd unit file for start_host.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which starts start_host script after vcs on. Partially resolves openbmc/openbmc#647 Change-Id: Ieaa3713ce200bc5f156ba0e4548e264de6918e45 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add sd unit file for vcs_workaround.shSergey Solomin2016-11-211-0/+13
| | | | | | | | | Add systemd unit, which starts vcs_workaround script after pgood. Partially resolves openbmc/openbmc#647 Change-Id: I1ec8fecffcb4293238a0a0f486101c4bd2ecd05c Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Add supporting scripts for the OpenPOWER P9 processor.Sergey Solomin2016-11-182-0/+10
| | | | | | | | | | | 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>
* Move and rename skeleton recipeBrad Bishop2016-09-142-0/+68
| | | | | | | | 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>
* host-ipmid: Convert providers to package groupBrad Bishop2016-09-141-0/+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>
* 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
* 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>
* meta-openpower: Add pdbg to tarballPatrick Williams2016-08-101-0/+1
| | | | | Change-Id: Icda8c4fa3b11605f473c53552c1c4b9a667e22a3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* skiboot-gard: Add recipe and add to tarballPatrick Williams2016-08-101-0/+1
| | | | | Change-Id: I250c891eb77dacabb8e76199591b7d5aac0e0122 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-openpower: Add pflash to debug tarballPatrick Williams2016-08-101-0/+3
| | | | | Change-Id: Ibc6925f1da7f1471cf722a1b7e257f613588041b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Merge pull request #324 from bradbishop/dir-structurePatrick Williams2016-06-151-3/+1
|\ | | | | Add virtual workbook / config-in-skeleton classes
| * Add OBMC_IMAGE_EXTRA_INSTALL variableBrad Bishop2016-06-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this patch packagegroup-core-boot was not being pulled in. core-boot is what brings in the init_manager (systemd) but somehow systemd was added as a dependency by OE for the skeleton package so the missing core-boot packagegroup went unnoticed. core-boot was not being pulled in because of an assignment to IMAGE_INSTALL in the global configuration. Yocto core provides a mechanism to do the same thing safely - CORE_IMAGE_EXTRA_INSTALL; use this and also adopt a similar approach for adding extra packages to image recipes using obmc-phosphor-image. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | Remove openpower inventory upload systemd startupBrad Bishop2016-06-142-11/+0
|/ | | | | | | | The launching of this application is temporarily being moved to the skeleton state management framework to avoid race conditions with the host power-on process. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Bump phosphor recipe versionsAdriana Kobylak2016-06-101-1/+1
| | | | | | | | | Enable one-time vs permanent host boot option Handle endianness in IPMI eSEL function Improve IPMI error handling Add IPMI Travis CI Fix host hanging due to inventory upload Performance improvements
* Bump versions for inventory uploadBrad Bishop2016-05-052-1/+14
| | | | | Bump mapper and skeleton versions. Bump upload version and add systemd service file.
* New recipe for openpower-inventory-uploadBrad Bishop2016-04-292-0/+23
This script uploads the BMC inventory to a partition in PNOR on POWER systems for inclusion in the host device tree.
OpenPOWER on IntegriCloud