-
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.
[Marvell-arm64] Support lazy install of sdk drivers
This patch adds support for lazy install of Marvell prestera SDK drivers for platform-nokia. Lazy install for drivers is added as updated sdk driver needs to classify the drivers required for platform during compile time. SDK drivers and platform files are now fetched from a submodule(mrvl-prestera). Additionaly, DTB required for sonic_fit creation during compile time is sourced from sonic-linux-kernel. Change-Id: Id5b011e6bd67accf7b1579d91cb7affad464e916 Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
- Loading branch information
1 parent
caf0e18
commit e2773ef
Showing
16 changed files
with
25 additions
and
126 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
Submodule mrvl-prestera
added at
a5e93c
7 changes: 2 additions & 5 deletions
7
platform/marvell-arm64/prestera.mk → platform/marvell-arm64/mrvl-prestera.mk
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,11 +1,8 @@ | ||
# Marvell Prestera | ||
|
||
# Marvell Prestera platform package | ||
export MRVL_PRESTERA_VER = 1.0 | ||
export MRVL_PRESTERA = mrvlprestera_$(MRVL_PRESTERA_VER)_$(PLATFORM_ARCH) | ||
export MRVL_PRESTERA_DEB = $(MRVL_PRESTERA).deb | ||
export MRVL_PRESTERA_SRC_URL = https://github.com/Marvell-switching/mrvl-prestera.git | ||
export MRVL_PRESTERA_SRC_TAG = MRVL_PRESTERA_DRIVER_1.3 | ||
|
||
$(MRVL_PRESTERA_DEB)_SRC_PATH = $(PLATFORM_PATH)/prestera | ||
$(MRVL_PRESTERA_DEB)_SRC_PATH = $(PLATFORM_PATH)/mrvl-prestera | ||
$(MRVL_PRESTERA_DEB)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON) | ||
SONIC_DPKG_DEBS += $(MRVL_PRESTERA_DEB) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
platform/marvell-arm64/prestera/debian/mrvlprestera.install.template
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
33 changes: 0 additions & 33 deletions
33
platform/marvell-arm64/sonic-platform-nokia/7215/scripts/nokia-7215_plt_setup.sh
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
platform/marvell-arm64/sonic-platform-nokia/debian/sonic-platform-nokia-7215.install
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,4 +1,4 @@ | ||
7215/scripts/nokia-7215_plt_setup.sh usr/local/bin | ||
7215/scripts/nokia-7215-init.sh usr/local/bin | ||
7215/service/nokia-7215init.service etc/systemd/system | ||
7215/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/arm64-nokia_ixs7215_52xb-r0 | ||
../mrvl-prestera/platform/arm64/ac5x/* / |
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