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

Add support for MtFuji elba dpu image build #21949

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SahilChaudhari
Copy link

@SahilChaudhari SahilChaudhari commented Mar 6, 2025

Why I did it

  • During make configure, if pensando.ini exists at platform/checkout, it runs template.j2 to download pensando dpu build artifacts from pensando/pensando-sonic-artifacts repo at path
    $(PLATFORM_PATH)/pensando-sonic-artifacts i.e (platform/pensando/pensando-sonic-artifacts)
  • Modified slave.mk and sdk.mk to use downloaded artifacts at path platform/pensando/pensando-sonic-artifacts
  • Introduced COPY_DOCKER_IMAGES in Makefile to copy Pensando elba firmware docker container image to target/ which is getting used for docker-dpu-base.mk for Pensando
Work item tracking
  • Microsoft ADO (number only):

How I did it

git clone https://github.com/sonic-net/sonic-buildimage.git

make init
make configure PLATFORM=pensando PLATFORM_ARCH=arm64
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=0 make target/sonic-pensando.tar

How to verify it

Ensure, the platform/checkout/.ini file refers to the correct github page with the correct version tag that can be downloaded and artifacts are available at platform/pensando/pensando-sonic-artifacts

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • master

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Copy link

linux-foundation-easycla bot commented Mar 6, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

- During make configure, if pensando.ini exists at platform/checkout, it
runs template.j2 to download pensando dpu build artifacts from
pensando/pensando-sonic-artifacts repo at path
files/dsc/pensando-sonic-artifacts
- Modified slave.mk and sdk.mk to use downloaded artifacts at path
files/dsc/pensando-sonic-artifacts

Signed-off-by: Sahil Chaudhari <sahil.chaudhari@amd.com>
Signed-off-by: Shantanu Shrivastava <shanshri@amd.com>
Signed-off-by: Sahil Chaudhari <sahil.chaudhari@amd.com>
Signed-off-by: Shantanu Shrivastava <shanshri@amd.com>
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

- Changed pensando artifacts repo clone path to
platform/pensando/pensando-sonic-artifacts
- Added COPY_DOCKER_IMAGES target to copy docker image from cloned
artifacts

Signed-off-by: Sahil Chaudhari <sahil.chaudhari@amd.com>
Signed-off-by: Shantanu Shrivastava <shanshri@amd.com>
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@anamehra anamehra left a comment

Choose a reason for hiding this comment

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

Added couple of Minor comments.

Signed-off-by: Sahil Chaudhari <sahil.chaudhari@amd.com>
Signed-off-by: Shantanu Shrivastava <shanshri@amd.com>
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

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.

3 participants