-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SahilChaudhari
wants to merge
4
commits into
sonic-net:master
Choose a base branch
from
SahilChaudhari:dpu_build_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+27
−7
Conversation
This file contains 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
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
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>
cb7aa43
to
3a1fd6c
Compare
/azp run Azure.sonic-buildimage |
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>
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
anamehra
approved these changes
Mar 12, 2025
There was a problem hiding this 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>
/azp run Azure.sonic-buildimage |
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
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
pensando.ini
exists atplatform/checkout
, it runstemplate.j2
to download pensando dpu build artifacts frompensando/pensando-sonic-artifacts
repo at path$(PLATFORM_PATH)/pensando-sonic-artifacts
i.e (platform/pensando/pensando-sonic-artifacts
)slave.mk
andsdk.mk
to use downloaded artifacts at pathplatform/pensando/pensando-sonic-artifacts
COPY_DOCKER_IMAGES
in Makefile to copy Pensando elba firmware docker container image totarget/
which is getting used fordocker-dpu-base.mk
for PensandoWork item tracking
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)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)