#
af921756 |
| 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Iae81201889d1bb4ca324243b863948cb60420ae7 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
fe4a99b3 |
| 19-Jan-2024 |
Patrick Williams <patrick@stwcx.xyz> |
State.Chassis: update service name
Both phosphor-state-manager and x86-power-control have code that exposes both the Chassis and Chassis0 bus names as a backwards compatibility when multi-chassis su
State.Chassis: update service name
Both phosphor-state-manager and x86-power-control have code that exposes both the Chassis and Chassis0 bus names as a backwards compatibility when multi-chassis support was added. Switch to the numbered bus name, which is expected to be the non-deprecated one.
Change-Id: I297566aa3ea602f60b7caaff09168dd1c8611c17 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
0eb8cacc |
| 19-Sep-2023 |
priyaram <priyanga24@in.ibm.com> |
vpd-tool:Fix system VPD and its backup VPD
vpd-tool fixSystemVPD implementation to backup and restore system VPD to and from the backup VPD if the backup VPD path is found in vpd inventory JSON.
Te
vpd-tool:Fix system VPD and its backup VPD
vpd-tool fixSystemVPD implementation to backup and restore system VPD to and from the backup VPD if the backup VPD path is found in vpd inventory JSON.
Test: (Truncating the output in commit message)
===>>CASE 1: Option 6 to update new value on both backup and primary hardware and its cache.
vpd-tool --fixSystemVPD ============================================================= S.No Record Keyword Backup Data Primary Data Data Mismatch 1 UTIL D0 0x01 0x01 NO ============================================================
>> Enter the new value to update on both primary & backup. Value should be in ASCII or in HEX(prefixed with 0x) : 0x00
busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth com.ibm.ipzvpd.VSBK D0 ay 1 0
busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard com.ibm.ipzvpd.UTIL D0 ay 1 0
===>>CASE 2: Option 4 to update primary with backup data
vpd-tool -w -O /system/chassis/motherboard -R LXR0 -K LX -V 0x333435363738 Data updated successfully
vpd-tool --fixSystemVPD ================================================================================= S.No Record Keyword Backup Data Primary Data Data Mismatch 6 LXR0 LX 0x310004010030007b 0x333435363738007b YES =================================================================================
Enter 4 => If you choose the data on backup as the right value : 4
busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard com.ibm.ipzvpd.LXR0 LX ay 8 49 0 4 1 0 48 0 123
===>>CASE 3: Option 5 to update backup with primary value vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VSBK -K FC -V "abcd" Data updated successfully
vpd-tool --fixSystemVPD ================================================================================= S.No Record Keyword Backup Data Primary Data Data Mismatch 7 VCEN FC 0x616263642d303031 0x324534412d303031 YES =================================================================================
Enter 5 => If you choose the data on primary as the right value : 5
busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth com.ibm.ipzvpd.VSBK FC ay 8 50 69 52 65 45 48 48 49
===>>CASE 4: Option 2 to update all mismatching keywords with its primary data
vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VSBK -K FC -V "abcd" Data updated successfully
vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VSBK -K D0 -V "abcd" Data updated successfully
vpd-tool --fixSystemVPD ================================================================================= S.No Record Keyword Backup Data Primary Data Data Mismatch ================================================================================= 1 UTIL D0 0x61 0x01 YES ------------------------------------------------------------------------------- 7 VCEN FC 0x616263642d303031 0x324534412d303031 YES =================================================================================
Enter 2 => If you choose the data on primary for all mismatching record-keyword pairs : 2
Data updated successfully for all mismatching record-keyword pairs by choosing their corresponding data from primary VPD.
vpd-tool -r -O /system/chassis/motherboard/base_op_panel_blyth -R VSBK -K FC { "/system/chassis/motherboard/base_op_panel_blyth": { "FC": "2E4A-001" } } vpd-tool -r -O /system/chassis/motherboard/base_op_panel_blyth -R VSBK -K D0 { "/system/chassis/motherboard/base_op_panel_blyth": { "D0": "0x01" } }
===>>CASE 5: Option 1
vpd-tool -w -O /system/chassis/motherboard -R UTIL -K D0 -V "abcd" Data updated successfully vpd-tool -w -O /system/chassis/motherboard -R UTIL -K D1 -V "abcd" Data updated successfully
vpd-tool --fixSystemVPD ================================================================================= S.No Record Keyword Backup Data Primary Data Data Mismatch ================================================================================= 1 UTIL D0 0x01 0x61 YES ------------------------------------------------------------------------------- 2 UTIL D1 0x00 0x61 YES =================================================================================
Enter 1 => If you choose the data on backup for all mismatching record-keyword pairs: 1
Data updated successfully for all mismatching record-keyword pairs by choosing their corresponding data from backup. Exit successfully.
vpd-tool -r -O /system/chassis/motherboard -R UTIL -K D0 { "/system/chassis/motherboard": { "D0": "0x01" } } vpd-tool -r -O /system/chassis/motherboard -R UTIL -K D1 { "/system/chassis/motherboard": { "D1": "0x00" } }
Change-Id: I0cfa5c869d4c44d2dd74916b5284fa2ad9b4f398 Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
show more ...
|
#
c6e7ea92 |
| 03-Nov-2023 |
Sunny Srivastava <55740008+SunnySrivastava1984@users.noreply.github.com> |
Clear inventory data on removal
In case any FRU is removed from the system, the data w.r.t the FRU, as it is persisted continues to stay on DBus. This sometimes can be mis-leading as data is display
Clear inventory data on removal
In case any FRU is removed from the system, the data w.r.t the FRU, as it is persisted continues to stay on DBus. This sometimes can be mis-leading as data is displayed for FRU which is actually not present in the system.
The commit, in case the FRU is removed via delete FRU procedure, clears all the VPD related data for the FRU and update its present and functional status.
Test: Delete any FRU using "deleteFRUVPD" exposed via VPD-Manager, check the DBus, data related to VPD should be cleared.
Change-Id: Ic61e9a9934333ef9558ac4294a1935575042cb11 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
#
e2b0383a |
| 22-Aug-2023 |
Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> |
Fixed open file failures
Handled file open failure issue and made changes to reset the EEPROM file pointer to a "safe" location if the VPD is a DDIMM SPD.
Change-Id: I5332378e958cbe5b771f3497532b88
Fixed open file failures
Handled file open failure issue and made changes to reset the EEPROM file pointer to a "safe" location if the VPD is a DDIMM SPD.
Change-Id: I5332378e958cbe5b771f3497532b8876411f6913 Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
show more ...
|
#
b7b352a6 |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ifd063d23c038d986d916148051e0a261b5ba1fca Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
45d54976 |
| 03-Jul-2023 |
jinuthomas <jinu.joy.thomas@in.ibm.com> |
Catching File Exceptions in openpower-vpd-parser
In this commit, I have added code to handle file exceptions more effectively. By implementing proper exception handling, we can improve the robustnes
Catching File Exceptions in openpower-vpd-parser
In this commit, I have added code to handle file exceptions more effectively. By implementing proper exception handling, we can improve the robustness and reliability of the file operations within our codebase.
Here are the key changes made in this commit:
- Introduced a try-catch block around the file operation sections. - Within the try block, added code to perform the necessary file operations. - Implemented catch blocks to handle specific file exceptions. - In each catch block, included appropriate error handling logic, such as logging the error message or displaying a user-friendly error message. - Ensured that the catch blocks gracefully handle the exceptions and prevent the program from crashing or behaving unexpectedly.
By adding this exception handling code, we can anticipate and handle potential file-related errors gracefully, providing a smoother experience for users and preventing any unexpected crashes or data loss. This would also aid in debugging issues.
Change-Id: I621a7f0ba68d2c298e4fea0a9d3e21d1939cd090 Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
show more ...
|
#
37992a65 |
| 11-Jul-2023 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Back up and Restore update
The commit updates the flow of Back up and Restore of system VPD.
Updates: - Removing call_out_inventory_path tag from the PEL create call in case there is any issue whil
Back up and Restore update
The commit updates the flow of Back up and Restore of system VPD.
Updates: - Removing call_out_inventory_path tag from the PEL create call in case there is any issue while backup or restore. This was done to avoid any calls from phosphor-logging to VPD-Manager at this stage as Manager service is not up at this point resulting in a D-Bus call failure.
- Removing dupicate code as and where possible in the flow.
The commit is an extension of following commit: https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/62250/
Tests: PEL was created duringthe flow and confirmed that there was no call to VPD-Manager from phosphor-logging.
Tested for all te scenarios w.r.t backup and restore of system VPD.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I92779247438bf50d907fd7f60ed94dda6fadb2a0
show more ...
|
#
390fccb1 |
| 02-May-2023 |
girik <giridharikrishnan@gmail.com> |
vpd-tool: Fixing of display of KW values having 0x00s
Keywords with values "0x00..." are being displayed now in Hex. ~# /tmp/vpd_tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B4
vpd-tool: Fixing of display of KW values having 0x00s
Keywords with values "0x00..." are being displayed now in Hex. ~# /tmp/vpd_tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B4 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B4": "0x00" } } ~# /tmp/vpd_tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B3 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B3": "0x000000000000" } } ~# /tmp/vpd_tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B7 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B7": "0x000000000000000000000000" } } HexDump results for comparison: 00000170 80 01 42 33 06 00 00 00 00 00 00 42 34 01 00 42 |..B3.......B4..B| 00000180 37 0c 00 00 00 00 00 00 00 00 00 00 00 00 50 46 |7.............PF|
Signed-off-by: Giridhari Krishna <giridharikrishnan@gmail.com> Change-Id: I242caab54cb3c28d74819e614b99df79f881ba5a
show more ...
|
#
c78d887c |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia442cdc88aaeaab2f1384cc46a56f5cd5e40f2f5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5629fbc0 |
| 01-Mar-2023 |
Priyanga Ramasamy <priyanga24@in.ibm.com> |
vpd-tool #kw support
This commit is to enable vpd-tool read and write support for pound keywords starting with # and for numeric keywords.
This commit enables a way to read and write keyword values
vpd-tool #kw support
This commit is to enable vpd-tool read and write support for pound keywords starting with # and for numeric keywords.
This commit enables a way to read and write keyword values using --file option, where --file takes a file with absolute path.
when --file option used with --readKeyword flag - vpd-tool saves the output in the given file. and when the file option used with --writeKeyword flag - the vpd-tool takes the value from file and performs write operation.
Test: ----------------------------------------------- Case 1: Read from hardware and save in text file ----------------------------------------------- vpd-tool -r -H -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" --file /tmp/output.txt Value read is saved in the file /tmp/output.txt
----------------------------------------------- Case 2: Write to hardware by taking input from a text file ----------------------------------------------- :~# cat /tmp/write.txt 00102030405060607020304050601020304050606040302010
:~# vpd-tool -w -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" --file /tmp/write.txt -H Data updated successfully
:~# vpd-tool -r -H -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "#D": "0x0010203040506060702030405060102030405060604030201000000000 ...0000" } }
----------------------------------------------- Case 3: Read from cache and pipe to text file ----------------------------------------------- :~# vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" --file /tmp/read-motherboard-#D.txt Value read is saved in the file /tmp/read-motherboard-#D.txt
----------------------------------------------- Case 4: Write to cache by taking input from text file ----------------------------------------------- :~# cat /tmp/write.txt 00102030405060607020304050601020304050606040302010
:~# vpd-tool -w -O /system/chassis/motherboard -R PSPD -K "#D" --file /tmp/write.txt Data updated successfully
:~# vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" { "/system/chassis/motherboard": { "#D": "0x0010203040506060702030405060102030405060604030201000000000000000000....." } }
----------------------------------------------- Case 5: Write to cache by taking hex input from console ----------------------------------------------- :~# vpd-tool -w -O /system/chassis/motherboard -R PSPD -K "#D" -V 0x65 Data updated successfully
:~# vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" { "/system/chassis/motherboard": { "#D": "0x65100c0c000000000000000 ... } }
Case 5.1: Write to cache by providing ascii values as input from console
vpd-tool -w -O /system/chassis/motherboard -R PSPD -K "#D" -V abcd Data updated successfully
vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" { "/system/chassis/motherboard": { "#D": "0x6162636440506060702030405060102030405060604030201000000 .." } }
----------------------------------------------- Case 6: Read from cache and display on console ----------------------------------------------- :~# vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" { "/system/chassis/motherboard": { "#D": "0x00100c0c00000000000000000000000000000000000000 ..... } }
----------------------------------------------- Case 7: Read from hardware and display on console ----------------------------------------------- vpd-tool -r -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" -H { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "#D": "0x651020304050606070203040506010203040506060403020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ......... 000000000000000000000000000000000000000" } }
----------------------------------------------- Case 8: Write to hardware via console ----------------------------------------------- vpd-tool -w -H -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" -V 0x00100c0c000000000000000000000000000000000000 Data updated successfully
vpd-tool -r -O /sys/bus/i2c/drivers/at24/8-0050/eeprom -R PSPD -K "#D" -H { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "#D": "0x00100c0c00000000000000000000000000000000000030201000000000000000000000000 ... } }
----------------------------------------------- Case 9: Write 10240 bytes on dbus ----------------------------------------------- time vpd-tool -w -O /system/chassis/motherboard -R PSPD -K "#D" --file /tmp/output.txt
Data updated successfully
real 0m49.564s user 0m0.047s sys 0m0.009s
time vpd-tool -r -O /system/chassis/motherboard -R PSPD -K "#D" { "/system/chassis/motherboard": { "#D": "0x01100c0c0000.....0000123456782746002" } }
real 0m0.072s user 0m0.057s sys 0m0.001s ------------------------------------------------
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: I3977a7778b28ebcada7788f619b18bbca6ed0c8c
show more ...
|
#
b498cd3c |
| 25-Apr-2023 |
girik <giridharikrishnan@gmail.com> |
vpd-tool: Bug fix for displaying non printable value
Hexa decimal string getting truncated to a byte, This fix addresses the issue. Test: /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0
vpd-tool: Bug fix for displaying non printable value
Hexa decimal string getting truncated to a byte, This fix addresses the issue. Test: /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VCFG -K Z1 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "Z1": "0x0894ef83188c" } } /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VCFG -K Z0 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "Z0": "0x0894ef83188b" } } /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VCFG -K HW The given keyword HW or record VCFG or both are not present in the given FRU path /sys/bus/i2c/drivers/at24/8-0050/eeprom /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K HW { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "HW": "0x8001" } } ~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B3 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B3": "" } } :~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B4 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B4": "" } } ~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K B7 { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "B7": "" } } ~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R PSPD -K "#D" { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "#D": "0x00100c0c000 .... 000000000000000000" } } 10240 Bytes printed.
~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K SN { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "SN": "YF30UF31C007" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K SN { "/system/chassis/motherboard": { "SN": "YF30UF31C007" } } ~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K FN { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "FN": "F230306" } } ~# /tmp/vpd-tool_combin -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K PN { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "PN": "03KP340" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K FN { "/system/chassis/motherboard": { "FN": "F230306" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K PN { "/system/chassis/motherboard": { "PN": "03KP340" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K B3 { "/system/chassis/motherboard": { "B3": "" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K B4 { "/system/chassis/motherboard": { "B4": "" } } ~# /tmp/vpd-tool_combin -r -O /system/chassis/motherboard -R VINI -K B7 { "/system/chassis/motherboard": { "B7": "" } }
HexDump results for comparison:
00000820 47 56 5a 02 30 31 5a 30 06 08 94 ef 83 18 8b 5a |GVZ.01Z0.......Z| 00000830 31 06 08 94 ef 83 18 8c 50 46 0b 00 00 00 00 00 |1.......PF...... 00000160 45 04 30 30 30 31 43 54 04 40 18 00 0e 48 57 02 |E.0001CT.@...HW.| 00000170 80 01 42 33 06 00 00 00 00 00 00 42 34 01 00 42 |..B3.......B4..B| 00000180 37 0c 00 00 00 00 00 00 00 00 00 00 00 00 50 46 |7.............PF| 000008a0 30 32 56 4d 04 00 00 00 00 23 44 00 28 00 10 0c |02VM.....#D.(...| 000008b0 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000008c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000920 00 00 00 00 00 00 00 00 00 00 00 b9 cc 00 00 00 |................| 00000930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000970 00 00 00 80 29 b0 00 15 60 04 50 00 00 df 03 ff |....)...`.P.....| 00000980 f3 0f 00 00 01 00 00 00 00 03 00 00 00 00 00 00 |................| 00000990 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000009b0 00 00 00 00 00 00 00 00 00 00 00 00 00 81 00 00 |................|
Signed-off-by: Giridhari Krishna <giridharikrishnan@gmail.com> Change-Id: If380ca3483fb4fc88ca1dd159b2fa75703c8fe1c
show more ...
|
#
0abbb9c9 |
| 05-May-2023 |
jinuthomas <jinu.joy.thomas@in.ibm.com> |
Fix compare check for 11S
The compare check has an issue as it is not correctly coded
Change-Id: I751cc529dff59ba04b43d6cb4dd9effd80b20d2d Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
|
#
63639101 |
| 02-Mar-2023 |
GiridhariKrishnan <giridharikrishnan@gmail.com> |
vpd-tool:UTF-8 encoding support on hardware read
Keyword values when in unreadable format may need to be converted to Hex. This code converts data from HW to readable format.
Test: root@bonn003:~#
vpd-tool:UTF-8 encoding support on hardware read
Keyword values when in unreadable format may need to be converted to Hex. This code converts data from HW to readable format.
Test: root@bonn003:~# tmp/vpd-tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K SN { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "SN": "YF30UF31C007" } } root@bonn003:~# tmp/vpd-tool -r -H -O "/sys/bus/i2c/drivers/at24/8-0050/eeprom" -R VINI -K HW { "/sys/bus/i2c/drivers/at24/8-0050/eeprom": { "HW": "0x8001" } }
Change-Id: I28d9189d95202a565bcba81299f2e548cb4cb83a Signed-off-by: Giridhari Krishna <giridharikrishnan@gmail.com>
show more ...
|
#
f457a3ef |
| 13-Apr-2023 |
jinuthomas <jinu.joy.thomas@in.ibm.com> |
Additional change to support ee1004 driver
changed the code to remove hardcoding of driver changed read parser executable to take driver as input
Change-Id: I6909e2d56d4572e3ff78610248683a75337bb
Additional change to support ee1004 driver
changed the code to remove hardcoding of driver changed read parser executable to take driver as input
Change-Id: I6909e2d56d4572e3ff78610248683a75337bbd72 Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
show more ...
|
#
6555e7ef |
| 14-Feb-2023 |
jinuthomas <jinu.joy.thomas@in.ibm.com> |
Adding ISDIMM support
Added ISDIMM support for Bonnell machine
Change-Id: Ifdb2fc9e2d38267c8eb6cd5848d30102ab48efd1 Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
|
#
5ef6ccc0 |
| 30-May-2022 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Code fix to handle Dbus failure
The commit implement changes to catch and log error instead of re throwing a run time exception in case there is any Dbus failure while calling phosphor-logging servi
Code fix to handle Dbus failure
The commit implement changes to catch and log error instead of re throwing a run time exception in case there is any Dbus failure while calling phosphor-logging service.
It was required as there is no need to re throw runtime error in that case.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: Ic62ee3d37e6dcb900fd3bec534eec63863ce956e
show more ...
|
#
28abd6e4 |
| 28-Jul-2021 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Implementation of deleteFRUVPD api
The api sets present property of given FRU as false. If the present property is already set to false, it will log error.
One of the use case: This api is to be ca
Implementation of deleteFRUVPD api
The api sets present property of given FRU as false. If the present property is already set to false, it will log error.
One of the use case: This api is to be called before requesting VPD parser to collect VPD of any given FRU in case of concurrent maintenance.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: Ibbe2eba34e586e02bcb0bec38945a81d1efe6109
show more ...
|
#
a2ddc96e |
| 29-Jun-2022 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Async request to create PEL
To avoid any deadlocks between phosphor-logging and vpd-manager service a wrapper around request to create PEL is created which enables vpd-manager to make async requests
Async request to create PEL
To avoid any deadlocks between phosphor-logging and vpd-manager service a wrapper around request to create PEL is created which enables vpd-manager to make async requests to create PEL.
It also implements a new exception type to throw any GPIO related exception. This was required to throw specific exception.
Test: Scenario 1: While vpd-manager logs a pel with call out to an inventory item. It should be checked that both the services do not enter into a deadlock situation.
Scenario 2: Any third process is requesting to log PEL with call out to an inventory item in a loop. In the mean time vpd-manager also requests to log a PEL with or without call out to inventory item. All the pels should be logged correctly in the system. No deadlock should appear.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I0efaf6918e679ca94808fc70d747c843a50eaf78
show more ...
|
#
fdf9ff2a |
| 15-Jun-2022 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Check for essential FRUs
Some FRUs are marked as essential in the inventory JSON, which implies that those FRUs should be present in the system at power on.
The commit checks for presence of those
Check for essential FRUs
Some FRUs are marked as essential in the inventory JSON, which implies that those FRUs should be present in the system at power on.
The commit checks for presence of those FRUs when the system is powered on. In case any FRU in the list is found missing, appropriate PEL is logged.
Also, as it is not possible to say if the reason for GPIO failures are hardware or firmware related. GPIO PELs has been modified to just have description and no call outs and to be logged in place.
Commit link for PEL interface: https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/54715
''' Test steps(rainier): Check for present property for fru path /xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth
if it is false then proceed else set the property to false using busctl set-property command.
execute obmcutil poweron PEL should be logged for missing essential fru. '''
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: Id8b912503a0086beffa2831910d6852b5e473c15
show more ...
|
#
e008432a |
| 27-Sep-2022 |
Priyanga Ramasamy <priyanga24@in.ibm.com> |
Use namespace std in place
This commit uses std in place in header files rather than using namespace.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: If8e77ad0d23c7e6d8f16ea93e6
Use namespace std in place
This commit uses std in place in header files rather than using namespace.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: If8e77ad0d23c7e6d8f16ea93e65f34aefb6b157f
show more ...
|
#
2eb0176c |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0eb22958103519924e336a2260a4d48015848c3e
show more ...
|
#
6b2b5374 |
| 02-Jun-2022 |
Santosh Puranik <santosh.puranik@in.ibm.com> |
manager: Move System VPD Restore to Manager
This commit moves the system VPD restore functionality to the VPD manager.
This ensures there are no race conditions with doing it in the parser process
manager: Move System VPD Restore to Manager
This commit moves the system VPD restore functionality to the VPD manager.
This ensures there are no race conditions with doing it in the parser process when the manager is synchronizing BIOS attributes to VPD.
Tested: I tested both the VPD restore as well as the BIOS attribute sync paths. They tested out fine.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I4e3c274a72f86ad4b4821529ffbe0526203b7df5
show more ...
|
#
335873f6 |
| 18-May-2022 |
Priyanga Ramasamy <priyanga24@in.ibm.com> |
vpd-tool not to force reset if CEC is powered ON
This commit has changes in vpd-tool to not allow force reset operation via vpd-tool if the CEC is already powered ON.
There are impacts like ACF cer
vpd-tool not to force reset if CEC is powered ON
This commit has changes in vpd-tool to not allow force reset operation via vpd-tool if the CEC is already powered ON.
There are impacts like ACF certificate is lost and due to which ssh access to the system is lost and it takes procedures to recover the system back if the force reset is done when the CEC is powered ON.
Test: Tested on everest.
root@ever10bmc:/tmp# obmcutil state CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.On CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive
root@ever10bmc:/tmp# ./vpd-tool -f Power state is: xyz.openbmc_project.State.Chassis.PowerState.On The chassis power state is not Off. Force reset operation is not allowed.root@ever10bmc:/tmp#
root@ever10bmc:/tmp# obmcutil state CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.Off CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive root@ever10bmc:/tmp# root@ever10bmc:/tmp# ./vpd-tool -f Power state is: xyz.openbmc_project.State.Chassis.PowerState.Off /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi10/spi10.0/spi10.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi11/spi11.0/spi11.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi12/spi12.0/spi12.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi13/spi13.0/spi13.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi20/spi20.0/spi20.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi21/spi21.0/spi21.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi22/spi22.0/spi22.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi23/spi23.0/spi23.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi30/spi30.0/spi30.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi31/spi31.0/spi31.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi32/spi32.0/spi32.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi33/spi33.0/spi33.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi40/spi40.0/spi40.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi41/spi41.0/spi41.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi42/spi42.0/spi42.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi43/spi43.0/spi43.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi50/spi50.0/spi50.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi51/spi51.0/spi51.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi52/spi52.0/spi52.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi53/spi53.0/spi53.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi60/spi60.0/spi60.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi61/spi61.0/spi61.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi62/spi62.0/spi62.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi63/spi63.0/spi63.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi70/spi70.0/spi70.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi71/spi71.0/spi71.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi72/spi72.0/spi72.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi73/spi73.0/spi73.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi80/spi80.0/spi80.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi81/spi81.0/spi81.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi82/spi82.0/spi82.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi83/spi83.0/spi83.00 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a080.i2c-bus/i2c-0/0-0051/0-00510 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a200.i2c-bus/i2c-3/3-0054/3-00541 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a280.i2c-bus/i2c-4/i2c-17/17-0050/17-005021 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a380.i2c-bus/i2c-6/i2c-26/26-0051/26-005122 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0032/rv8803_nvram0 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0050/8-00504 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0051/8-00513 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0050/9-00505 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0051/9-00516 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0052/9-00528 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0053/9-00537 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0050/10-005010 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0051/10-00519 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0052/10-005212 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0053/10-005311 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0050/11-005014 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0051/11-005113 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0052/11-005216 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0053/11-005315 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0050/13-005018 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0051/13-005117 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0052/13-005220 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0053/13-005319 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-27/27-0050/27-005023 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-28/28-0051/28-005124 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-29/29-0050/29-005025 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-31/31-0050/31-005026 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-32/32-0050/32-005027 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-33/33-0050/33-005028 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-34/34-0050/34-005029 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi10/spi10.0/spi10.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi11/spi11.0/spi11.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi12/spi12.0/spi12.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:04/spi_master/spi13/spi13.0/spi13.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi20/spi20.0/spi20.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi21/spi21.0/spi21.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi22/spi22.0/spi22.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@01:00/01:01:00:04/spi_master/spi23/spi23.0/spi23.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi30/spi30.0/spi30.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi31/spi31.0/spi31.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi32/spi32.0/spi32.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@02:00/01:02:00:04/spi_master/spi33/spi33.0/spi33.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi40/spi40.0/spi40.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi41/spi41.0/spi41.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi42/spi42.0/spi42.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@03:00/01:03:00:04/spi_master/spi43/spi43.0/spi43.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi50/spi50.0/spi50.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi51/spi51.0/spi51.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi52/spi52.0/spi52.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@04:00/01:04:00:04/spi_master/spi53/spi53.0/spi53.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi60/spi60.0/spi60.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi61/spi61.0/spi61.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi62/spi62.0/spi62.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@05:00/01:05:00:04/spi_master/spi63/spi63.0/spi63.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi70/spi70.0/spi70.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi71/spi71.0/spi71.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi72/spi72.0/spi72.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@06:00/01:06:00:04/spi_master/spi73/spi73.0/spi73.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi80/spi80.0/spi80.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi81/spi81.0/spi81.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi82/spi82.0/spi82.00 /sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/fsi0/slave@00:00/00:00:00:0a/fsi-master/fsi1/slave@07:00/01:07:00:04/spi_master/spi83/spi83.0/spi83.00 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a080.i2c-bus/i2c-0/0-0051/0-00510 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a200.i2c-bus/i2c-3/3-0054/3-00541 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a280.i2c-bus/i2c-4/i2c-17/17-0050/17-005021 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a380.i2c-bus/i2c-6/i2c-26/26-0051/26-005122 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0032/rv8803_nvram0 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0050/8-00504 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a480.i2c-bus/i2c-8/8-0051/8-00513 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0050/9-00505 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0051/9-00516 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0052/9-00528 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a500.i2c-bus/i2c-9/9-0053/9-00537 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0050/10-005010 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0051/10-00519 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0052/10-005212 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a580.i2c-bus/i2c-10/10-0053/10-005311 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0050/11-005014 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0051/11-005113 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0052/11-005216 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0053/11-005315 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0050/13-005018 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0051/13-005117 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0052/13-005220 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a700.i2c-bus/i2c-13/13-0053/13-005319 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-27/27-0050/27-005023 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-28/28-0051/28-005124 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-29/29-0050/29-005025 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-31/31-0050/31-005026 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-32/32-0050/32-005027 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-33/33-0050/33-005028 /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a780.i2c-bus/i2c-14/i2c-34/34-0050/34-005029 root@ever10bmc:/tmp#
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: Ie39123a336f7ec09d9e23b5706a801988798dac2
show more ...
|
#
f2d3b53d |
| 19-Apr-2022 |
Santosh Puranik <santosh.puranik@in.ibm.com> |
manager: Save and Restore BIOS Attributes
This commit saves any updates made to BIOS attributes to VPD.
It also restores the attributes from the VPD when we start VPD manager.
Signed-off-by: Santo
manager: Save and Restore BIOS Attributes
This commit saves any updates made to BIOS attributes to VPD.
It also restores the attributes from the VPD when we start VPD manager.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: Idb28e2f89d21ccd89eb8e56490eb7f31397ff5f5
show more ...
|