summaryrefslogtreecommitdiffstats
path: root/create_kernel/create_kernel_arm64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_kernel/create_kernel_arm64.sh')
-rwxr-xr-xcreate_kernel/create_kernel_arm64.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/create_kernel/create_kernel_arm64.sh b/create_kernel/create_kernel_arm64.sh
index 1b83015..6e1fab3 100755
--- a/create_kernel/create_kernel_arm64.sh
+++ b/create_kernel/create_kernel_arm64.sh
@@ -1,6 +1,7 @@
#!/bin/dash
-KERNEL_VERSION=5.15.113
+KERNEL_VERSION=6.1.56
+#KERNEL_VERSION=5.15.113
#KERNEL_VERSION=4.4.187
#KERNEL_VERSION=4.9.120
#KERNEL_VERSION=4.14.63
@@ -21,15 +22,15 @@ if [ ! -f linux-$KERNEL_VERSION.tar.xz ]; then
fi
#echo "Unpack kernel"
-#mkdir -p linux-$KERNEL_VERSION-arm64
-#tar -xvf linux-$KERNEL_VERSION.tar.xz --strip-components=1 -C linux-$KERNEL_VERSION-arm64
-#echo "Copy config to kernel"
-#cp configs/$DEVICE_NAME/generic-$KERNEL_VERSION-arm64 ./linux-$KERNEL_VERSION-arm-arm64/.config
-#echo "Compile kernel"
+mkdir -p linux-$KERNEL_VERSION-arm64
+tar -xvf linux-$KERNEL_VERSION.tar.xz --strip-components=1 -C linux-$KERNEL_VERSION-arm64
+echo "Copy config to kernel"
+cp configs/$DEVICE_NAME/generic-$KERNEL_VERSION-arm64 ./linux-$KERNEL_VERSION-arm-arm64/.config
+echo "Compile kernel"
cd ./linux-$KERNEL_VERSION-arm64
#
#ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig
-#ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -j4
+ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -j4
#make -j4