Skip to content

[DellEMC][201911] S6100 CPLD upgrade support in 201911 branch porting changes#10686

Merged
sujinmkang merged 1 commit intosonic-net:201911from
santhosh-kt:201911-s6100-cpld
Apr 28, 2022
Merged

[DellEMC][201911] S6100 CPLD upgrade support in 201911 branch porting changes#10686
sujinmkang merged 1 commit intosonic-net:201911from
santhosh-kt:201911-s6100-cpld

Conversation

@santhosh-kt
Copy link
Copy Markdown
Contributor

Why I did it

The following changes have been made as part of the binary:

If a device contains a chipset that does not require CPLD upgrade, the upgrade will not be done and the consequent reboot will be a normal reboot. The reason for not upgrading will be logged.
Script log messages will be directed to syslog server in addition to logging on console.
By default, if the CPLD upgrade fails the upgrade process will be retried twice.
The maximum number of attempts to be made on failure can be configured from outside the binary using the variable “DELL_S6100_CPLD_UPGRADE_ATTEMPTS”.
Maximum attempts to be made can be configured as 2 using the below commands.
root@sonic:~# DELL_S6100_CPLD_UPGRADE_ATTEMPTS=2
root@sonic:~# export DELL_S6100_CPLD_UPGRADE_ATTEMPTS

How I did it

  • s6100_cpld_upgrade binary is included in this PR which facilitates CPLD upgrade for DellEMC S6100 platform.
  • Modified platform_reboot_override script to support power-cycle. (CPLD upgrade need power-cycle to take into effect)

How to verify it

To verify use update_firmware.sh script for CPLD upgrade.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

On branch 201911-s6100-cpld
Changes to be committed:
(use "git restore --staged ..." to unstage)
new file: device/dell/x86_64-dell_s6100_c2538-r0/s6100_cpld_upgrade
modified: platform/broadcom/sonic-platform-modules-dell/s6100/scripts/platform_reboot_override

Link to config_db schema for YANG module changes

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

@sujinmkang sujinmkang merged commit 9093feb into sonic-net:201911 Apr 28, 2022
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