summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/common
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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>
* Fix pflash PNOR accessJoel Stanley2016-11-173-53/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pflash changes: Move to latest upstream release of skiboot which includes the mtd erase patch we were carrying. Adds a patch to fix parsing of the longer mtd labels we have since updating the device tree bindings. dev: size erasesize name mtd0: 00060000 00001000 "u-boot" mtd1: 00020000 00001000 "u-boot-env" mtd2: 00280000 00001000 "kernel" mtd3: 001c0000 00001000 "initramfs" mtd4: 01740000 00001000 "rofs" mtd5: 00400000 00001000 "rwfs" mtd6: 02000000 00001000 "1e620000.flash-controller:flash@1" mtd7: 08000000 00001000 "1e630000.flash-controller:pnor@0" Linux kernel changes: Three of the patches move the comaptible string for the bt interface to match what we have sent upstream. There is also a dts change to the mtd nodes that add back the 'pnor' label to the PNOR mtd device, as required by pflash. Cédric Le Goater (2): ipmi/bt-bmc: change compatible node to 'aspeed, ast2400-ibt-bmc' ARM: dts: aspeed: fix flash module device nodes Joel Stanley (2): ipmi/bt-bmc: Add comaptible node for ast2500 arm: dts: aspeed: Use upstream comaptible string Fixes openbmc/openbmc#785 Change-Id: If2c293b85075edcf3078ef599e7b61f3a6d77c66 Signed-off-by: Joel Stanley <joel@jms.id.au>
* pdbg: version bumpJoel Stanley2016-11-081-1/+1
| | | | | | | Major update that adds support for i2c access to secondary processors. Change-Id: I79cae7a62f4e13e1bff01ae8dd579ad859a3ed79 Signed-off-by: Joel Stanley <joel@jms.id.au>
* pflash: fix erase command when using mtd backendJoel Stanley2016-11-072-0/+51
| | | | | | | | | | | | | | | | | | | | | | The libflash mtd backend lacked support for full-chip erase so it did not work. This patch adds that support to libflash. Patch is on it's way upstream[1]. Note: the old MMIO access method could perform a wole-chip erase on SPI NOR parts that supported it. This was sometimes a fraction faster than erasing each page one-by-one when re-flashing the entire chip. The mtd API does not (yet) provide a userspace API for that, so libflash always erases the flash one page at a time. This means you are better off using the -e command over -E. Fixes: openbmc/openbmc#747 [1] http://patchwork.ozlabs.org/patch/691765/ Change-Id: I20cf50e70a8487edc8cd77d41e73832913237b1b Signed-off-by: Joel Stanley <joel@jms.id.au>
* 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>
* pdbg: Version bumpPatrick Williams2016-09-291-1/+1
| | | | | Change-Id: I432b8b7fd7030b320bba4560245cfab6d2db79ac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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-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>
* skiboot: Update to 5.3.5Patrick Williams2016-09-141-3/+3
| | | | | Change-Id: I60dd0f975d0ec1ef44335814382d915b797a9d04 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* 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>
OpenPOWER on IntegriCloud