#
3012b632 |
| 22-Aug-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in th
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in the repository root folder.
more details : https://mesonbuild.com/Commands.html#format
Change-Id: I9c5468cc502ae78b7a055e2de2a10296930cb9ec Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
516122e0 |
| 07-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Add Json Config support for entity to DBus string
The entity map comprises both entity types and their corresponding names, essential for generating unique D-Bus paths for each entity. However, chal
Add Json Config support for entity to DBus string
The entity map comprises both entity types and their corresponding names, essential for generating unique D-Bus paths for each entity. However, challenges arise due to variations in path generation across companies, often dictated by differing entity types. To address this, enabling configurability of EntityID becomes imperative, empowering communities to tailor configurations to their specific use cases.
Testing: Unit tests passed
Change-Id: I3981fde64bd00940caa5067a9472fd948e74cbf0 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
#
4d99c311 |
| 28-Mar-2024 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
Softoff: Add config support for PDR entities
This commit introduces a config file for the soft power off app. The config file specifies the order of remote PDRs to be checked during the soft power o
Softoff: Add config support for PDR entities
This commit introduces a config file for the soft power off app. The config file specifies the order of remote PDRs to be checked during the soft power off process.
Previously, the entity type was hardcoded in the codebase, limiting scalability. With this change, the softoff app gains flexibility for future expansions.
TESTED: By running 'obmcutil poweroff' with various remote entities during boot-up.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: Ib8d2aba6a05fc4e9da4b042fd67890e6282ed784
show more ...
|
#
87bfacd2 |
| 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I794c658531483266bfce6f9b28127a166ed01490 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
06052cc5 |
| 16-Aug-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: un-hardcode prefix /usr/share/pldm, /var/lib/pldm, and /etc are hardcoded in many places. Workflows such as: meson -Dprefix=$HOME/workspace -Dsysconfdir=$HOME/workspace buil
build: un-hardcode prefix /usr/share/pldm, /var/lib/pldm, and /etc are hardcoded in many places. Workflows such as: meson -Dprefix=$HOME/workspace -Dsysconfdir=$HOME/workspace builddir \ && ninja -C buildir install result in pldmd looking for its data in the wrong place. Fix by properly incorporating the user specified prefix into filesystem paths. A number of paths remain hardcoded because they (presumably?) are owned and provided by other packages (phosphor-software-manager) and those packages do not provide any pkg-config from which we can extract their installation prefixes. Change-Id: I140d7a65e85342fd108af41f33010b422a0f77a5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
03b01ca8 |
| 28-Jun-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Add support for vendor specific FruDbusLookup In the current state, a vendor could not define the FRU's that he wants to send to the host. This commit adds a fru_master.json tha
Add support for vendor specific FruDbusLookup In the current state, a vendor could not define the FRU's that he wants to send to the host. This commit adds a fru_master.json that can be used while building the master , and the json would be replaced with fru_master.json from the oem/<vendor>/configurations directory when compiling for oem's. Tested By: IBM machine test : 1. meson build -Doem-ibm=enabled -Dprefix=<> 2. ninja -C build && ninja install 3. in the prefix directory we should see the json file from the oem/ibm/configurations folder Non IBM machine test : 1. meson build -Doem-ibm=disabled -Dprefix=<> 2. ninja -C build && ninja install 3. in the prefix directory we should see the json file from the pldm/configurations folder. Runtime test: 1. on an IBM machine make sure the pldm builds the fru record table. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Id3c2746c51a1f99f2038b2af48137133e9d0b405
show more ...
|
#
a1d27606 |
| 17-Apr-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Replace deprecated get_pkgconfig_variable with get_variable - Meson 0.57 warns that get_pkgconfig_variable is deprecated and we should be using get_variable instead. Tested By
Replace deprecated get_pkgconfig_variable with get_variable - Meson 0.57 warns that get_pkgconfig_variable is deprecated and we should be using get_variable instead. Tested By: Setup docker, and made sure the service files are installed in the desired directory. Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/pldmd.service to /lib/systemd/system Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/pldm_verbosity to /etc/default Installing /home/juliet/Documents/Work/docker/ci_test_area/pldm/build/softoff/pldmSoftPowerOff.service to /lib/systemd/system Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I2da6f5fecc37e91eb927b2ebae9bd59de59d1b08
show more ...
|
#
a907a588 |
| 19-Jan-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Upstream BIOS Attributes under oem extensions - This commit would upstream all the bios attributes that ibm machines use. - These attributes will be copied onto the BMC when
Upstream BIOS Attributes under oem extensions - This commit would upstream all the bios attributes that ibm machines use. - These attributes will be copied onto the BMC when it is compiled with oem-ibm flag enabled. Tested By: - meson builddir -Doem-ibm=enabled -Dprefix=<> - ninja -C builddir - ninja install Post install step, was able to see all the bios attribute jsons inside <prefix>/share/pldm/bios folder. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Iea030b773946298b26bbb26443ef4015f19ff37d
show more ...
|
#
001f7885 |
| 04-Jan-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Remove redundant dependency calls - In the current state, the build system has too many dependency calls, because of which meson tries to find the same dependendency mutiple time
Remove redundant dependency calls - In the current state, the build system has too many dependency calls, because of which meson tries to find the same dependendency mutiple times & prints a trace on the console.This would have been an ideal solution when all the subdirectories are subprojects in meson but in the current context it is not. - Even though meson uses the cached dependency objects rather than fetching them every time, it might not give any added advantage on the performance front. - But checking for the same dependency mutiple times gives a false impression to the users & this can be avoided by re-using the dependency objects across subdirectories. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ic428b2ab1897e4dc4a0024164c07fd416c927da1
show more ...
|
#
da079601 |
| 05-Aug-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
FRU: simplify BMC FRU table construction We should be able to map standard D-Bus FRU inventory properties to standard FRU properties from the PLDM FRU spec. This commit will simplify
FRU: simplify BMC FRU table construction We should be able to map standard D-Bus FRU inventory properties to standard FRU properties from the PLDM FRU spec. This commit will simplify things by removing JSONs for standard FRUs. The standard FRU jsons are not going to be installed, we have mandated the default DBUS lookup and setup Default Fru record map. If OEM FRU JSONs are present then only those will be parsed by the parser. Tested on rainier with the pldmtool. Change-Id: I53cd3cd98a0552e3faa42d50c9ae93280218ad28 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
a792b216 |
| 12-Aug-2020 |
Tom Joseph <tomjoseph@in.ibm.com> |
VMI sensors: Add JSON changes to support VMI sensors The handling for state sensor events for VMI network status sensors were hardcoded. This patch makes the sensor handling for VMI sens
VMI sensors: Add JSON changes to support VMI sensors The handling for state sensor events for VMI network status sensors were hardcoded. This patch makes the sensor handling for VMI sensors data driven and also to handle for host sensors which are standard and OEM. The OCC sensors handling is moved to openpower-occ-control app so removing it from event_state_sensor.json file. Tested: By using pldmtool, the PlatformEventMessage is generated for VMI sensors and verified the D-Bus propert in settings manager. Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Change-Id: I851573e54e2c1984bed142fdc1c2d40f37e544a9
show more ...
|
#
1f58401f |
| 22-Jun-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
configurations: move more configs in-repo Move configs from openbmc/openbmc's PLDM recipe dirs to the PLDM repository. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
configurations: move more configs in-repo Move configs from openbmc/openbmc's PLDM recipe dirs to the PLDM repository. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I36afe9a6717e1135219253fb0fe8c60b5f623935
show more ...
|
#
579a34a3 |
| 19-Jun-2020 |
Sampa Misra <sampmisr@in.ibm.com> |
configurations: add Host effecter JSONs This commit adds a JSON related to host effecters. There is code, that on finding the JSON, will set relevant host effecter when the associate
configurations: add Host effecter JSONs This commit adds a JSON related to host effecters. There is code, that on finding the JSON, will set relevant host effecter when the associated D-Bus property is set in the BMC. Change-Id: I38e6cfaf0213797bd069cf23d9fd2bbad4fde45e Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
4548c625 |
| 19-Jun-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
configurations: add PDR config JSONs Add configurations for BMC owned PDRs. There's code, that on finding thes JSONs, will create PDRs for the BMC. Previously these configs were incl
configurations: add PDR config JSONs Add configurations for BMC owned PDRs. There's code, that on finding thes JSONs, will create PDRs for the BMC. Previously these configs were included in the bitbake metadata, now they're being moved in-repo. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I688444e50de486383f22d38a82dc40ce51bc8226
show more ...
|
#
6e51e373 |
| 19-Jun-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
configurations: add FRU configurations Add configurations for (BMC accessible) FRUs. There's code, that on finding these JSONs, will create the PLFM FRU table and FRU record set PDRs
configurations: add FRU configurations Add configurations for (BMC accessible) FRUs. There's code, that on finding these JSONs, will create the PLFM FRU table and FRU record set PDRs. Previously these configs were included in the bitbake metadata, now they're being moved in-repo. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I8af0041cb3f1e1d30f8823348294292b3f8db00b
show more ...
|