Skip to content

Update AST2700 patch generation script to generate incremental patches#594

Open
jack-nexthop wants to merge 2 commits into
sonic-net:masterfrom
nexthop-ai:jack.update-generate-aspeed-patch-sh
Open

Update AST2700 patch generation script to generate incremental patches#594
jack-nexthop wants to merge 2 commits into
sonic-net:masterfrom
nexthop-ai:jack.update-generate-aspeed-patch-sh

Conversation

@jack-nexthop

Copy link
Copy Markdown

Updating the AST2700 patch generation script to generate incremental patches as opposed to regenerating the entire support patch each time. Script diffs the current committed state against a fresh Aspeed upstream copy and emits only what's new upstream relative to the Aspeed patches already committed in patches-sonic/series. As before, it defaults to aspeed-master-v6.12 and can be overridden with ASPEED_TAG, e.g.

ASPEED_TAG=v00.07.02 ./scripts/generate-aspeed-patch.sh

Also adds an ###-> aspeed-upstream sub-section in the series to mark the patches the script regenerates so hand-written board patches are left untouched. Additionally adds a skip list so tool-managed blocks like nvidia_aspeed_bmc are skipped.

@jack-nexthop jack-nexthop requested a review from a team as a code owner June 23, 2026 19:03
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 23, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

@jack-nexthop jack-nexthop force-pushed the jack.update-generate-aspeed-patch-sh branch from 04131d4 to 9201452 Compare June 23, 2026 19:12
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

Signed-off-by: Jack Cai <jack@nexthop.ai>
Signed-off-by: Jack Cai <jack@nexthop.ai>
@jack-nexthop jack-nexthop force-pushed the jack.update-generate-aspeed-patch-sh branch from 9201452 to c69536b Compare June 23, 2026 19:13
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

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