[Mellanox] Add support for BIOS update on SPC4#43
Closed
DavidZagury wants to merge 3 commits intomasterfrom
Closed
[Mellanox] Add support for BIOS update on SPC4#43DavidZagury wants to merge 3 commits intomasterfrom
DavidZagury wants to merge 3 commits intomasterfrom
Conversation
Add support for updating BIOS through dev signed ONIE. Add support for update BIOS using cap/cab files
9c20e04 to
39e9a04
Compare
nazariig
suggested changes
May 30, 2023
platform/mellanox/mlnx-platform-api/sonic_platform/component.py
Outdated
Show resolved
Hide resolved
| def __add_prefix(self, image_path): | ||
| if self.BIOS_UPDATE_FILE_EXT not in image_path: | ||
| if image_path.endswith(self.BIOS_UPDATE_FILE_EXT_CAB): | ||
| return image_path; |
There was a problem hiding this comment.
@DavidZagury looks like it will break automatic FW upgrade. Suggest to double check
platform/mellanox/mlnx-platform-api/sonic_platform/component.py
Outdated
Show resolved
Hide resolved
nazariig
approved these changes
Jul 11, 2023
DavidZagury
pushed a commit
that referenced
this pull request
Oct 1, 2023
…ly (sonic-net#16566) #### Why I did it src/dhcprelay ``` * 2b33d76 - (HEAD -> master, origin/master, origin/HEAD) dhcpv6 per interface counter support (#43) (7 days ago) [jcaiMR] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Mar 16, 2025
…ly (sonic-net#21743) #### Why I did it src/sonic-stp ``` * 29eb387 - (HEAD -> master, origin/master, origin/HEAD) Fixing compilaion error for marvell_armhf (#47) (9 hours ago) [Divya Kumaran Chandralekha] * b7da558 - Merge pull request #44 from wajahatrazi/stp_co_pr (3 days ago) [Divya Kumaran Chandralekha] |\ | failure_prs.log skip_prs.log 47e1e77 - Merge branch 'master' into stp_co_pr (3 days ago) [Divya Kumaran Chandralekha] | |\ | |/ |/| * | 6e4a94f - Merge pull request #46 from divyachandralekha/pvst_pr_1 (4 days ago) [Divya Kumaran Chandralekha] |\ \ | failure_prs.log skip_prs.log | aa5e824 - libevent explicit building dependency removed (4 days ago) [Divya Chandralekha] |/ / * | 9345e5a - Merge pull request #43 from omaaartamer/fix/alignment-warnings (5 days ago) [Divya Kumaran Chandralekha] * | eedb772 - [stp] Add memory alignment padding to structures (9 weeks ago) [omaaartamer] * | 128e53d - fix: resolve STP alignment warnings (9 weeks ago) [omaaartamer] / * 30febfa - Fixing changes in the code (9 weeks ago) [Wajahat Razi] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Apr 28, 2025
… automatically (sonic-net#745) #### Why I did it src/sonic-platform-common ``` * 64407ff - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-platform-common:202411 to 202412 (#43) (14 seconds ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Apr 28, 2025
…D automatically (sonic-net#1007) #### Why I did it src/sonic-sairedis ``` * e6fc812 - (HEAD -> 202412, origin/HEAD, origin/202412) Merge sonic-net/sonic-sairedis 202411 to 202412 (#44) (4 minutes ago) [Riff] * 75ecb0f - [vslib] SAI_KEY_VS_OPER_SPEED_IS_CONFIGURED_SPEED, SAI_PORT_ATTR_HOST_TX_READY_STATUS support (#43) (52 minutes ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Apr 28, 2025
… HEAD automatically (sonic-net#1017) #### Why I did it src/sonic-linux-kernel ``` * 274843c - (HEAD -> 202412, origin/HEAD, origin/202412) Merge pull request #43 from r12f/code-sync-202412 (32 minutes ago) [Riff] * b865879 - Merge remote-tracking branch 'base/202411' into code-sync-202412 (13 hours ago) [r12f] * a89afbc - [202411] Update to Linux 6.1.123 (sonic-net#459) (8 days ago) [Saikrishna Arcot] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Jun 16, 2025
…sonic-net#22940) #### Why I did it src/dhcpmon ``` * cf192dd - (HEAD -> master, origin/master, origin/HEAD) Fix incorrect counting in for packets related to standby interface in dualtor (#43) (4 days ago) [Yaqiang Zhu] ``` #### How I did it #### How to verify it #### Description for the changelog
DavidZagury
pushed a commit
that referenced
this pull request
Jul 24, 2025
…tically (sonic-net#23388) #### Why I did it src/sonic-dash-api ``` * 78a3884 - (HEAD -> master, origin/master, origin/HEAD) Undeprecate action_type, change field type to ActionType (#43) (10 hours ago) [Lawrence Lee] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for updating BIOS through dev signed ONIE. Add support for update BIOS using cap/cab files
Why I did it
Bios on new generation switch can come with a file type of cap or cab. Needs to add support to these file type.
Also ONIE version on new devices can have a suffix of 'dev'.
Work item tracking
How I did it
Added cap & cab as possible component extensions for ComponentBIOS.
Update the ONIE version regex to include dev signed versions.
How to verify it
Update bios.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)