Skip to content

[Mellanox] Add support for BIOS update on SPC4#43

Closed
DavidZagury wants to merge 3 commits intomasterfrom
master_bios_update
Closed

[Mellanox] Add support for BIOS update on SPC4#43
DavidZagury wants to merge 3 commits intomasterfrom
master_bios_update

Conversation

@DavidZagury
Copy link
Owner

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
  • Microsoft ADO (number only):

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)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

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)

Add support for updating BIOS through dev signed ONIE.
Add support for update BIOS using cap/cab files
@DavidZagury DavidZagury force-pushed the master_bios_update branch from 9c20e04 to 39e9a04 Compare May 22, 2023 06:56
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;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidZagury looks like it will break automatic FW upgrade. Suggest to double check

@DavidZagury DavidZagury requested a review from nazariig July 11, 2023 12:26
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 DavidZagury closed this Oct 2, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants