[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
此提交包含在:
@@ -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)
|
||||
```
|
||||
|
||||
新增問題並參考
封鎖使用者