Age | Commit message (Collapse) | Author | Files | Lines |
|
This commit switches p10bmc machines to use a variation of the
openpower VPD parser called ibm-read-vpd that supports JSON driven
inventory configuration and runtime detection of system type.
Also supported are VPD writes via the vpd-manager service.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Id61b32846e0cc9750a5cf12297e7d956b1f511cf
|
|
Patrick Williams (4):
python: fix flake8 warnings and format with black
black: re-format
prettier: re-format
markdownlint: fix all warnings
Change-Id: Ic9c2b60fbd24b199ed7d69ad0b14499889bca901
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The TDA38740 regulator has a 2nd I2C address it responds to, so add
entries to the callout table for these so that when the address is
called out as failed the PEL will get the proper callouts.
This file is autogenerated from an XML representation of the system.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8e03ea17211c030e3fa4c0ffe9f497082c0a1945
|
|
This commit removes the unused rsyslogd
process running in P10BMC systems.
The REST API for this was disabled long back.
Test:
Tested on P10BMC machine.
systemctl status rysylog.service
Unit rysylog.service could not be found.
Removing rsyslog service doesn't affect BMC
boot time.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I1b8b1fac9cef4601717fd4daeaf7f76d8b1f4200
|
|
Configure U-Boot for p10bmc machines to enable the "AST2600 IBM" board
and disable conflicting options.
Follow the pattern used by the Qualcomm layer of putting the snippet in
files, which has the added bonus of saving a level of directory nesting.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I30a2822b65c5ff826f9f5b3fa71bcec9d402c74c
|
|
This power control implementation is not specific to openpower systems
(as seen by the variety of systems including it) so rename it to
something more appropriate.
This is using code from skeleton which is not ideal but that's a change
for another day.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iffe6427b5494558b53cd6f5716a08cce82cb90d8
|
|
The KCS device is only used on Tacoma, so move them out to their own
file.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Change-Id: I157a597c753440220b1e92b60191a0c5191e4aec
|
|
Add link for the service which clears the the dump stored
in host memory during a host poweroff
Included srcrev bump 583ebc090b..c0ab9d43d5
Claire Weinan (1):
Populate timestamps with microsecond precision
Dhruvaraj Subhashchandran (10):
OpenPOWER: Do not wait for response deleting host dump
OpenPOWER: Add additional trace to host dump operations
OpenPOWER: Clear system and resource dump entries while powering off
OpenPOWER: Do not delete dump entries during mp reboot
OpenPOWER: Use non blocking call for host dump offload request
OpenPOWER: Password is not mandatory for resource dump
OpenPOWER: Prevent dump delete while offloading
OpenPower: Return unavailable if any error in deleting host dump
OpenPOWER: Add PCIInit also as host running state
OpenPOWER: Add additional traces when requesting inst
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ibf2139402e8d190814c3fbc39b1ff93c269e9eb5
|
|
Per association document[1], add/update the association between
PowerSupply and Chassis.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/11efbb3c856af9d760e2d27ff276090d7b3510d5
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia7e40b67c13f2900a4d91d7f911f47c15b12b6c5
|
|
Qemu boots kernel+dtb directly, and mounts wic image (full filesystem)
as an emulated mmc device.
We add zImage as a KERNEL_IMAGETYPES (plural is important) so it is
copied to the deploy directory.
Currently there is only a wic.xz which cannot be booted directly. We add
wic.qcow2 so the wic image is exported as a usable image for Qemu. This
is a sparse image so empty space does not take up disk.
TODO:
1. qemu requires the image size to be a power of two. Current
workaround:
qemu-img resize p10bmc/tmp/deploy/images/p10bmc/*.wic.qcow2 16G
2. Boot via u-boot. Requires qemu mmc patches from Cédric's tree, and
creating an image with the boot0/boot1 partitions in it.
Change-Id: Ic64023b2d7f9bce80a025a1d847228e90e0b72bd
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Since the accuracy of power supply input power sensors is 1% on IBM's
p10bmc system, add `ACCURACY=1` to the power supply configuration of
p10bmc.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If143a61e44936fbd758d556575c250bc6ea501b2
|
|
A fork of it is maintained but its upstream layer has largely been
unmaintained.
No future products are planned to be based on this layer.
Mihawk is similar to Witherspoon.
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Change-Id: I82f7d777b78cd126237d51e42f1e11abdf80ae68
|
|
Witherspoon has a Qemu model called witherspoon-bmc.
Change-Id: I086b350182c0deb990b93d88461162181c29e815
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Palmetto has a Qemu model called palmetto-bmc.
Tested: bitbake core-image-minimal && runqemu slirp nographic
Change-Id: Ieea6bd5805c36a6d18e22e5aa6e18290b8026283
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Romulus has a Qemu model called romulus-bmc.
Change-Id: Iea41fc4fcfdb3cea8e2fb9dc286dfca2f304184f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
The content in this repository has been moved to
phosphor-dbus-interfaces, and ibm-dbus-interfaces has been deprecated.
Remove the recipe.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I36edf4743ed6a79c610a78eab84926de1d681818
|
|
All of these abstractions have exactly one implementation. Remove the
indirection to improve at a glance comprehension.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5d701aff6d0876fa3b2d16c841cbdcb0433b221f
|
|
Big cleanups to the phosphor-mapper/phosphor-objmgr recipe.
- Remove all "mapper-config-native" constructs as the underlying
repository has no such support.
- Remove all mapper-related bbclasses as they are no longer relevant.
- Remove environment support in service file as the mapper executable
no longer supports any arguments.
- Greatly simplify the 'libmapper' packaging to avoid stray python
in the recipe.
- Update all recipes to use `DEPENDS += "libmapper"` where appropriate
for clarity if they use libmapper.
- Rename the recipe from phosphor-mapper to phosphor-objmgr to match
the repository name, which allows simpler devtool invocations.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5a64e2feddd1a7919813e007411f9c28b6c9a330
|
|
These drivers are not used by Witherspoon, so can safely be disabled.
Saves about 80KB using arm-linux-gnueabihf-gcc Debian 12.2.0-3.
Total: Before=8813237, After=8731086, chg -0.93%
Signed-off-by: Joel Stanley <joel@jms.id.au>
Change-Id: Iedf253d76704ac37658a3cd66c01aad806a66a84
|
|
Witherspoon uses this i2c device for vrm control and monitoring.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Change-Id: I5354af5b3447e1bb2a9ba96642ec6ddc26db619d
|
|
Witherspoon is getting short on flash space, remove rsync as it's not
required in the image.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I40260b5b0f246db5bbc07a41457b0dee2d412efe
|
|
* Adds callouts for the TMP435s on the cable cards plus a few other
devices that were missing.
* Handles devices behind muxes by using the BMC's I2C alias bus number.
* A few other miscellaneous fixes.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iae4f862ec70891c6ccba463d7faaa7a183b99cc0
|
|
Running out of space on witherspoon, so removing some ibm functionality.
The ibm-logging package is already removed from witherspoon-tacoma.
Tested: The obmc-phosphor-image-witherspoon.squashfs-xz image file size
was reduced from 20807680 to 20692992.
Change-Id: Ia94e7145da785f444ed919b3811e0b454c0eba82
Signed-off-by: Adriana Kobylak <anoo@linux.ibm.com>
|
|
Added do_install in base recipe for phosphor-health-monitor to
copy the json file from WORKDIR to target for monitoring the CPU
and Memory usage of BMC. Therefore, this can be removed in each
bbappend files.
Tested: Tested in Facebook YosemiteV2 platform.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I78eed7efb3e0be81a952c4bc3c3ae64579a48f7d
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
This is a dummy recipe which points to the existing pldm
repository but enables only building the libpldm shared library.
This recipe would point to the libpldm.git once the migration
is complete.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I1aef3702b5b05f389c6a24e752e44daff57afd6e
|
|
Bonnell is a new IBM system which will be supported within the p10bmc
image. Load its device tree into the p10bmc image.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Idad1aed9aebafcca847a1c2a7749bb29f432601f
|
|
The latest pldm code removed the phyla nvram reset services as they are
No longer controlled via BMC, rather they are controlled by the ibm
hypervisor using a bios attribute.
pldm bump contains the following commits :
Jayashankar Padath (1):
oem-ibm: Remove extra bytes in resource dump request
Manojkiran Eda (3):
oem_ibm: Move the NVRAM files to the hostfw directory
oem_ibm : Add HRESET state setid & various states
oem_ibm: Add new file type for Running lids
Pavithra Barithaya (1):
PLDM:OEM Pass service authorization credentials to PHYP
Change-Id: I91ada72493f6d934cdb52e23e88783bcaae853e5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Added p10bmc specific dev_id.json file to support IPMI IANA number
Testing:
Used curl command to verify IANA number
$ ipmitool -I lanplus -C 17 -p 623 -U user -P password -H host raw 0x06
0x01
00 80 0f 32 02 8d 41 a7 00 4f 42 00 00 00 00
Signed-off-by: Shantappa Teekappanavar <shantappa.teekappanavar@ibm.com>
Change-Id: I6ca8f343c06aac2303137aa5d78145b59d7099ce
|
|
We also need to move the conf-notes.txt files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
|
|
```
WARNING: EXTRA_OEMESON:append:p10bmc += is not a recommended operator combination, please replace it.
WARNING: EXTRA_OEMESON:append:witherspoon-tacoma += is not a recommended operator combination, please replace it.
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5dc503b322d6cb90feb6d6261802fd50ebca31b2
|
|
The latest poky commit is requiring us to have all of
our template configs in a subdirectory instead of directly in
the `conf` directory. Without this we end up with errors during
setup like:
```
Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name
```
Fix this by moving all of our template files into the 'default'
template subdirectory (following the pattern of poky) and modifying
`setup` as necessary to follow.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
|
|
IBM systems utilize /tmp and /var for a variety of purposes so setup the
health monitor to look at the remaining space in these file systems. No
action at this time other then a log in the journal to provide a clue
when looking at an issue.
Tested:
- Filled up /tmp and verified this log:
“Aug 19 19:59:43 p10bmc health-monitor[326]: ASSERT: sensor Storage_TMP is above the upper threshold critical high”
- Removed big file from /tmp and verified this log:
"Aug 19 20:01:34 p10bmc health-monitor[326]: DEASSERT: sensor Storage_TMP is under the upper threshold critical high”
Signed-off-by: NodeMan97 <corey.hardesty@icloud.com>
Change-Id: I8a7921dffa6b756a4ab19a0e807e558ccd35f996
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The p10bmc machines require the phal and op-fsi features to be enabled
to function properly.
Tested:
- Confirmed both features enabled on p10bmc machine
- Confirmed only op-fsi was enabled on witherspoon
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Id01cae6246204a025f4401d0d2c26ccda78d7d77
|
|
The phosphor-fan-presence repository added meson support, so start using
it.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: If850d3d379ad82dc8f9691efd7a0561f350543dc
|
|
Adding telemetry bbappend to customize telemetry meson options
for IBM. IBM has different needs than upstream for telemetry capacity
in terms of numbers of sensors readings and rate of requests.
bbappend file allows IBM to stay up to date with upstream Telemetry
while maintain custom build options more suited to IBM's usecases.
Increase meson option for total maximum Metrics/MetricProperties
limit from 200 to 300. For IBM management agent use cases (HMC), the max
number of Metrics needs to greater than 200.
Also for IBM management agent use cases, telemetry reports need a higher
append limit for metric readings. 32768 was determined as
1) a power of 2,
2) higher than HMC's current usage,
3) Ability to collect one hour of data for 250 sensors reading
once every 30 seconds ==> a general guess as to maximum readings
needed in one report.
Testing for maximum metrics increase:
- Monitored CPU usage of bmcweb for both rainier and
everest systems. bmcweb usage spiked for around 2 seconds with 300
MetricProperty MRD.
- MRD was periodic on 15 interval with 300 MetricProperties averaged
over 30 seconds on everest system with 360 sensors. Max bmcweb usage
was 9% for brief instant when MRD post call is made.
Testing for appendLimit increase:
- Set AppendLimit up to 11000 with 150 sensors on 400+ sensor system.
- Monitored 'top' CPU usage for telemetry binary and bmcweb binary
which never ran above 5%. AppendLimit generated new metric entries
for the report.
- Retrieve report did seem to take a little longer as report grew but
not significantly.
- Tested various other lower limits and sensors
Signed-off-by: Ali Ahmed <ama213000@gmail.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Change-Id: I418c3e90c565770cd59b02c294754ff98df29a55
|
|
The bmcweb bummp adding this meson option merged so this can go.
IBM does not use phosphor-pid-control instead using phosphor-fan-presence
and such.
This Redfish OEM fan data includes PATCHing. Turn this PATCHing off and
the whole Manager OEM Fan data. This has been done downstream already.
We have also observed 500 errors with getting the thermalMode.
"Jan 24 16:34:57 rain534 bmcweb[435]: (2022-01-24 16:34:57) [ERROR
"managers.hpp":1196] GetPIDValues: Can't get thermalModeIface
/xyz/openbmc_project/control/thermal/0"
Tested: No longer see this InternalErrors. Been running with this
downstream.
Tested on a Tacoma.
Before on a PATCH:
curl -k -X PATCH https://$bmc/redfish/v1/Managers/bmc -d '{"Oem":{"OpenBmc":{"Fan":{"Profile":"Acoustic"}}}}'
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The request failed due to an internal service...
With this change and the bmcweb change (instead see a PropertyUnknown)
curl -k -X PATCH https://$bmc/redfish/v1/Managers/bmc -d '{"Oem":{"OpenBmc":{"Fan":{"Profile" : "Acoustic"} }}}'
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The property %1 is not in the list of valid properties for the resource.",
"MessageArgs": [
"Oem"
],
"MessageId": "Base.1.13.0.PropertyUnknown",
...
Change-Id: Ic988e2949ad65b31eb0b9bc6ecbdceb997d8cdda
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
Note: for witherspoon systems these options are still enabled
Tested:
1) Build works for both p10bmc and tacoma
2) Web sockets did not appear and Redfish output was as desired
Signed-off-by: Ali Ahmed <ama213000@gmail.com>
Change-Id: I0aa710433455b4ca5f17012ecd867846d87a3cfb
|
|
The OpenBMC u-boot tree now has support for the AST2500 based Romulus
and can use a single configuration for NCSI and non-NCSI boards.
Change-Id: I6daa155fcafa0128b119d67bf47cf629ac4b7977
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
The IPS systems will use the same OTP configuration but different RoT
keys.
Change-Id: I73ca9a79092cdd74bef509824a4123445ecbd003
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Better communicate whose P10 systems are the target of the
configuration.
Change-Id: I561750df9b32512753d9ce644088c2130ebb6a55
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Enable generating multiple OTP binaries by specifying multiple OTP
configuration files.
Change-Id: I1ce81cd2c1d0f501578b927eb31cce5a37cdcf1f
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Yocto append syntax should use assignment only and not `+=`.
Adjust this to fix the warning:
```
WARNING: ... :append:p10bmc += is not a recommended operator
combination, please replace it.
```
Fixes 6b7c28775d91c65816b1716edefe4e3299e1aa50.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I90ca66a4651b843e3fe96c13ba0242f7b6fca58d
|
|
These are some defaults IBM has been carrying downstream. Send upstream
since they are in the meta-ibm layer.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I239f0cbe29a118f51143974fc9bfaeaeffe80070
|
|
The power supply INPUT_HISTORY is only supported on certain power
supplies. The power supplies that ship with Rainier 2S2U, Rainier 4U,
and Everest support the INPUT_HISTORY.
The MEX I/O drawer power supplies do not support INPUT_HISTORY.
Use associations from Rainier/Everest power supply inventory entries to
the input history aggregation interfaces to facilitate Redfish filtering
of PowerSupplyMetrics for input history.
Change-Id: I9afb2e57fefbf0cc10378bffe2efe4f4548920ca
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
Patrick Williams (1):
MAINTAINERS: remove file
Change-Id: I28fe4fffae8f0f8fe459b995cad6e404684095d8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
phosphor-defaults.inc now automatically inherits extrausers and
configures the default root/0penBmc account, so individual platforms no
longer need to specify either explicitly.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ic2b725f0eaadfafef67069449497e57438fa0fba
|
|
Change the power-on dependency of the fan watch and fan watchdog reset
services to a wants instead of requires so the system isn't powered off
if they were to fail with power on.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I603747083567c1b3335c640b70da97ed7fac5332
|
|
For the moment, phosphor-webui is deprecated and unmaintained. The
replacement for it is webui-vue, which already has feature parity, and
many more features than its predecessor. Several calls have been made
asking if there is anyone still using phosphor-webui and would like to
maintain it into the future, but no such volunteer has stepped up.
Moving to webui-vue is the recommended option these days, and this
patchset is done under the assumption that these platforms would
actually like to move off the deprecated UI, and just don't have patches
to that effect. For the machine maintainers reading this, if you would
like to stay on phosphor-webui, please start that discussion here about
who would like to maintain it.
This commit ports the last few platforms over to webui-vue.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I9c74442b850aceca130545f37d5bc694a4f4424d
|
|
Default was initially set to represent seconds. The interface
documentation says that the value is representative of microseconds
,as well as, the corresponding code in phosphor-state-manager.
Change-Id: I183c5a248748589e172df58d07f2b2c2ed0f554c
Signed-off-by: Corey Hardesty <corey.hardesty@icloud.com>
|