Skip to content

Commit 726b996

Browse files
bf-upgrade: Support bf-fwbundle with GI in PLDM format
Starting bf-fwbundle 3.2.0 Golden Images included in the bf-fwbundle in PLDM format. Signed-off-by: Vladimir Sokolovsky <[email protected]>
1 parent d11316a commit 726b996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bf-upgrade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ else
454454
DPU_GI_PATH=$(readlink -f ./lib/firmware/mellanox/bmc/)
455455
NIC_FW_GI_PATH=$(readlink -f ./lib/firmware/mellanox/bmc/)
456456
fi
457-
DPU_GOLDEN_IMAGE=$(/bin/ls ${DPU_GI_PATH}/bf3*preboot*.bfb 2> /dev/null)
458-
NIC_FW_GOLDEN_IMAGE=$(/bin/ls ${NIC_FW_GI_PATH}/*${dpu_part_number}*bfb 2> /dev/null)
457+
DPU_GOLDEN_IMAGE=$(/bin/ls ${DPU_GI_PATH}/bf3*preboot*.bfb 2> /dev/null || /bin/ls ${DPU_GI_PATH}/bf3*preboot*.pldm 2> /dev/null)
458+
NIC_FW_GOLDEN_IMAGE=$(/bin/ls ${NIC_FW_GI_PATH}/*${dpu_part_number}*bfb 2> /dev/null || /bin/ls ${NIC_FW_GI_PATH}/*${dpu_part_number}*pldm 2> /dev/null)
459459

460460
bmc_components_update
461461

0 commit comments

Comments
 (0)