0755220b | 23-Sep-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Fix core dump in callPIM
If the system config JSON does not start with the PIM base path ‘/xyz/openbmc_project/inventory’, the callPIM API fails while publishing inventory on D-Bus. This happens bec
Fix core dump in callPIM
If the system config JSON does not start with the PIM base path ‘/xyz/openbmc_project/inventory’, the callPIM API fails while publishing inventory on D-Bus. This happens because the ObjectMap entry is removed before checking whether the object path starts with the PIM base path, and the entry is not reinserted if it does not.
This leaves the object invalid for the next iteration, resulting in a core dump. Changes are made to handle this issue properly.
This commit also updates inventory object path with ‘/xyz/openbmc_project/inventory’ as a base path in default system config JSON.
Change-Id: Ia9c4b0b96c9d0302787f07e5afbf896c9dfc62f9 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
e621c063 | 01-Sep-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Move JSON files to repository
Post system release, JSON files are part of the repository. Hence moving.
Change-Id: Ifea538a2f371c64b00839e0a10b94972befc3785 Signed-off-by: Sunny Srivastava <sunnsr2
Move JSON files to repository
Post system release, JSON files are part of the repository. Hence moving.
Change-Id: Ifea538a2f371c64b00839e0a10b94972befc3785 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
079c43dc | 02-Jul-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Monitor presence of specific FRUs
The commit adds flag in the JSON to mark that present property needs to be monitored for specific FRUs. The code will look for this flag in JSON and will listen on
Monitor presence of specific FRUs
The commit adds flag in the JSON to mark that present property needs to be monitored for specific FRUs. The code will look for this flag in JSON and will listen on Present property of those FRUs and based on the value updated will trigger re-collection for those FRUs.
This flag is required as some FRUs are hot pluggable and needs to be re-collected when plugged in.
Change-Id: Iaffbada09afb40ae24cd5dabd70befd22a7461f3 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
393c0fad | 07-Apr-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Correlated JSON config file for DBus properties
This commit adds the new JSON file, the file contains set of DBus properties which are correlated with properties from other interfaces.
This correla
Correlated JSON config file for DBus properties
This commit adds the new JSON file, the file contains set of DBus properties which are correlated with properties from other interfaces.
This correlated property information is used for syncing DBus property value, where the same property(data) can be reflected data under different interface(s) property.
The correlated JSON has the following format, ``` { "<dbus_service_name>": { "<src_interface_name>": { "<src_property_name>": { "pathsPair": { "<src_inventory_object_path>": { "destinationInventoryPath": ["<dst_inv_path>", "<dst_inv_path>"], "interfaces": { "<dst_interface_name>": "<dst_interface_name>" } } }//paths pair end "defaultInterfaces": { "<dst_interface_name>": "<dst_roperty_name>" } }//src property end }//src interface end }//dbus service end }//end ```
More information about this correlation property JSON can be found in README file under the doc folder path.
Change-Id: I269f1ed0d7a0f63f9ef8d89328b4139726096e51 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
1475f55e | 17-Apr-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Adding backup and restore JSON
This commit adds JSON configuration file, contains backup and restore information for new system.
Change-Id: Ie78d6b7bb2a9f3fc089e6da6609e4ad41f255532 Signed-off-by:
Adding backup and restore JSON
This commit adds JSON configuration file, contains backup and restore information for new system.
Change-Id: Ie78d6b7bb2a9f3fc089e6da6609e4ad41f255532 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
565e1140 | 09-Apr-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Fix USB port pretty names in Rainier 2S2U v2
This commit fixes the pretty names of the USB ports in Rainier 2S2U v2 to match as per the names in the knowledge center for 9105-22A MTM.
Test: ``` 1.
Fix USB port pretty names in Rainier 2S2U v2
This commit fixes the pretty names of the USB ports in Rainier 2S2U v2 to match as per the names in the knowledge center for 9105-22A MTM.
Test: ``` 1. On a Rainier 2S2U v2 system, replace the system config JSON and restart vpd-manager service. 2. Run vpd-tool dump inventory in table format to see the pretty names of the USB ports are as per knowledge center for 9105-22A MTM. 3. Check the pretty names of the USB ports on ASMI as well. ```
Change-Id: Ic9c58b71fd43a2ef5a29537491e267161edc5389 Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
22793834 | 20-Mar-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Update FRU part number for PowerVS systems
Error log makes use of FRU part number instead of part number in the call outs. Hence the code is updated to change FRU part number instead of part number
Update FRU part number for PowerVS systems
Error log makes use of FRU part number instead of part number in the call outs. Hence the code is updated to change FRU part number instead of part number in case of PowerVS systems. Similarly, spare part number of Decorator.Asset interface is updated instead of part number.
Change-Id: I31b57e23863b250f7fb036b23c7a192fc1bbec5c Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
f1dda767 | 19-Feb-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Process FRU only when present with specific CCIN
Some FRUs are only supported with specific CCINs in case of PowerVS configuration. The commit implements changes to check for presence of the FRU ba
Process FRU only when present with specific CCIN
Some FRUs are only supported with specific CCINs in case of PowerVS configuration. The commit implements changes to check for presence of the FRU based on its Present property, if found checks for specific CCIN, if found updates the PN else skips.
Change-Id: I1f3ff08f82788aed4d8153474cd38352e5cc2394 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
022112bc | 19-Feb-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
JSON and API prototype to update powerVS VPD
The commit introduces JSON file to hold the VPD that needs to be updated for systems with PowerVS configuration.
It also adds API to fetch JSON as per s
JSON and API prototype to update powerVS VPD
The commit introduces JSON file to hold the VPD that needs to be updated for systems with PowerVS configuration.
It also adds API to fetch JSON as per system IM and prototype for API which will checks the existing data and based on that will either skip or update the VPD.
Change-Id: I5c279ce210831667be669c2a7c9c7d9c160de336 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
12b01393 | 05-Feb-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Add handling for json utility exception
While handling pass1 planar, handle exceltion in place.
This needs to be removed once utility methods are updated to not throw exceptions. Change-Id: I48c900
Add handling for json utility exception
While handling pass1 planar, handle exceltion in place.
This needs to be removed once utility methods are updated to not throw exceptions. Change-Id: I48c9000d6b6f7a0971e5ec21a897498c903a0a72 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
78c91073 | 05-Feb-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Skip presence detect and PEL for pass1 PCIe cards
Presence pin on pass1 planar does not reflect the true state of the slot. It does not guarantee if the card is actually present in the slot or not.
Skip presence detect and PEL for pass1 PCIe cards
Presence pin on pass1 planar does not reflect the true state of the slot. It does not guarantee if the card is actually present in the slot or not. Hence, the presence pin check is irrelevant in these scenarios and is being skipped before enabling the line for VPD collection.
Availability of EEPROM after enabling the line should confirm if the card needs to be collected or not.
Also, PCIe cards on pass1 is expected to have invalid VPD, avoiding logging of PELs for those error scenarios.
Change-Id: Ia646b7d442a94fadea6b4c78d1d97c5a214579cb Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
b87053de | 31-Jan-2025 |
RekhaAparna01 <vrekhaaparna@ibm.com> |
Fix typo error in configuration JSONs for DIMMs
This commit fixes the typo error in pretty name for DIMMs in configuration JSONs.
Change-Id: Ia901baf546cfb5da59efd223cc71d905b4850c5b Signed-off-by:
Fix typo error in configuration JSONs for DIMMs
This commit fixes the typo error in pretty name for DIMMs in configuration JSONs.
Change-Id: Ia901baf546cfb5da59efd223cc71d905b4850c5b Signed-off-by: RekhaAparna01 <vrekhaaparna@ibm.com>
show more ...
|
d7d3b511 | 23-Jan-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Add BIOS attribute tag in backup_restore JSON
This commit adds a tag "isUsedForBiosAttributeBackup" to the "backupMap" in backup_restore JSON files. This tag will be useful for identifying keywords
Add BIOS attribute tag in backup_restore JSON
This commit adds a tag "isUsedForBiosAttributeBackup" to the "backupMap" in backup_restore JSON files. This tag will be useful for identifying keywords which are used for backing up BIOS attributes in VPD. This tag is required for implementation of --syncBiosAttributes option in vpd-tool --mfgClean.
Test: ``` - install bitbaked image on an Everest system - reboot, after reboot, ensure that backup restore feature of vpd-manager runs as usual ```
Change-Id: I01d37c3ca4f05b82aba2f6877e90ec8360c3215b Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
feb5658b | 03-Feb-2025 |
Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> |
IBM:P11:config: Update PCIe configurations
Change-Id: I1473f7e84848911039559476846dd1fbca45cb2b Signed-off-by: Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> |
4c164381 | 28-Jan-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Update JSON tag to follow camel case
JSON tag for post fail action has been modified to follow camel case. Worker code has been modified accordingly.
Change-Id: I20960a2bdac13cca9f426d04e37247c5ebb
Update JSON tag to follow camel case
JSON tag for post fail action has been modified to follow camel case. Worker code has been modified accordingly.
Change-Id: I20960a2bdac13cca9f426d04e37247c5ebb62ddb Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
9d1a8394 | 21-Jan-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Add tag for DIMMs and update back up Json
As DIMMs are not accessible for collection at runtime, it should only be collected at chassis off state. Hence marking DIMMs to be collected only at power o
Add tag for DIMMs and update back up Json
As DIMMs are not accessible for collection at runtime, it should only be collected at chassis off state. Hence marking DIMMs to be collected only at power off.
Also back up restore json link has been updated Json which need a common set of keywords backed. For now, other than everest all the rainier are made to point to a common back up and restore Json.
Change-Id: I10b861136bc6a68c96223042a29a36a71ae480e5 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
fa5e4d32 | 12-Mar-2023 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Revamped code for VPD parser
The commit removes all the pre-existing code from the branch and pushes the revamped code.
Major modification includes: - Movement from multi exe to single daemon model
Revamped code for VPD parser
The commit removes all the pre-existing code from the branch and pushes the revamped code.
Major modification includes: - Movement from multi exe to single daemon model. - Multithreaded approach to parse FRU VPD. - Better error handling. - Refactored code for performance optimization.
Note: This code supports all the existing functionalities as it is.
Change-Id: I1ddce1f0725ac59020b72709689a1013643bda8b Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|