| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Iadb2b4369cf627b7c1b2a4eaef8b26fb33175e1e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9b99cf57d696fb56d29e7ed9e07e7979e4e36997
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I20f864ad96ac5724d70f153955b7ddcb7231b390
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I43fd79222fe68df926f00544e5116b9516115e01
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ib19b801b372c8a2886e532e8119a1b6509d8f363
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I6c808153e2a283088d77f8533c34402021e30f83
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9fa6c37d295b02366a4322ad8f3e7ccbb9d36d88
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
Add udev rule to launch unit file upon eeprom plug event
Change-Id: Ice525ec26fe3c7144e78728e104d11c15ef3f465
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
debug tool for fsp-based i2c driver
Change-Id: I73ae4d5ae6ded219d55ffd7ae30f2b2a24e296a1
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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, 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>
|
|
|
|
|
| |
Change-Id: I5b0a32c24bcca0b1210926a2c68531b81464ad3c
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
| |
The revision fixes the pdbg issue on Romulus
Change-Id: Idd96ad49a0951bffa59930514d1d08012ae9702d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I12e71adf8d2635360087a0781354391121af3d7b
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
Attempt at consistant naming convention of ipmi recipes.
Change-Id: I9828503a61bccd83dc0294a3dca2db2d9981593b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
| |
Change-Id: I0172b7062d6afe58e78bbd4704253c9ac5a9dbcf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I1e46ec369277dd8ec4b1ef98c50b94054a60b108
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Idf38914bec90a33198088b72918953aebcff91b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|