Skip to content

[Mellanox]platform api support firmware install#3931

Merged
lguohan merged 9 commits intosonic-net:masterfrom
stephenxs:fwupdate
Jan 29, 2020
Merged

[Mellanox]platform api support firmware install#3931
lguohan merged 9 commits intosonic-net:masterfrom
stephenxs:fwupdate

Conversation

@stephenxs
Copy link
Collaborator

- What I did
support firmware install, including CPLD and BIOS.

- How I did it
CPLD: cpldupdate
BIOS: boot to onie and update BIOS in onie and then boot to SONiC

- How to verify it
try installing CPLD/BIOS via platform api
test-install-sonic-then-update-bios.txt
test-update-cpld-gpio.txt

- Description for the changelog

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

@jleveque
Copy link
Contributor

Retest vs please

@jleveque
Copy link
Contributor

Retest vsimage please

srideepDell
srideepDell previously approved these changes Jan 15, 2020
@jleveque
Copy link
Contributor

Retest vsimage please

…taller via using the newly introduced onie_entry
keboliu
keboliu previously approved these changes Jan 19, 2020
@liat-grozovik
Copy link
Collaborator

@srideepDell could you please approve this PR or you have additional feedback?

Copy link
Collaborator

@nazariig nazariig left a comment

Choose a reason for hiding this comment

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

we need to improve our flows one #3935 is merged

@stephenxs
Copy link
Collaborator Author

@nazariig the code that take advantage of new grub variable to resolve the sonic_installer broken issue has been merged.

}

# ONIE entry must exist in grub config
find_onie_menuentry()
Copy link
Collaborator

Choose a reason for hiding this comment

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

@stephenxs Since we are already use onie_entry, we do not need this anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed.

jleveque
jleveque previously approved these changes Jan 22, 2020
Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

Looks good to me. Please work through comments from other reviewers.

@stephenxs stephenxs dismissed stale reviews from jleveque and keboliu via c3fa992 January 23, 2020 06:49
@nazariig
Copy link
Collaborator

retest vsimage please

@lguohan lguohan merged commit 33e918f into sonic-net:master Jan 29, 2020
@stephenxs stephenxs deleted the fwupdate branch January 29, 2020 05:57
abdosi pushed a commit that referenced this pull request Feb 24, 2020
support firmware install, including CPLD and BIOS.

CPLD: cpldupdate
BIOS: boot to onie and update BIOS in onie and then boot to SONiC
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
support firmware install, including CPLD and BIOS.

CPLD: cpldupdate
BIOS: boot to onie and update BIOS in onie and then boot to SONiC
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
support firmware install, including CPLD and BIOS.

CPLD: cpldupdate
BIOS: boot to onie and update BIOS in onie and then boot to SONiC
mssonicbld added a commit that referenced this pull request Oct 14, 2025
…lly (#23491)

#### Why I did it
src/sonic-swss
```
* c87bf6c0 - (HEAD -> master, origin/master, origin/HEAD) [FC] Reduce sairedis calls by efficient caching (#3854) (6 hours ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (#3931) (10 hours ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (#3872) (3 days ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Nov 1, 2025
…lly (#24266)

#### Why I did it
src/sonic-swss
```
* 3ccfa629 - (HEAD -> master, origin/master, origin/HEAD) [orchagent] Add FEC frame loss ratio monitoring with predictive analytics (#3869) (3 days ago) [Apoorv Sachan]
* 2018ed33 - Add mock test for IPv4/IPv6 route add/delete (#3839) (3 days ago) [meghtony]
* 47df8071 - [portsorch] Fixed port comparison logic executed every doTask for every port (#3821) (3 days ago) [Stepan Blyshchak]
* 0c60bdb4 - [ssw][ha] use endpoint IP to for tunnel term acl (#3897) (3 days ago) [Jing Zhang]
* 80c742c2 - [muxorch] Fix handling mux neighbors learned after route (#3937) (4 days ago) [Nikola Dancejic]
* bd479539 - [Vnetorch] Ecmp vnet local routes (#3935) (7 days ago) [Leyza]
* 5de59222 - [FC] Set FC delay in command line parameters (#3814) (8 days ago) [Stepan Blyshchak]
* 85a06154 - [ssw][ha] set `SAI_ENI_ATTR_IS_HA_FLOW_OWNER` & `SAI_ENI_ATTR_HA_SCOPE_ID` when creating eni (#3881) (11 days ago) [Jing Zhang]
* bc40a043 - Skip flush if ring buffer is not empty or thread is not in idle (#3895) (11 days ago) [Eddie Ruan]
* ab96400c - [trim]: Update log level severity to avoid errors during attribute/enum capabilities query (#3916) (2 weeks ago) [Nazarii Hnydyn]
* 582eed0e - [vs]: Fix trimming test cases: avoid config consolidation (#3939) (2 weeks ago) [Nazarii Hnydyn]
* 34b9f366 - [vs]: Fix trimming test cases: avoid NULL OID polling (#3943) (2 weeks ago) [Nazarii Hnydyn]
* 8b8918a7 - [ACL] Populate SAI tunnel term correctly (#3924) (2 weeks ago) [Vivek]
* fb56d6da - Maximum non-zero FEC histogram bin (#3919) (2 weeks ago) [Prince George]
* c87bf6c0 - [FC] Reduce sairedis calls by efficient caching (#3854) (3 weeks ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (#3931) (3 weeks ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (#3872) (3 weeks ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog
ashutosh-agrawal pushed a commit to AnantKishorSharma/sonic-buildimage that referenced this pull request Nov 30, 2025
…lly (sonic-net#24266)

#### Why I did it
src/sonic-swss
```
* 3ccfa629 - (HEAD -> master, origin/master, origin/HEAD) [orchagent] Add FEC frame loss ratio monitoring with predictive analytics (sonic-net#3869) (3 days ago) [Apoorv Sachan]
* 2018ed33 - Add mock test for IPv4/IPv6 route add/delete (sonic-net#3839) (3 days ago) [meghtony]
* 47df8071 - [portsorch] Fixed port comparison logic executed every doTask for every port (sonic-net#3821) (3 days ago) [Stepan Blyshchak]
* 0c60bdb4 - [ssw][ha] use endpoint IP to for tunnel term acl (sonic-net#3897) (3 days ago) [Jing Zhang]
* 80c742c2 - [muxorch] Fix handling mux neighbors learned after route (sonic-net#3937) (4 days ago) [Nikola Dancejic]
* bd479539 - [Vnetorch] Ecmp vnet local routes (sonic-net#3935) (7 days ago) [Leyza]
* 5de59222 - [FC] Set FC delay in command line parameters (sonic-net#3814) (8 days ago) [Stepan Blyshchak]
* 85a06154 - [ssw][ha] set `SAI_ENI_ATTR_IS_HA_FLOW_OWNER` & `SAI_ENI_ATTR_HA_SCOPE_ID` when creating eni (sonic-net#3881) (11 days ago) [Jing Zhang]
* bc40a043 - Skip flush if ring buffer is not empty or thread is not in idle (sonic-net#3895) (11 days ago) [Eddie Ruan]
* ab96400c - [trim]: Update log level severity to avoid errors during attribute/enum capabilities query (sonic-net#3916) (2 weeks ago) [Nazarii Hnydyn]
* 582eed0e - [vs]: Fix trimming test cases: avoid config consolidation (sonic-net#3939) (2 weeks ago) [Nazarii Hnydyn]
* 34b9f366 - [vs]: Fix trimming test cases: avoid NULL OID polling (sonic-net#3943) (2 weeks ago) [Nazarii Hnydyn]
* 8b8918a7 - [ACL] Populate SAI tunnel term correctly (sonic-net#3924) (2 weeks ago) [Vivek]
* fb56d6da - Maximum non-zero FEC histogram bin (sonic-net#3919) (2 weeks ago) [Prince George]
* c87bf6c0 - [FC] Reduce sairedis calls by efficient caching (sonic-net#3854) (3 weeks ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (sonic-net#3931) (3 weeks ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (sonic-net#3872) (3 weeks ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…lly (sonic-net#23491)

#### Why I did it
src/sonic-swss
```
* c87bf6c0 - (HEAD -> master, origin/master, origin/HEAD) [FC] Reduce sairedis calls by efficient caching (sonic-net#3854) (6 hours ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (sonic-net#3931) (10 hours ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (sonic-net#3872) (3 days ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <[email protected]>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…lly (sonic-net#24266)

#### Why I did it
src/sonic-swss
```
* 3ccfa629 - (HEAD -> master, origin/master, origin/HEAD) [orchagent] Add FEC frame loss ratio monitoring with predictive analytics (sonic-net#3869) (3 days ago) [Apoorv Sachan]
* 2018ed33 - Add mock test for IPv4/IPv6 route add/delete (sonic-net#3839) (3 days ago) [meghtony]
* 47df8071 - [portsorch] Fixed port comparison logic executed every doTask for every port (sonic-net#3821) (3 days ago) [Stepan Blyshchak]
* 0c60bdb4 - [ssw][ha] use endpoint IP to for tunnel term acl (sonic-net#3897) (3 days ago) [Jing Zhang]
* 80c742c2 - [muxorch] Fix handling mux neighbors learned after route (sonic-net#3937) (4 days ago) [Nikola Dancejic]
* bd479539 - [Vnetorch] Ecmp vnet local routes (sonic-net#3935) (7 days ago) [Leyza]
* 5de59222 - [FC] Set FC delay in command line parameters (sonic-net#3814) (8 days ago) [Stepan Blyshchak]
* 85a06154 - [ssw][ha] set `SAI_ENI_ATTR_IS_HA_FLOW_OWNER` & `SAI_ENI_ATTR_HA_SCOPE_ID` when creating eni (sonic-net#3881) (11 days ago) [Jing Zhang]
* bc40a043 - Skip flush if ring buffer is not empty or thread is not in idle (sonic-net#3895) (11 days ago) [Eddie Ruan]
* ab96400c - [trim]: Update log level severity to avoid errors during attribute/enum capabilities query (sonic-net#3916) (2 weeks ago) [Nazarii Hnydyn]
* 582eed0e - [vs]: Fix trimming test cases: avoid config consolidation (sonic-net#3939) (2 weeks ago) [Nazarii Hnydyn]
* 34b9f366 - [vs]: Fix trimming test cases: avoid NULL OID polling (sonic-net#3943) (2 weeks ago) [Nazarii Hnydyn]
* 8b8918a7 - [ACL] Populate SAI tunnel term correctly (sonic-net#3924) (2 weeks ago) [Vivek]
* fb56d6da - Maximum non-zero FEC histogram bin (sonic-net#3919) (2 weeks ago) [Prince George]
* c87bf6c0 - [FC] Reduce sairedis calls by efficient caching (sonic-net#3854) (3 weeks ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (sonic-net#3931) (3 weeks ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (sonic-net#3872) (3 weeks ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <[email protected]>
xwjiang-ms pushed a commit to xwjiang-ms/sonic-buildimage that referenced this pull request Dec 22, 2025
…lly (sonic-net#24266)

#### Why I did it
src/sonic-swss
```
* 3ccfa629 - (HEAD -> master, origin/master, origin/HEAD) [orchagent] Add FEC frame loss ratio monitoring with predictive analytics (sonic-net#3869) (3 days ago) [Apoorv Sachan]
* 2018ed33 - Add mock test for IPv4/IPv6 route add/delete (sonic-net#3839) (3 days ago) [meghtony]
* 47df8071 - [portsorch] Fixed port comparison logic executed every doTask for every port (sonic-net#3821) (3 days ago) [Stepan Blyshchak]
* 0c60bdb4 - [ssw][ha] use endpoint IP to for tunnel term acl (sonic-net#3897) (3 days ago) [Jing Zhang]
* 80c742c2 - [muxorch] Fix handling mux neighbors learned after route (sonic-net#3937) (4 days ago) [Nikola Dancejic]
* bd479539 - [Vnetorch] Ecmp vnet local routes (sonic-net#3935) (7 days ago) [Leyza]
* 5de59222 - [FC] Set FC delay in command line parameters (sonic-net#3814) (8 days ago) [Stepan Blyshchak]
* 85a06154 - [ssw][ha] set `SAI_ENI_ATTR_IS_HA_FLOW_OWNER` & `SAI_ENI_ATTR_HA_SCOPE_ID` when creating eni (sonic-net#3881) (11 days ago) [Jing Zhang]
* bc40a043 - Skip flush if ring buffer is not empty or thread is not in idle (sonic-net#3895) (11 days ago) [Eddie Ruan]
* ab96400c - [trim]: Update log level severity to avoid errors during attribute/enum capabilities query (sonic-net#3916) (2 weeks ago) [Nazarii Hnydyn]
* 582eed0e - [vs]: Fix trimming test cases: avoid config consolidation (sonic-net#3939) (2 weeks ago) [Nazarii Hnydyn]
* 34b9f366 - [vs]: Fix trimming test cases: avoid NULL OID polling (sonic-net#3943) (2 weeks ago) [Nazarii Hnydyn]
* 8b8918a7 - [ACL] Populate SAI tunnel term correctly (sonic-net#3924) (2 weeks ago) [Vivek]
* fb56d6da - Maximum non-zero FEC histogram bin (sonic-net#3919) (2 weeks ago) [Prince George]
* c87bf6c0 - [FC] Reduce sairedis calls by efficient caching (sonic-net#3854) (3 weeks ago) [Vivek]
* 287461ba - [vs]: Remove non-default objects on dynamic buffer model teardown (sonic-net#3931) (3 weeks ago) [Nazarii Hnydyn]
* 36c598cb - Make fpmsyncd capable of handling route replace semantics (sonic-net#3872) (3 weeks ago) [venkit-nexthop]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: xiaweijiang <[email protected]>
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.

9 participants