Skip to content

Commit

Permalink
[bluefield] Update bfinstall and bootimages packages URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrivantsiv committed Jan 25, 2022
1 parent 28ac434 commit fde5d45
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
15 changes: 11 additions & 4 deletions platform/nvidia-bluefield/recipes/bfinstall.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.

BFINSTALL_VERSION = 3.8.0.11969
BFINSTALL_VERSION = 3.8.0-11969
BFINSTALL_BASE_PATH = $(PLATFORM_PATH)/sdk-src/sonic-bluefield-packages/bin/BlueField-$(BFINSTALL_VERSION)

BFINSTALL_BASE_URL = "http://fit69.mtl.labs.mlnx/auto/sw_mc_soc_release/BlueField-$(BFINSTALL_VERSION)"
BFINSTALL_FILE = BlueField-$(BFINSTALL_VERSION)_install.bfb
$(BFINSTALL_FILE)_URL = $(BFINSTALL_BASE_URL)/$(BFINSTALL_FILE)
BFINSTALL_BASE_URL =

BFINSTALL_FILE = BlueField-$(subst -,.,$(BFINSTALL_VERSION))_install.bfb

ifneq ($(BFINSTALL_BASE_URL), )
$(BFINSTALL_FILE)_URL = $(BFINSTALL_BASE_URL)/$(BFINSTALL_FILE)
SONIC_ONLINE_FILES += $(BFINSTALL_FILE)
else
$(BFINSTALL_FILE)_PATH = $(BFINSTALL_BASE_PATH)
SONIC_COPY_FILES += $(BFINSTALL_FILE)
endif

export BFINSTALL_FILE
14 changes: 12 additions & 2 deletions platform/nvidia-bluefield/recipes/bootimages.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,18 @@
# limitations under the License.

BOOTIMAGES_VERSION = 3.8.0-11969
BOOTIMAGES_BASE_PATH = $(PLATFORM_PATH)/sdk-src/sonic-bluefield-packages/bin/BlueField-$(BFINSTALL_VERSION)

BOOTIMAGES = mlxbf-bootimages_$(BOOTIMAGES_VERSION)_arm64.deb
$(BOOTIMAGES)_URL = http://fit69.mtl.labs.mlnx/auto/sw_mc_soc_release/BlueField-$(subst -,.,$(BFINSTALL_VERSION))/DEBS/$(BOOTIMAGES)
BOOTIMAGES_BASE_URL =

BOOTIMAGES = mlxbf-bootimages_$(BFINSTALL_VERSION)_arm64.deb

ifneq ($(BOOTIMAGES_BASE_URL), )
$(BOOTIMAGES)_URL = $(BOOTIMAGES_BASE_URL)/$(BOOTIMAGES)
SONIC_ONLINE_DEBS += $(BOOTIMAGES)
else
$(BOOTIMAGES)_PATH = $(BOOTIMAGES_BASE_PATH)
SONIC_COPY_DEBS += $(BOOTIMAGES)
endif

export BOOTIMAGES
2 changes: 1 addition & 1 deletion platform/nvidia-bluefield/sdk-src/sonic-bluefield-packages
Submodule sonic-bluefield-packages updated from 71dced to 8e4b2b

0 comments on commit fde5d45

Please sign in to comment.