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

[Arista] Fix flash size computation for Lodoga #8622

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

Staphylo
Copy link
Collaborator

Why I did it

The Lodoga platform also matched crow which was hardcoding the flash
size to 3700.

How I did it

By removing the 3700 hardcoding on crow, this change enables autodetect on Clearlake
which in turns allows autodetect for Lodoga.

The threshold was also bumped from 3700 to 4000 because size computation can
differ slightly and report slightly above 3700.

How to verify it

Verify that docker_inram is no longer set on /proc/cmdline

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Fix flash size computation in boot0 for Lodoga

The Lodoga platform also matched crow which was hardcoding the flash
size to 3700. This change enables autodetect on Clearlake which in turns
allows autodetect for Lodoga.

The threshold was bumped from 3700 to 4000 because size computation can
differ slightly and report slightly above 3700.
@yxieca
Copy link
Contributor

yxieca commented Aug 30, 2021

I think this file can use some comments? It would be confusing to see a change related to 7050qx addresses issues on 7050cx platform.

@lguohan lguohan merged commit 57e7b94 into sonic-net:master Aug 30, 2021
qiluo-msft pushed a commit that referenced this pull request Sep 1, 2021
The Lodoga platform also matched crow which was hardcoding the flash
size to 3700. This change enables autodetect on Clearlake which in turns
allows autodetect for Lodoga.

The threshold was bumped from 3700 to 4000 because size computation can
differ slightly and report slightly above 3700.
judyjoseph pushed a commit that referenced this pull request Sep 2, 2021
The Lodoga platform also matched crow which was hardcoding the flash
size to 3700. This change enables autodetect on Clearlake which in turns
allows autodetect for Lodoga.

The threshold was bumped from 3700 to 4000 because size computation can
differ slightly and report slightly above 3700.
@Staphylo Staphylo deleted the master-lodoga-flashsize-2 branch December 6, 2022 15:03
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.

6 participants