diff --git a/core/linux-aarch64/60-linux.hook b/core/linux-aarch64/60-linux.hook index b33873c85..584ce3537 100644 --- a/core/linux-aarch64/60-linux.hook +++ b/core/linux-aarch64/60-linux.hook @@ -4,7 +4,6 @@ Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/modules/%KERNVER%/* -Target = usr/lib/modules/%EXTRAMODULES%/* [Action] Description = Updating %PKGBASE% module dependencies... diff --git a/core/linux-aarch64/PKGBUILD b/core/linux-aarch64/PKGBUILD index e74cf3439..94526997c 100644 --- a/core/linux-aarch64/PKGBUILD +++ b/core/linux-aarch64/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=linux-aarch64 _srcname=linux-5.15 _kernelname=${pkgbase#linux} _desc="AArch64 multi-platform" -pkgver=5.15.5 +pkgver=5.15.13 pkgrel=1 arch=('aarch64') url="http://www.kernel.org/" @@ -26,19 +26,24 @@ source=("http://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz" '60-linux.hook' '90-linux.hook') md5sums=('071d49ff4e020d58c04f9f3f76d3b594' - '532a136dcabc2a416afeaedc4108209f' + '930441d97e2edcd67e5fe2f05dec645d' '21d3e833437461aed3b6ca68b5d8afa0' 'd679f49645578a193d6e3c220787a40d' - '2f0cb91f0749c9947ef8fcd5063e888a' + '21f9511feeeb0d06d2edf28a29bd059e' '7c97cf141750ad810235b1ad06eb9f75' '61c5ff73c136ed07a7aadbf58db3d96a' '584777ae88bce2c5659960151b64c7d8' '41cb5fef62715ead2dd109dbea8413d6' - 'ce6c81ad1ad1f8b333fd6077d47abdaf' + '0a5f16bfec6ad982a2f6782724cca8ba' '3dc88030a8f2f5a5f97266d99b149f77') prepare() { - cd ${_srcname} + cd $_srcname + + echo "Setting version..." + scripts/setlocalversion --save-scmversion + echo "-$pkgrel" > localversion.10-pkgrel + echo "${pkgbase#linux}" > localversion.20-pkgname # add upstream patch git apply --whitespace=nowarn ../patch-${pkgver} @@ -48,12 +53,6 @@ prepare() { git apply ../0002-arm64-dts-rockchip-disable-pwm0-on-rk3399-firefly.patch cat "${srcdir}/config" > ./.config - - # add pkgrel to extraversion - sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh } build() { @@ -61,26 +60,7 @@ build() { # get kernel version make prepare - - # load configuration - # Configure the kernel. Replace the line below with one of your choice. - #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration - #make xconfig # X-based configuration - #make oldconfig # using old config from previous kernel version - # ... or manually edit .config - - # Copy back our configuration (use with new kernel version) - #cp ./.config ../${pkgbase}.config - - #################### - # stop here - # this is useful to configure the kernel - #msg "Stopping build" - #return 1 - #################### - - #yes "" | make config + make -s kernelrelease > version # build! unset LDFLAGS @@ -99,39 +79,24 @@ _package() { backup=("etc/mkinitcpio.d/${pkgbase}.preset") install=${pkgname}.install - cd ${_srcname} + cd $_srcname + local kernver="$( kernel.its + lz4 -20 -z -f -m ${image} + echo ${chromebook_dtbs[@]} | ../generate_chromebook_its.sh ${image}.lz4 arm64 lz4 > kernel.its mkimage -D "-I dts -O dtb -p 2048" -f kernel.its vmlinux.uimg dd if=/dev/zero of=bootloader.bin bs=512 count=1 diff --git a/core/linux-aarch64/config b/core/linux-aarch64/config index 81c73ce03..c455f718f 100644 --- a/core/linux-aarch64/config +++ b/core/linux-aarch64/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.15.5-1 Kernel Configuration +# Linux/arm64 5.15.13 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0" CONFIG_CC_IS_GCC=y @@ -792,9 +792,9 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_MODULE_SIG is not set # CONFIG_MODULE_COMPRESS_NONE is not set -CONFIG_MODULE_COMPRESS_GZIP=y +# CONFIG_MODULE_COMPRESS_GZIP is not set # CONFIG_MODULE_COMPRESS_XZ is not set -# CONFIG_MODULE_COMPRESS_ZSTD is not set +CONFIG_MODULE_COMPRESS_ZSTD=y # CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set CONFIG_MODPROBE_PATH="/sbin/modprobe" # CONFIG_TRIM_UNUSED_KSYMS is not set @@ -3108,7 +3108,10 @@ CONFIG_NET_VENDOR_NETERION=y # CONFIG_S2IO is not set # CONFIG_VXGE is not set CONFIG_NET_VENDOR_NETRONOME=y -# CONFIG_NFP is not set +CONFIG_NFP=m +CONFIG_NFP_APP_FLOWER=y +CONFIG_NFP_APP_ABM_NIC=y +# CONFIG_NFP_DEBUG is not set CONFIG_NET_VENDOR_NI=y # CONFIG_NI_XGE_MANAGEMENT_ENET is not set CONFIG_NET_VENDOR_8390=y