Skip to content

Commit cff92dd

Browse files
authored
[fwutil]: Update Command-Reference.md. (sonic-net#876)
Signed-off-by: Nazarii Hnydyn <[email protected]>
1 parent c0b2416 commit cff92dd

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

doc/Command-Reference.md

+40
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
* [Platform Component Firmware](#platform-component-firmware)
7878
* [Platform Component Firmware show commands](#platform-component-firmware-show-commands)
7979
* [Platform Component Firmware config commands](#platform-component-firmware-config-commands)
80+
* [Platform Component Firmware vendor specific behaviour](#platform-component-firmware-vendor-specific-behaviour)
8081
* [Platform Specific Commands](#platform-specific-commands)
8182
* [PortChannels](#portchannels)
8283
* [PortChannel Show commands](#portchannel-show-commands)
@@ -4147,6 +4148,45 @@ Supported options:
41474148
41484149
Note: the default option is --image=current (current/next values are taken from `sonic_installer list`)
41494150
4151+
### Platform Component Firmware vendor specific behaviour
4152+
4153+
#### Mellanox
4154+
4155+
**CPLD update**
4156+
4157+
On Mellanox platforms CPLD update can be done either for single or for all components at once.
4158+
The second approach is preferred. In this case an aggregated `vme` binary is used and
4159+
CPLD component can be specified arbitrary.
4160+
4161+
- Example:
4162+
```bash
4163+
root@sonic:/home/admin# show platform firmware
4164+
Chassis Module Component Version Description
4165+
---------------------- -------- ----------- ----------------------- ----------------------------------------
4166+
x86_64-mlnx_msn3800-r0 N/A BIOS 0ACLH004_02.02.007_9600 BIOS - Basic Input/Output System
4167+
CPLD1 CPLD000000_REV0400 CPLD - Complex Programmable Logic Device
4168+
CPLD2 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
4169+
CPLD3 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
4170+
CPLD4 CPLD000000_REV0100 CPLD - Complex Programmable Logic Device
4171+
4172+
root@sonic:/home/admin# BURN_VME="$(pwd)/FUI000091_Burn_SN3800_CPLD000120_REV0600_CPLD000165_REV0400_CPLD000166_REV0300_CPLD000167_REV0100.vme"
4173+
root@sonic:/home/admin# REFRESH_VME="$(pwd)/FUI000091_Refresh_SN3800_CPLD000120_REV0600_CPLD000165_REV0400_CPLD000166_REV0300_CPLD000167_REV0100.vme"
4174+
4175+
root@sonic:/home/admin# config platform firmware install chassis component CPLD1 fw -y ${BURN_VME}
4176+
root@sonic:/home/admin# config platform firmware install chassis component CPLD1 fw -y ${REFRESH_VME}
4177+
4178+
root@sonic:/home/admin# show platform firmware
4179+
Chassis Module Component Version Description
4180+
---------------------- -------- ----------- ----------------------- ----------------------------------------
4181+
x86_64-mlnx_msn3800-r0 N/A BIOS 0ACLH004_02.02.007_9600 BIOS - Basic Input/Output System
4182+
CPLD1 CPLD000000_REV0600 CPLD - Complex Programmable Logic Device
4183+
CPLD2 CPLD000000_REV0400 CPLD - Complex Programmable Logic Device
4184+
CPLD3 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
4185+
CPLD4 CPLD000000_REV0100 CPLD - Complex Programmable Logic Device
4186+
```
4187+
4188+
Note: the update will have the same effect if any of CPLD1/CPLD2/CPLD3/CPLD4 will be used
4189+
41504190
Go Back To [Beginning of the document](#) or [Beginning of this section](#platform-component-firmware)
41514191
41524192

0 commit comments

Comments
 (0)