Update the CPLD.
Usage
nicctl update firmware cpld [-flags]
Flags
- --card|-c <card-uuid-list>
- Specify card UUIDs as a comma separated list.
- --image|-i <file>
- Specify full path to the firmware bundle. This is a mandatory flag.
- --log-file|-l <file>
- Specify file to save CPLD update logs.
Description
This command updates the CPLD on specified cards or all cards attached to the host.
Note:
- The CPLD update will not take effect until the card is reset. The nicctl reset card command can be used to reset the card without powering it off
- After CPLD firmware update and the card is reset, the CPLD is reconfigured and logs deleted. The card will go through a power cycle and card logs show the reset reason as 'cold boot'.
Examples
Update the CPLD for all cards on the host:
nicctl update firmware cpld --image /tmp/cpld.img
CPLD firmware update is in progress for device 9081267b-4046-504c-3234-333930303033
CPLD firmware update is in progress for device 90812683-8046-504c-3234-333930303542
------------------------------------------------------------
Device Id Result
------------------------------------------------------------
9081267b-4046-504c-3234-333930303033 Successful
90812683-8046-504c-3234-333930303542 Successful
Update the CPLD for a specific card, with more detailed logs:
nicctl update firmware cpld --card 9081267b-4046-504c-3234-333930303033 \
--image /tmp/cpld.img \
--log-file /tmp/cpld-update.log
CPLD firmware update is in progress for device 9081267b-4046-504c-3234-333930303033
------------------------------------------------------------
Device Id Result
------------------------------------------------------------
9081267b-4046-504c-3234-333930303033 Successful