From d204e81041d2f79ae6c08d95e164538f4d4cbb5e Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Wed, 9 Sep 2026 02:35:27 +0700 Subject: feat: optimize kernel for Qualcomm Oryon v1 CPUs --- config/base-aarch64.config | 5 +++-- kernel-surface.spec | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/base-aarch64.config b/config/base-aarch64.config index 449031b..ed863d0 100644 --- a/config/base-aarch64.config +++ b/config/base-aarch64.config @@ -3,8 +3,9 @@ # kernel-core-7.2.4-300.fc45.aarch64.rpm: # # dnf download kernel-core --arch aarch64 -# rpm2cpio kernel-core-*.aarch64.rpm | -# cpio -idm './usr/lib/modules/*/config' +# rpm2archive -n - < kernel-core-*.aarch64.rpm | +# tar -xO --wildcards '*/modules/*/config' | +# wl-copy # # It is vendored rather than downloaded so the build has no dependency on a # third-party host, and so the base config is reviewable in a diff when it is diff --git a/kernel-surface.spec b/kernel-surface.spec index d5b91df..9a05a61 100644 --- a/kernel-surface.spec +++ b/kernel-surface.spec @@ -193,6 +193,7 @@ test "${kernelrelease}" = "%{kverrel}" || { } %build +export KCFLAGS="-mcpu=oryon-1" %make_build ARCH=arm64 Image modules dtbs %install @@ -247,6 +248,9 @@ fi %ghost %attr(0644,root,root) /boot/vmlinuz-%{kverrel} %changelog +* Wed Sep 09 2026 Saya Andy 7.2.4-2 +- Compile kernel specifically for Oryon v1 instruction set (Snapdragon X1 cpu) + * Tue Sep 08 2026 Saya Andy 7.2.4-1 - Update Linux kernel from 7.2.3 to 7.2.4 -- cgit v1.3.1+17