Age | Commit message (Collapse) | Author | Files | Lines |
|
This commit is to populate link(s) to processor associated with given
PCIeDevice which is established via the assoication with PCIeSlot.
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/65076
Tested:
- dbus has the association between processor and slot
```
/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10 \
xyz.openbmc_project.Association.Definitions Associations
...
"connected_to" "connecting" "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0"
```
Change-Id: I983c8444e4e3b206c60cf86c83d5b5cbf575f386
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
The regulator PVCCD_HV_CPU* only has sensors to measure output
power and input voltage.
Calculate input power and input current for PVCCD_HV_CPU* based
on output power and input voltage considering 90% efficiency.
TEST: webui shows newly added PVCCD_HV_CPU* sensors.
Change-Id: I3ae49beaca4453595116b640177fde822d195ab6
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
|
|
Applications that operate on BMC typically rely on the standard
systemd recovery mechanism. In this setup, systemd automatically
restarts applications when they encounter issues. However, for
critical daemons like PLDM in IBM systems, the situation is more
nuanced.
PLDM plays a vital role in IBM infrastructures as it facilitates
communication between BMC and the host. Therefore, if the PLDM
daemon experiences a crash or restarts unexpectedly, it's crucial
to notify the remote PLDM endpoints. This notification ensures that
the remote endpoints can detect the disruption and initiate corrective
measures to synchronize critical data, such as PDRs, between the two
endpoints.
To efficiently communicate the status of a remote endpoint when the
PLDM faces an interruption, the MTCP channel serves as a key mechanism.
Specifically, when the mctp-demux daemon undergoes a restart, it
reinitializes the MCTP channel. This action effectively signals the
remote endpoint that an issue has occurred. By doing so, the remote
side can promptly take the necessary corrective actions to maintain
data synchronization and system integrity.
Change-Id: I7d28ef9b3fc8263a100d7ff1f5378fcddcdd3f89
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
|
|
The entity-manager config for these systems now provides the Compatible
inventory decorator interface which has Names property values like
com.ibm.Hardware.Chassis.Model.Everest.
The error logging code code uses these values to lookup a callout file,
so rename them to match.
Tested:
- Files show up in rootfs
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic2be73fc6e5cc0114baca027c2057d9068b1cd1f
|
|
Currently, several machines use the oem-ibm function in the
pldm_%.bbappend file. It should be added to PACKAGECONFIG in the
pldm_git recipe and disabled by default.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ia120de9ad80f24333575e3b278ff14c3272a4733
|
|
System1 will take advantage of the features found in the power supply
monitor package within phosphor-power.
Change-Id: I2ab3476a16927db2c53867b5965507eea0b3a3e7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add phosphor-buttons to use the standard GPIOs to power on/off
the machine when the user presses the power button on the system
Also added the GPIO definition for the power button based on the
GPIO it is connected seen in the schematics.
Change-Id: I62e5179de37042020de016cc7b44afbe08e5638f
Signed-off-by: Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com>
|
|
/redfish/v1/Managers/bmc/LogServices/Journal/Entries gives
the system journal entries which may be a lot of entries.
In addition, if the system clock goes backward while some
journal entries were created, redfish validator may potentially
complain the failures.
Those entries may not be found by `sd_journal_seek_realtime_usec()`[1]
which uses bisect search (based on the time order in journal).
For example,
```
ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632005117 returned HTTP error. Check URI.
ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632053933 returned HTTP error. Check URI.
ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632056655 returned HTTP error. Check URI.
```
Journal entries are
```
{
"MESSAGE_ID" : "39f53479d3a045ac8e11786248231fbf",
"MESSAGE" : "Started Time & Date Service.",
"__REALTIME_TIMESTAMP" : "1699839632179843",
"_SOURCE_REALTIME_TIMESTAMP" : "1699839632179536",
}
---Backward Begin
{
"_SOURCE_REALTIME_TIMESTAMP" : "1699839632004914",
"MESSAGE" : "Clock change detected. Flushing caches.",
"__REALTIME_TIMESTAMP" : "1699839632005117",
}
{
"MESSAGE" : "Time jumped backwards, rotating.",
"__REALTIME_TIMESTAMP" : "1699839632053933",
}
{
"__REALTIME_TIMESTAMP" : "1699839632056655",
"MESSAGE_ID" : "c7a787079b354eaaa9e77b371893cd27",
"MESSAGE" : "Changed local time to Mon 2023-11-13 01:40:32 UTC",
"_SOURCE_REALTIME_TIMESTAMP" : "1699839632018027",
}
---End of backward
{
"__REALTIME_TIMESTAMP" : "1699839662049861",
"MESSAGE_ID" : "7ad2d189f7e94e70a38c781354912448",
"_SOURCE_REALTIME_TIMESTAMP" : "1699839662049794",
"MESSAGE" : "systemd-timedated.service: Deactivated successfully.",
}
```
Tested:
- Redfish Validator passes
- GET Journal Entries will not be found
```
$ curl -k -X GET https://${bmc}:18080/redfish/v1/Managers/bmc/LogServices/Journal/Entries
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The requested resource of type named 'Entries' was not found.",
"MessageArgs": [
"",
"Entries"
],
"MessageId": "Base.1.16.0.ResourceNotFound",
"MessageSeverity": "Critical",
"Resolution": "Provide a valid resource identifier and resubmit the request."
}
],
"code": "Base.1.16.0.ResourceNotFound",
"message": "The requested resource of type named 'Entries' was not found."
}
}
```
[1] https://github.com/openbmc/bmcweb/blob/7164bc62dd26ec92b01985aaae97ecc48276dea5/redfish-core/lib/log_services.hpp#L2690
Change-Id: I778e3ff1e0d3de508d33a1d53aed5e57ca096f37
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
The commit removes dependecy of obmc-led-set-all-groups-asserted
from the recipe file of phosphor-led-manager.
The script executed by the service curently sets asserted property
of all the LED groups to false on BMC boot which is now being set
using operational status. Hence the script is no longer required.
Change-Id: I6ddfa17ec70d75f115931d78d5866dab8a7e1f21
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
|
|
Since not all systems start persistent-led-asserted by default,
persistent-led-asserted should be disabled by default in Yocto.
However, IBM’s p10 machine needs to be enabled by default.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I9b5302f541bf814f96d5af7d20662b5bfcc4e6a8
|
|
p10bmc machines utilize the reserved 64MB of memory for both HIOMAP and
MCTP transport implementations. HIOMAP gets the first 63MB and MCTP gets
the last 1MB.
Tested:
- Confirmed mboxd started with "--window-num 63" parameter
Change-Id: I2f82875da4b75dbcc4fdd59e9dcea8f0fc46154a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
SBP1 BMC has two network interface i.e., eth0/1.
Update ALT_RMCPP_IFACE to eth1.
TEST=Build for sbp1, check working of IPMI command:
ipmitool -C 17 -H 10.93.130.28 -U root -P 0penBmc -I lanplus \
fru print
Change-Id: Ibb2325b7b0760f2dfd1057a908100a98098eb774
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
|
|
Tested:
- Confirmed logs present under
/redfish/v1/Managers/bmc/LogServices/EventLog/Entries
Change-Id: I88daf714e2422924f4a6906d906f0d535d036869
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
System1 will utilize the large EMMC configuration seen on p10bmc
machines so increase its http body limit to match what p10bmc gets via
its meta-openpower distro feature override.
Tested:
- Confirmed a large image upload worked
Change-Id: I4d164c3ffb5176cd4fdc5d4c55a268ca71018afe
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
IBM systems are not ready to transition to the in-kernel MCTP, so
force the mctp-demux transport.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I76c635e0ea8e3ce6101fdc882836ca7142dce12f
|
|
This commit would override the default null binding with astlpc
binding for IBM p10 systems.
Tested:
- Built the rootfs of both tacoma & p10bmc and made sure the right
configuration of mctp is placed in /etc/default location.
Change-Id: I446be5ed1ceab44ba914a22d437d65f09b4a77f8
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
|
|
Usage of libmctp is deprecated, and ideally, we would want
to be using the in-kernel implementation of mctp (more so as
the upstream pldm repo already supports it).
But, IBM would probably want some more time before it consumes
the in-kernel mctp implementation as the majority of the apps in p10bmc
still relies on the libmctp API's to communicate with host. This would
be a patch to just fix the broken image temporarily until we migrate
to the in-kernel implementation.
Change-Id: I6aaf52cd8ce83cd2263af161d94213ab80fe383a
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
|
|
Required for SOL support
Tested:
- Confirmed expected conf file was in system1 image
Change-Id: I3b655b7cf46d1fb06b2b72d3531dccb7a37717ad
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
System1 requires out of band IPMI management so configure some defaults
for it.
Tested:
- Confirmed ipmitool could communicate with system1 out of band
with "chassis power status" command
Change-Id: Ie52a08ac4861ada682984a5ae695d82d9bb1c31e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The variable used to override a portion of the phosphor-skeleton power
recipe changed name in the base recipe. Need to adapt our override in
meta-ibm layer to match.
Tested:
- Confirmed the org.openbmc.control.Power instance service was not
present on system1
Change-Id: Icd48020cfd2c0a954b79b264b153e71fede9904a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Will be utilized to read sensors off of the mudflap panel
Change-Id: Ie894f39ae22629fee33b17ab4504969c1a15366f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable virtual sensor to:
- provide sensor 'total_power'
- expose QSFP temperature sensors to webui
Change-Id: I13c64cd9891aee11019dd85a6fa2158482a38c67
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Add phosphor-power to use the standard GPIOs to initiate power on/off
and check pgood.
Tested with multiple obmcutil chassison / chassisoff loops
Change-Id: I7a03fc40a60513003ed8ebfdb5b5bdbcf80a676b
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
|
|
Eliminate the variable indirection for the package content.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I016e6aa370e7d62e20484af4e91250b38c4c01a0
|
|
The webui-vue package is now enabled by default. Clean up all the meta
layers to clean up the explicit enablement.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
|
|
This commit enables side switching feature between images
on IBM systems.
Change-Id: I837d23a56e723f0596004e80fbb5834af536d9ee
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
|
|
Earlier the 'astlpc-raw-kcs' PACKAGECONFIG option was used to populate
udev rules from the 'libmctp' repository to the system.
Now udev rules are dropped from the repo in favor of a KCS device path
argument provided via 'mctp' configuration file.
Correct recipe file and all the affected platforms to this new
approach.
libmctp: srcrev bump 8803dc12a9..400766f943
Konstantin Aladyshev (1):
astlpc: Provide KCS device path as a binding argument
Change-Id: I480fe1f9d211dca6db29fbedb7836d469ad2ee02
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
system1 will utilize the AST2600 ADC engine for the RTC battery reading
as well as for some lab debug.
Change-Id: I6313af29b277371417128ad2008e399f8cabba22
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I54f1719b12a0c8429cb1e793adacfb1153e1a7c9
Signed-off-by: Tom Ippolito <thomas.ippolito@ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Need to eventually get full chassis power support in but for now, to
allow BMC Ready, just put in the basic skeleton power control.
Change-Id: I8647b11acb472662a40b986f23d28aa3e6a4d8d5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Move to a common file for all platforms that use the common mapping of
ethernet0 and ethernet1.
This was done as an optimization while adding system1 support in.
Tested:
- Confirmed sbp1 and system1 had correct common file
- Confirmed witherspoon had it's specific ibm-ac-server file
Change-Id: Id96ac9f669fa5cf1241958c5d2d958a95065b25e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Remove RDEPENDS usage to bring in the webui and move to the new
IMAGE_FEATURE
Tested:
- Confirmed system1 has webui
Change-Id: I942509a3b5db2de8caf693f81f78850afd90f58d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable ipmbsensor to read Intel PCH temperature over
IPMB.
Tested: After updating entitymanager config the temperature
can be read using ipmbsensor.
Change-Id: Ifd57dcf380267a5b009c48da1fac960106ded901
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
phosphor-ipmi-ipmb is used for Intel ME communication to
get thermal sensor data and to set Intel ME into recovery mode
when doing an x86 BIOS update.
Tested: Intel ME responds to commands and returns thermal sensor data.
Change-Id: Ie4fadafdc98d611420629011a38922cd11692d41
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
p10bmc utilizes entity-manager in a variety of ways. For examples,
openpower-process-host-firmware.service depends on EM's compatible name.
IBM is moving more and more of it's inventory function over to EM so
add it in by default to p10bmc images.
Change-Id: I0b97a90009e058694f88aec6b7d9bb48a7040419
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add some example port associations to support FabricAdapter and Port.
The assocication is defined by
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/62881.
FRU examples are added via
https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/66540
These associations will be used for bmcweb Port schema implementation.
Tested:
- Verify bmcweb Port schema https://gerrit.openbmc.org/c/openbmc/bmcweb/+/61097
Change-Id: I8e892f029210d5391456e0ff5827b3d6a18d9c7a
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
A few paths were missing callouts
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I617085b4a1305ed264f8008b4577567d93e7150e
|
|
On Rainier and Everest the code to put the power supply input history
maximum and average values on D-Bus is being removed and replaced with a
single peak input power sensor.
Remove the associations to them since they are no longer around.
Note: The associations for the new sensor will be handled by the
psu-monitor application.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I07bb6523f60be0e56db5d85932da9193719c7406
|
|
The NVMe SSDs on the ruler drives are already found by FruDevice.
Enable nvmesensor to read temperatures as soon as the x86 is
powered on.
Change-Id: I2191f909ab1b9e4bc79ae0d24de9042fe54291eb
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
This file is used to know which location codes to call out in error logs
when I2C and other accesses fail.
There are still a few missing callouts, but most are there.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic0c61e362c5dcab4d374168da84bb7128d0bb22e
|
|
There is no in-tree user of this package. Remove it so we can archive
the repository.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I777ac0e0ffaf14508a49d5160831e59d3044fe5e
|
|
The phosphor-gpio-util that was being used was a custom tool that can be
replaced by gpioset. It was also just removed from its repo.
The service now has to be a oneshot because otherwise it isn't allowed
to have multiple ExecStart lines.
Tested:
Powered on multiple times, ensured the power supply input history was
cleared on each power on.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ib181c67b70e2feb109c1a2aabba8d046e7dfe380
|
|
Makes SOL and obmc-console-client working again.
Change-Id: I3d98319c2278794ba3db9ace4c89932c305d66d8
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Change-Id: I2a3e8bb54e07fc9d3e7b9bbc400c98c44f8d2810
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Change-Id: I55bc9fc8195b5954492d6ba31d9a2cbc10ddbfba
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
currently admin user created with home directory '/' and there is an
error while deleting admin user.
this commit updates admin user home directory to /home/admin.
Tested by: Notice admin home directory and Delete admin user
Change-Id: I32210435ac0a94555d2f369e226df7e04f49d88c
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
|
|
The reset-fan-watchdog service needs to toggle a GPIO in order to unlock
the fan watchdog circuit so fans can be controlled after the watchdog
has expired and locked them at high speed. This gets called on every
power on to bring the fans under control again in case the watchdog had
expired on the previous boot.
This was done previously using a custom application which used libgpiod
under the covers, which was written before gpioset was around.
Now that gpioset is available, just use it instead to toggle the GPIO so
there's less custom code we have to worry about maintaining.
The actual minimum timing requirement of the toggle is around 5ns, so
the 1us being used by all the config files meets that.
Tested:
Expired the watchdog by stopping the fan-watchdog service, then powered
off and back on and made sure the fans can still be controlled.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ibd36ff17e83b57d521364f0092dfa1f5abf34856
|
|
Change-Id: I5be5a644de26648d194b66ae70148201b4dafd58
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|
|
Modify ACBEL PSU configuration file to read output voltage from sysfs
in2_label and to read the output current from curr2_label.
Testing: Placed the modified config file in
/etc//default/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf
then verified the output voltage and current output shows up on the BMC
sensors web page and redfish.
Change-Id: Iacf1469295b99f6a7363d26983786f9c7ed8826a
Signed-off-by: Faisal Awada <faisal@us.ibm.com>
|
|
Adjust meta-ibm to add support for the new machine.
Change-Id: I2eb61f3d9c85c23b16f026f8f9eb4506c78e97ad
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
|