[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
Este commit está contenido en:
@@ -159,7 +159,7 @@ Static Arguments:
|
||||
-h, --help show this help message and exit
|
||||
-a, --asic All asic information
|
||||
-b, --bus All bus information
|
||||
-V, --vbios All video bios information (if available)
|
||||
-I, --ifwi All video bios\IFWI information (if available)
|
||||
-d, --driver Displays driver version
|
||||
-v, --vram All vram information
|
||||
-c, --cache All cache information
|
||||
@@ -913,7 +913,7 @@ GPU: 0
|
||||
MAX_PCIE_SPEED: 32 GT/s
|
||||
PCIE_INTERFACE_VERSION: Gen 5
|
||||
SLOT_TYPE: PCIE
|
||||
VBIOS:
|
||||
IFWI:
|
||||
NAME: N/A
|
||||
BUILD_DATE: N/A
|
||||
PART_NUMBER: N/A
|
||||
|
||||
@@ -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)
|
||||
```
|
||||
|
||||
Referencia en una nueva incidencia
Block a user