Skip to content

Commit

Permalink
[marvell-armhf]: Enable SDK module for bookworm (#17110)
Browse files Browse the repository at this point in the history
* Enable SDK modules for Bookworm
* Update SAI deb to 1.13.0-1



Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
  • Loading branch information
pavannaregundi authored and yxieca committed Nov 22, 2023
1 parent c688020 commit a4cfe25
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion platform/marvell-armhf/prestera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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.4
export MRVL_PRESTERA_SRC_TAG = MRVL_PRESTERA_DRIVER_1.7

$(MRVL_PRESTERA_DEB)_SRC_PATH = $(PLATFORM_PATH)/prestera
$(MRVL_PRESTERA_DEB)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
mrvl-prestera/drivers/armhf/cpssEnabler/linuxNoKernelModule/drivers/mvDmaDrv.ko /lib/modules/KVERSION/kernel/extra
mrvl-prestera/drivers/armhf/cpssEnabler/linuxNoKernelModule/drivers/mvIntDrv.ko /lib/modules/KVERSION/kernel/extra
mrvl-prestera/drivers/armhf/cpssEnabler/linuxNoKernelModule/drivers/mvcpss.ko /lib/modules/KVERSION/kernel/extra
mrvl-prestera/platform/armhf/* /
4 changes: 2 additions & 2 deletions platform/marvell-armhf/prestera/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MOD_SRC_DIR:= $(shell pwd)
MODULE_DIR := mrvl-prestera/drivers/armhf/cpssEnabler/linuxNoKernelModule/drivers

%:
dh $@ --with systemd,python2,python3 --buildsystem=pybuild
dh $@ --with systemd,python3 --buildsystem=pybuild

clean:
dh_testdir
Expand All @@ -25,7 +25,7 @@ build:
cd mrvl-prestera && git checkout ${MRVL_PRESTERA_SRC_TAG} && cd ..
sed "s/KVERSION/${KVERSION}/g" /sonic/platform/marvell-armhf/prestera/debian/mrvlprestera.install.template > /sonic/platform/marvell-armhf/prestera/debian/mrvlprestera.install

make modules -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$(MODULE_DIR)/
make modules -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$(MODULE_DIR)/ CONFIG_KM_MVPCI=y CONFIG_KM_MVDMA=y CONFIG_KM_MVINT=y

binary: binary-arch binary-indep
# Nothing to do
Expand Down
2 changes: 1 addition & 1 deletion platform/marvell-armhf/sai.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Marvell SAI

export MRVL_SAI_VERSION = 1.12.0-2
export MRVL_SAI_VERSION = 1.13.0-1
export MRVL_SAI = mrvllibsai_$(MRVL_SAI_VERSION)_$(PLATFORM_ARCH).deb

$(MRVL_SAI)_SRC_PATH = $(PLATFORM_PATH)/sai
Expand Down

0 comments on commit a4cfe25

Please sign in to comment.