summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-intel-qat.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-30 19:57:39 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-31 13:14:09 +0000
commit21b441b75a8e96628751a9b12a10660947752ad0 (patch)
treec1ec7a93ae4a7db39efb8e438905b28201c1c8b5 /packages/linux-kernel/build-intel-qat.sh
parent629814dea2e558fb4d28b786ac92850c14f76cd5 (diff)
downloadvyos-build-21b441b75a8e96628751a9b12a10660947752ad0.tar.gz
vyos-build-21b441b75a8e96628751a9b12a10660947752ad0.zip
QAT: update to 1.7.l.4.12.0
Diffstat (limited to 'packages/linux-kernel/build-intel-qat.sh')
-rwxr-xr-xpackages/linux-kernel/build-intel-qat.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh
index 795c452..f494f0c 100755
--- a/packages/linux-kernel/build-intel-qat.sh
+++ b/packages/linux-kernel/build-intel-qat.sh
@@ -10,7 +10,7 @@ fi
. ${KERNEL_VAR_FILE}
declare -a intel=(
- "https://01.org/sites/default/files/downloads/qat1.7.l.4.9.0-00008.tar_0.gz"
+ "https://01.org/sites/default/files/downloads/qat1.7.l.4.12.0-00011.tar.gz"
)
for url in "${intel[@]}"
@@ -52,20 +52,24 @@ do
fi
echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver"
- mkdir -p ${DEBIAN_DIR}/lib/firmware ${DEBIAN_DIR}/usr/local/bin ${DEBIAN_DIR}/usr/lib/x86_64-linux-gnu ${DEBIAN_DIR}/etc/init.d
+ mkdir -p \
+ ${DEBIAN_DIR}/lib/firmware \
+ ${DEBIAN_DIR}/usr/sbin \
+ ${DEBIAN_DIR}/usr/lib/x86_64-linux-gnu \
+ ${DEBIAN_DIR}/etc/init.d
KERNEL_SOURCE_ROOT=${KERNEL_DIR} ./configure --enable-kapi --enable-qat-lkcf
make -j $(getconf _NPROCESSORS_ONLN) all
make INSTALL_MOD_PATH=${DEBIAN_DIR} INSTALL_FW_PATH=${DEBIAN_DIR} \
- qat-driver-install
+ qat-driver-install adf-ctl-all
if [ "x$?" != "x0" ]; then
exit 1
fi
- cp build/*.bin ${DEBIAN_DIR}/lib/firmware
+ cp quickassist/qat/fw/*.bin ${DEBIAN_DIR}/lib/firmware
cp build/*.so ${DEBIAN_DIR}/usr/lib/x86_64-linux-gnu
- cp build/qat_service ${DEBIAN_DIR}/etc/init.d
- cp build/adf_ctl ${DEBIAN_DIR}/usr/local/bin
+ cp build/adf_ctl ${DEBIAN_DIR}/usr/sbin
+ cp quickassist/build_system/build_files/qat_service ${DEBIAN_DIR}/etc/init.d
cp build/usdm_drv.ko ${DEBIAN_DIR}/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/updates/drivers
chmod 644 ${DEBIAN_DIR}/lib/firmware/*
chmod 755 ${DEBIAN_DIR}/etc/init.d/* ${DEBIAN_DIR}/usr/local/bin/*