-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Sonic arm64 changes #3419
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
Merged
Merged
Sonic arm64 changes #3419
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d40a0ed
[Makefile] ARM64 changes
5a86ebd
[Makefile] ARM64 changes
88a24f2
Merge branch 'sonic_arm64_changes' of https://github.com/antony-rhene…
antony-rheneus c25b39b
Merge branch 'master' of https://github.com/Azure/sonic-buildimage in…
antony-rheneus 0742a86
[Makefile] Marvell arm64 kernel update
antony-rheneus c4f9906
[Makefile] removed sudo from target
antony-rheneus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.