[aspeed] Update FW_ENV_DEFAULT MTD index for CONFIG_MTD_PARTITIONED_MASTER - #29461
Open
prajjwal-arista wants to merge 1 commit into
Open
prajjwal-arista wants to merge 1 commit into
prajjwal-arista wants to merge 1 commit into
Conversation
…ASTER With CONFIG_MTD_PARTITIONED_MASTER=y enabled in sonic-linux-kernel (sonic-net/sonic-linux-kernel#622), the master MTD node is retained as mtd0, shifting all partition indices by one. Update FW_ENV_DEFAULT from /dev/mtd1 to /dev/mtd2 to point to the correct u-boot-env partition under the new layout. Signed-off-by: Prajjwal Singh <prajjwal@arista.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
Author
|
Note: This change is dependent on sonic-net/sonic-linux-kernel#622 |
Collaborator
|
This PR has backport request for branch(es): 202608. ---Powered by SONiC BuildBot
|
Collaborator
|
This PR has backport request label(s) for branch(es): msft-202608, but is missing required test information. Please make sure you tick the tested branch(es) in the Tested branch section and provide test evidence (e.g., 202608: <test result>) in the Test result section as well in your PR description. ---Powered by SONiC BuildBot
|
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.
Why I did it
With CONFIG_MTD_PARTITIONED_MASTER=y enabled in sonic-linux-kernel (sonic-net/sonic-linux-kernel#622), the master MTD node is retained as mtd0, shifting all partition indices by one. Update FW_ENV_DEFAULT from /dev/mtd1 to /dev/mtd2 to point to the correct u-boot-env partition under the new layout.
Work item tracking
How I did it
Updated the index for u-boot-env partition from mtd1 to mtd2 for aspeed FW_ENV_DEFAULT var.
How to verify it
N/A
Which release branch to backport (provide reason below if selected)
Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:
Tested branch
Test result
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)