[Marvell] Update armhf driver version (#15138)
Changes in MRVL_PRESTERA_DRIVER_1.4: - Memory leak fixed by releasing pci device after retrieval. - Fixes for 5.10 kernel porting. Change-Id: I1d7ee4ec02ec17a29ddb8473725ab68ca399748b Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
This commit is contained in:
parent
ff4be8e8bc
commit
bdc1d7ac35
@ -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.2
|
||||
export MRVL_PRESTERA_SRC_TAG = MRVL_PRESTERA_DRIVER_1.4
|
||||
|
||||
$(MRVL_PRESTERA_DEB)_SRC_PATH = $(PLATFORM_PATH)/prestera
|
||||
$(MRVL_PRESTERA_DEB)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
|
||||
|
@ -1,3 +1,3 @@
|
||||
mrvl-prestera/cpssEnabler/linuxNoKernelModule/drivers/mvDmaDrv.ko /lib/modules/KVERSION/kernel/extra
|
||||
mrvl-prestera/cpssEnabler/linuxNoKernelModule/drivers/mvIntDrv.ko /lib/modules/KVERSION/kernel/extra
|
||||
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/platform/armhf/* /
|
||||
|
@ -8,7 +8,7 @@ KVERSION ?= $(shell uname -r)
|
||||
endif
|
||||
KERNEL_SRC := /lib/modules/$(KVERSION)
|
||||
MOD_SRC_DIR:= $(shell pwd)
|
||||
MODULE_DIR := mrvl-prestera/cpssEnabler/linuxNoKernelModule/drivers
|
||||
MODULE_DIR := mrvl-prestera/drivers/armhf/cpssEnabler/linuxNoKernelModule/drivers
|
||||
|
||||
%:
|
||||
dh $@ --with systemd,python2,python3 --buildsystem=pybuild
|
||||
@ -21,9 +21,9 @@ clean:
|
||||
build:
|
||||
# get sources
|
||||
rm -rf mrvl-prestera || true
|
||||
git clone -b ${MRVL_PRESTERA_SRC_TAG} ${MRVL_PRESTERA_SRC_URL}
|
||||
git clone ${MRVL_PRESTERA_SRC_URL}
|
||||
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
|
||||
sed -i "s/4,11,0)/4,11,0) \&\& LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0)/g" /sonic/platform/marvell-armhf/prestera/mrvl-prestera/cpssEnabler/linuxNoKernelModule/drivers/dmaDriver.c
|
||||
|
||||
make modules -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$(MODULE_DIR)/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user