[SWDEV-554587] Added IFWI Version and boot_firmware API

- Changed amd-smi static --vbios to accept ifwi
- Change population logic for vbios version API
- Added IFWI boot_firmware to the CLI, C++, Rust, and Python API

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I4ea504d40a43cfb011ab38fc9a664ecf12d39c8a
此提交包含在:
Maisam Arif
2025-09-16 19:51:13 -05:00
提交者 Arif, Maisam
父節點 c708a7e11f
當前提交 cd21b5edcc
共有 20 個檔案被更改,包括 185 行新增72 行删除
+7 -5
查看文件
@@ -647,7 +647,7 @@ except AmdSmiException as e:
### amdsmi_get_gpu_vbios_info
Description: Returns the static information for the VBIOS on the device.
Description: Returns the static information for the VBIOS/IFWI on the device.
Input parameters:
@@ -657,10 +657,11 @@ Output: Dictionary with fields
Field | Description
---|---
`name` | vbios name
`build_date` | vbios build date
`part_number` | vbios part number
`version` | vbios version string
`name` | VBIOS/IFWI name
`build_date` | VBIOS/IFWI build date
`part_number` | VBIOS/IFWI part number
`version` | VBIOS/IFWI version string
`boot_firmware` | Unified BootLoader version if available; N/A otherwise
Exceptions that can be thrown by `amdsmi_get_gpu_vbios_info` function:
@@ -682,6 +683,7 @@ try:
print(vbios_info['build_date'])
print(vbios_info['part_number'])
print(vbios_info['version'])
print(vbios_info['boot_firmware'])
except AmdSmiException as e:
print(e)
```