-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build]: sonic arm64 changes (#3419)
Marvell arm64 changes over sonic Signed-off-by: Antony Rheneus <[email protected]>
- Loading branch information
1 parent
3ff0c4d
commit 11258e5
Showing
20 changed files
with
76 additions
and
39 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Instruct apt-get to override expired releases repo list for jessie archives | ||
|
||
Acquire::Check-Valid-Until "0"; |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# docker image for docker-ptf-mrvl | ||
|
||
DOCKER_PTF_MRVL = docker-ptf-mrvl.gz | ||
$(DOCKER_PTF_MRVL)_PATH = $(DOCKERS_PATH)/docker-ptf-saithrift | ||
$(DOCKER_PTF_MRVL)_DEPENDS += $(PYTHON_SAITHRIFT) | ||
$(DOCKER_PTF_MRVL)_LOAD_DOCKERS += $(DOCKER_PTF) | ||
SONIC_DOCKER_IMAGES += $(DOCKER_PTF_MRVL) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# docker image for mrvl saiserver | ||
|
||
DOCKER_SAISERVER_MRVL = docker-saiserver-mrvl.gz | ||
$(DOCKER_SAISERVER_MRVL)_PATH = $(PLATFORM_PATH)/docker-saiserver-mrvl | ||
$(DOCKER_SAISERVER_MRVL)_DEPENDS += $(SAISERVER) | ||
$(DOCKER_SAISERVER_MRVL)_FILES += $(DSSERVE) $(BCMCMD) | ||
$(DOCKER_SAISERVER_MRVL)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH) | ||
SONIC_DOCKER_IMAGES += $(DOCKER_SAISERVER_MRVL) | ||
|
||
$(DOCKER_SAISERVER_MRVL)_CONTAINER_NAME = saiserver | ||
$(DOCKER_SAISERVER_MRVL)_RUN_OPT += --net=host --privileged -t | ||
$(DOCKER_SAISERVER_MRVL)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf | ||
$(DOCKER_SAISERVER_MRVL)_RUN_OPT += -v /var/run/docker-saiserver:/var/run/sswsyncd | ||
$(DOCKER_SAISERVER_MRVL)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro | ||
$(DOCKER_SAISERVER_MRVL)_RUN_OPT += -v /host/warmboot:/var/warmboot |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
# docker image for mrvl syncd | ||
|
||
DOCKER_SYNCD_MRVL = docker-syncd-mrvl.gz | ||
$(DOCKER_SYNCD_MRVL)_PATH = $(PLATFORM_PATH)/docker-syncd-mrvl | ||
$(DOCKER_SYNCD_MRVL)_DEPENDS += $(SYNCD) $(MRVL_FPA) $(REDIS_TOOLS) | ||
ifeq ($(INSTALL_DEBUG_TOOLS), y) | ||
$(DOCKER_SYNCD_MRVL)_DEPENDS += $(SYNCD_DBG) \ | ||
DOCKER_SYNCD_PLATFORM_CODE = mrvl | ||
include $(PLATFORM_PATH)/../template/docker-syncd-base.mk | ||
|
||
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API) | ||
|
||
$(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \ | ||
$(LIBSWSSCOMMON_DBG) \ | ||
$(LIBSAIMETADATA_DBG) \ | ||
$(LIBSAIREDIS_DBG) | ||
endif | ||
$(DOCKER_SYNCD_MRVL)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE) | ||
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MRVL) | ||
ifneq ($(ENABLE_SYNCD_RPC),y) | ||
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MRVL) | ||
endif | ||
|
||
$(DOCKER_SYNCD_MRVL)_CONTAINER_NAME = syncd | ||
$(DOCKER_SYNCD_MRVL)_RUN_OPT += --net=host --privileged -t | ||
$(DOCKER_SYNCD_MRVL)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf | ||
$(DOCKER_SYNCD_MRVL)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro | ||
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid | |
supervisorctl start rsyslogd | ||
|
||
supervisorctl start syncd | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,3 @@ autostart=false | |
autorestart=false | ||
stdout_logfile=syslog | ||
stderr_logfile=syslog | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# linux kernel package for marvell arm64 | ||
|
||
KVERSION= 4.4.8 | ||
KVERSION = 4.9.168 | ||
|
||
|
||
LINUX_KERNEL= linux-image-4.4.8_4.4.8-4_arm64.deb | ||
$(LINUX_KERNEL)_PATH = /sonic | ||
SONIC_COPY_DEBS += $(LINUX_KERNEL) | ||
LINUX_KERNEL = linux-image-4.9.168-arm64.deb | ||
export LINUX_KERNEL | ||
|
||
$(LINUX_KERNEL)_SRC_PATH = $(PLATFORM_PATH)/linux | ||
SONIC_MAKE_DEBS += $(LINUX_KERNEL) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.ONESHELL: | ||
SHELL = /bin/bash | ||
.SHELLFLAGS += -e | ||
|
||
LINUX_KERNEL_MRVL_URL = https://github.com/Marvell-switching/sonic-marvell-binaries/raw/master/arm64/kernel/$(LINUX_KERNEL) | ||
|
||
$(addprefix $(DEST)/, $(LINUX_KERNEL)): $(DEST)/% : | ||
# get deb package | ||
wget -O $(DEST)/$(LINUX_KERNEL) $(LINUX_KERNEL_MRVL_URL) | ||
|
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
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
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
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
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