Skip to content

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

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

prajjwal-arista wants to merge 2 commits 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

As discussed in sonic-linux-kernel (sonic-net/sonic-linux-kernel#622), the master MTD node is retained as mtd0, shifting all partition indices by one.
This makes the reference FW_ENV_DEFAULT in platform/aspeed/platform_arm64.conf incorrect. Moreover the reference is unused. Therefore, this PR removes it.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Removed the var FW_ENV_DEFAULT in platform/aspeed/platform_arm64.conf

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)

@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

Comment thread platform/aspeed/platform_arm64.conf
Comment thread platform/aspeed/platform_arm64.conf Outdated
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

…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>
Signed-off-by: Prajjwal Singh <prajjwal@arista.com>
@prajjwal-arista
prajjwal-arista force-pushed the aspeed-update-FW_ENV_DEFAULT-index branch from 4f46456 to 36a8bbb Compare September 23, 2026 05:00
@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).

@chander-nexthop chander-nexthop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this.

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.

4 participants