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 fwutil to v2.0.0.0 #942

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

nazariig
Copy link
Collaborator

Signed-off-by: Nazarii Hnydyn nazariig@mellanox.com

This PR introduces fwutil v2.0.0.0 according to the design requirements:
sonic-net/SONiC#612

Key features:

  1. New CLI command to show available firmware updates
  2. New CLI commands to do per component firmware update
  3. Advanced user notifications in case system state change

- What I did

  • Updated fwutil to v.2.0.0.0 according to the design requirements

- How I did it

  • N/A

- How to verify it

  1. fwutil show updates
  2. fwutil update chassis component <component_name> fw
  3. fwutil update module <module_name> component <component_name> fw

- Previous command output (if the output of a command-line utility has changed)

root@sonic:/home/admin# fwutil update --image=next
Chassis                  Module    Component    Firmware    Version                  Status      Info
-----------------------  --------  -----------  ----------  -----------------------  ----------  ------
x86_64-mlnx_msn3700c-r0  N/A       BIOS         N/A         0ACLH004_02.02.007_9600  up-to-date  N/A
                                   CPLD1        N/A         CPLD000120_REV0223       up-to-date  N/A
                                   CPLD2        N/A         CPLD000162_REV0800       up-to-date  N/A
                                   CPLD3        N/A         CPLD000106_REV0100       up-to-date  N/A
New firmware will be installed, continue? [y/N]: y

Summary:

Chassis                  Module    Component    Status
-----------------------  --------  -----------  ----------
x86_64-mlnx_msn3700c-r0  N/A       BIOS         up-to-date
                                   CPLD1        up-to-date
                                   CPLD2        up-to-date
                                   CPLD3        up-to-date

- New command output (if the output of a command-line utility has changed)

root@sonic:/home/admin# fwutil show updates
Chassis                 Module    Component    Firmware                                   Version (Current/Available)                        Status
----------------------  --------  -----------  -----------------------------------------  -------------------------------------------------  ----------
x86_64-mlnx_msn3800-r0  N/A       ONIE         /etc/mlnx/onie-updater-x86_64-mlnx_x86-r0  2020.02-5.2.0021-9600 / 2020.02-5.2.0021-9600      up-to-date
                                  SSD          /etc/mlnx/mlnx_ssd_fw_package.pkg          0202-000 / 0202-000                                up-to-date
                                  BIOS         /etc/mlnx/0ACLH004.rom                     0ACLH004_02.02.007_9600 / 0ACLH004_02.02.007_9600  up-to-date
                                  CPLD1        /etc/mlnx/sn3800_cpld.mpfa                 CPLD000120_REV0700 / CPLD000120_REV0700            up-to-date
                                  CPLD2        /etc/mlnx/sn3800_cpld.mpfa                 CPLD000165_REV0400 / CPLD000165_REV0400            up-to-date
                                  CPLD3        /etc/mlnx/sn3800_cpld.mpfa                 CPLD000166_REV0300 / CPLD000166_REV0300            up-to-date
                                  CPLD4        /etc/mlnx/sn3800_cpld.mpfa                 CPLD000167_REV0100 / CPLD000167_REV0100            up-to-date

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@lgtm-com
Copy link

lgtm-com bot commented Jun 12, 2020

This pull request fixes 6 alerts when merging 8446c9c into 62cf457 - view on LGTM.com

fixed alerts:

  • 6 for Variable defined multiple times

@liat-grozovik liat-grozovik merged commit fa50fd7 into sonic-net:201911 Jun 15, 2020
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
 [201911][thermal control] Backport changes from master branch (sonic-net#929)
     [201911][config] Support abbreviation (sonic-net#933)
       Add 'hw-management-generate-dump.sh' to 'show techsupport'
       command (sonic-net#934)
       [fwutil]: Update fwutil to v2.0.0.0. (sonic-net#942)
       Fixes bug for PFCWD feature parameters (sonic-net#838)
     Fixed fast-reboot for BFN platform (sonic-net#871)
     [config] Add 'interface transceiver' subgroup with 'lpmode' and
     'reset' subcommands (sonic-net#904)
      [warm-reboot]: added pre-check for ISSU file (sonic-net#915)
       [config] Don't attempt to restart disabled services (sonic-net#944)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants