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

[mellanox] Add fwutil platform components files #3999

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

nazariig
Copy link
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
Collaborator Author

nazariig commented Jan 9, 2020

@liat-grozovik
Copy link
Collaborator

retest vsimage please

1 similar comment
@nazariig
Copy link
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