Skip to content

[mellanox] Add fwutil platform components files#3999

Merged
jleveque merged 1 commit intosonic-net:masterfrom
nazariig:master-platform-components
Jan 24, 2020
Merged

[mellanox] Add fwutil platform components files#3999
jleveque merged 1 commit intosonic-net:masterfrom
nazariig:master-platform-components

Conversation

@nazariig
Copy link
Copy Markdown
Collaborator

@nazariig nazariig commented Jan 9, 2020

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

These stubs are required for fwutil update feature:

root@sonic:/home/admin# fwutil update
Chassis                 Module    Component    Firmware    Version                  Status      Info
----------------------  --------  -----------  ----------  -----------------------  ----------  ------
x86_64-mlnx_msn3800-r0  N/A       BIOS         N/A         0ACLH004_02.02.007_9600  up-to-date  N/A
                                  CPLD         N/A         5.3.3.1                  up-to-date  N/A
New firmware will be installed, continue? [y/N]: y

Summary:

Chassis                 Module    Component    Status
----------------------  --------  -----------  ----------
x86_64-mlnx_msn3800-r0  N/A       BIOS         up-to-date
                                  CPLD         up-to-date

Without platform_components.json fwutil will produce error message:

root@sonic:/home/admin# fwutil update
Error: [Errno 2] No such file or directory: '/usr/share/sonic/device/x86_64-mlnx_msn3800-r0/platform_components.json'. Aborting...
Aborted!

- What I did

  • Added fwutil platform components configuration files

- How I did it

  • N/A

- How to verify it

  1. make configure PLATFORM=mellanox
  2. make target/sonic-mellanox.bin

- Description for the changelog

  • N/A

- A picture of a cute animal (not mandatory but encouraged)

      .---.        .-----------
     /     \  __  /    ------
    / /     \(  )/    -----
   //////   ' \/ `   ---
  //// / // :    : ---
 // /   /  /`    '--
//          //..\\
       ====UU====UU====
           '//||\\`
             ''``

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

nazariig commented Jan 9, 2020

@liat-grozovik
Copy link
Copy Markdown
Collaborator

retest vsimage please

1 similar comment
@nazariig
Copy link
Copy Markdown
Collaborator Author

retest vsimage please

@jleveque jleveque merged commit cb2edcf into sonic-net:master Jan 24, 2020
abdosi pushed a commit that referenced this pull request Feb 24, 2020
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@nazariig nazariig deleted the master-platform-components branch July 6, 2022 16:58
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.

5 participants