diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-08-30 20:02:14 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-08-30 20:02:14 +0200 |
commit | 78c43c2078e292ac9b53d2d6a41a47466d283914 (patch) | |
tree | 10de8cde8fb468aff16e8f2f31c2a1f19188f15f /packages/linux-kernel/build-intel-qat.sh | |
parent | 1175a62b346475174e0527c8d7c6d32ce30e5e87 (diff) | |
download | vyos-build-78c43c2078e292ac9b53d2d6a41a47466d283914.tar.gz vyos-build-78c43c2078e292ac9b53d2d6a41a47466d283914.zip |
Kernel: T2843: upgrade Kernel to v5.8.5
Note: Intel does not provide a compatible QAT version. There is a custom patch
which make QAT compile for the specified Kernel version. This patch will change
the source to a non backwards-compatible version - this is fine as we run 5.8
anyways.
Diffstat (limited to 'packages/linux-kernel/build-intel-qat.sh')
-rwxr-xr-x | packages/linux-kernel/build-intel-qat.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh index d4da3a4e..1244273e 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.10.0-00014.tar.gz" ) for url in "${intel[@]}" @@ -50,6 +50,15 @@ do exit 1 fi + # Intel QAT drivers are not ported to the latest Linux Kernel API :( + # this is done by our custom patch. + PATCH_DIR=${CWD}/patches/intel-qat + for patch in $(ls ${PATCH_DIR}) + do + echo "I: Apply Intel QAT patch: ${PATCH_DIR}/${patch}" + patch -p1 < ${PATCH_DIR}/${patch} + done + 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 KERNEL_SOURCE_ROOT=${KERNEL_DIR} ./configure --enable-kapi |