Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fwutil]: Update documentation: CPLD update on Mellanox platforms #876

Merged
merged 1 commit into from
Apr 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
* [Platform Component Firmware](#platform-component-firmware)
* [Platform Component Firmware show commands](#platform-component-firmware-show-commands)
* [Platform Component Firmware config commands](#platform-component-firmware-config-commands)
* [Platform Component Firmware vendor specific behaviour](#platform-component-firmware-vendor-specific-behaviour)
* [Platform Specific Commands](#platform-specific-commands)
* [PortChannels](#portchannels)
* [PortChannel Show commands](#portchannel-show-commands)
Expand Down Expand Up @@ -4119,6 +4120,45 @@ Supported options:

Note: the default option is --image=current (current/next values are taken from `sonic_installer list`)

### Platform Component Firmware vendor specific behaviour

#### Mellanox

**CPLD update**

On Mellanox platforms CPLD update can be done either for single or for all components at once.
The second approach is preferred. In this case an aggregated `vme` binary is used and
CPLD component can be specified arbitrary.

- Example:
```bash
root@sonic:/home/admin# show platform firmware
Chassis Module Component Version Description
---------------------- -------- ----------- ----------------------- ----------------------------------------
x86_64-mlnx_msn3800-r0 N/A BIOS 0ACLH004_02.02.007_9600 BIOS - Basic Input/Output System
CPLD1 CPLD000000_REV0400 CPLD - Complex Programmable Logic Device
CPLD2 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
CPLD3 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
CPLD4 CPLD000000_REV0100 CPLD - Complex Programmable Logic Device

root@sonic:/home/admin# BURN_VME="$(pwd)/FUI000091_Burn_SN3800_CPLD000120_REV0600_CPLD000165_REV0400_CPLD000166_REV0300_CPLD000167_REV0100.vme"
root@sonic:/home/admin# REFRESH_VME="$(pwd)/FUI000091_Refresh_SN3800_CPLD000120_REV0600_CPLD000165_REV0400_CPLD000166_REV0300_CPLD000167_REV0100.vme"

root@sonic:/home/admin# config platform firmware install chassis component CPLD1 fw -y ${BURN_VME}
root@sonic:/home/admin# config platform firmware install chassis component CPLD1 fw -y ${REFRESH_VME}

root@sonic:/home/admin# show platform firmware
Chassis Module Component Version Description
---------------------- -------- ----------- ----------------------- ----------------------------------------
x86_64-mlnx_msn3800-r0 N/A BIOS 0ACLH004_02.02.007_9600 BIOS - Basic Input/Output System
CPLD1 CPLD000000_REV0600 CPLD - Complex Programmable Logic Device
CPLD2 CPLD000000_REV0400 CPLD - Complex Programmable Logic Device
CPLD3 CPLD000000_REV0300 CPLD - Complex Programmable Logic Device
CPLD4 CPLD000000_REV0100 CPLD - Complex Programmable Logic Device
```

Note: the update will have the same effect if any of CPLD1/CPLD2/CPLD3/CPLD4 will be used

Go Back To [Beginning of the document](#) or [Beginning of this section](#platform-component-firmware)


Expand Down