summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/common
Commit message (Collapse)AuthorAgeFilesLines
* op-proc-control.bb: bump versionPatrick Williams2017-03-161-1/+1
| | | | | Change-Id: Iadb2b4369cf627b7c1b2a4eaef8b26fb33175e1e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Use openpower-proc-control in bitbakeMatt Spinler2017-03-167-79/+23
| | | | | | | | | The executable built from this repository will now be used in start_host@.service and vcs_workaround@.service instead of the shell scripts that use pdbg to do FSI commands. Change-Id: I8ef3075449b562d64295ae330bd2c150264a0607 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add FSI enable/disable services for cronus useMatt Spinler2017-03-161-2/+2
| | | | | | | | | | | Start fsi-disable.service to unbind the FSI Driver. Start fsi-enable.service to bind it again and rescan. Also added a fsi-bind@.service so we can ensure the driver is bound each power on. Change-Id: I5fa62b44994aea3bb645e755187f29e720bf3bce Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-fru-vpd: fix mapper Wants for servicePatrick Williams2017-03-151-2/+2
| | | | | | | | | | | | The previous Wants statement was on the old capitalized inventory object. Fix to use the lower-case inventory object and remove 'manager' since there is no 'manager' object. Fixes openbmc/openbmc#1311. Change-Id: I0caea10bc10a8f724d0951f592e396dd71e84743 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Service for enabling/disabling host failure rebootsMatt Spinler2017-03-151-0/+1
| | | | | | | | | Wraps the auto_reboot host setting in a service so it can be enabled or disabled by starting or stopping the service. Change-Id: Ib3e92f67eb833cd6e31e153b58a63edb6837ae2c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Do not run chassis power target services if power onAndrew Geissler2017-03-151-0/+1
| | | | | | | | | | | | 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>
* openpower-fru-vpd:Fixes the build failure for non mrw systemRatan Gupta2017-03-091-1/+1
| | | | | | | | Install the sample example file as out.yaml which is expected in openpower-fru-vpd recipe. Change-Id: I50689b98814b8a4c8fa23261c4fcf0bd73c63538 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* meta-openpower: Remove deprecated inventory-uploadPatrick Williams2017-03-031-1/+0
| | | | | Change-Id: I9b99cf57d696fb56d29e7ed9e07e7979e4e36997 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Ensure FSI scan runs before services that use FSIMatt Spinler2017-03-011-0/+2
| | | | | | | | The FSI scan must be done before start_host and vcs_workaround run in order for them to work propertly. Change-Id: I1305a65763ba35721d5655f1f3e6c2d8af5fdc71 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Use OpenFSI backend for all FSI operationsMatt Spinler2017-02-242-6/+2
| | | | | | | | | | | | | | We perform two changes that must be done in sync: - Tell pdbg to use OpenFSI backend in boot scripts. - Bump the kernel to enable the FSI kernel driver. Following this change the host CPUs are IPL'd through the kernel driver. Change-Id: Ia28d2c854c8856c12c21e2230501ab7a9bc2a3b7 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
* Add service to trigger OpenFSI driver to do a scanMatt Spinler2017-02-241-0/+2
| | | | | | | | After PGOOD comes up, the FSI driver needs to do a scan to find the FSI devices. Change-Id: I1b4eeec191408a36b37d9044279bdf067deb2b15 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-fru-vpd.inc: bump versionPatrick Williams2017-02-241-1/+1
| | | | | Change-Id: I20f864ad96ac5724d70f153955b7ddcb7231b390 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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>
* Pick up multi-chip pdbg fixesAndrew Geissler2017-02-221-1/+1
| | | | | Change-Id: I6c808153e2a283088d77f8533c34402021e30f83 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* 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-202-0/+22
| | | | | | | debug tool for fsp-based i2c driver Change-Id: I73ae4d5ae6ded219d55ffd7ae30f2b2a24e296a1 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* pdbg openFSI enablementAndrew Geissler2017-02-201-1/+1
| | | | | | | | | | | | | pdbg now supports i2c, fsi big bang, and openFSI. This commit has no dependencies as the current OpenBMC scripts pass the appropriate parameters to pdbg to tell it to continue using the fsi bit bang method. Future commits will switch the scripts over to openFSI once it's enabled. Change-Id: I1572a1dc1de9e173c78bbbe9767aaf63f782d37f Signed-off-by: Andrew Geissler <andrewg@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>
* pdbg.bb: bump versionLei YU2017-02-141-1/+1
| | | | | | | The revision fixes the pdbg issue on Romulus Change-Id: Idd96ad49a0951bffa59930514d1d08012ae9702d Signed-off-by: Lei YU <mine260309@gmail.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>
* 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>
* pdbg.bb: bump versionPatrick Williams2017-01-161-1/+1
| | | | | Change-Id: I1e46ec369277dd8ec4b1ef98c50b94054a60b108 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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-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>
* 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>
* pdbg.bb: bump versionPatrick Williams2016-12-141-1/+1
| | | | | Change-Id: Idf38914bec90a33198088b72918953aebcff91b3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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
OpenPOWER on IntegriCloud