Skip to content

[aspeed] Update FW_ENV_DEFAULT MTD index for CONFIG_MTD_PARTITIONED_MASTER - #29461

Open
prajjwal-arista wants to merge 1 commit into
sonic-net:masterfrom
prajjwal-arista:aspeed-update-FW_ENV_DEFAULT-index
Open

prajjwal-arista wants to merge 1 commit into
sonic-net:masterfrom
prajjwal-arista:aspeed-update-FW_ENV_DEFAULT-index

Conversation

@prajjwal-arista

@prajjwal-arista prajjwal-arista commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

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

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)

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605
  • 202608

Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:

Tested branch

  • master
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605
  • 202608
  • N/A

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)

…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

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@prajjwal-arista

Copy link
Copy Markdown
Contributor Author

Note: This change is dependent on sonic-net/sonic-linux-kernel#622

@mssonicbld

Copy link
Copy Markdown
Collaborator

This PR has backport request for branch(es): 202608.
Added label(s) for branch(es) msft-202608.

---Powered by SONiC BuildBot

@mssonicbld

Copy link
Copy Markdown
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

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.

2 participants