From abce848b5fdb62ecbd65d6fd7fc724ef8d542b43 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 16 Jan 2025 16:54:00 +0100 Subject: [PATCH] Update OpenWRT for kernel 6.12 --- .../build/999-acpi_amd-on-kernel-6.11.patch | 18 ------------------ 6.12/target/linux/generic/config-6.12 | 2 ++ build.sh | 12 ++++++------ 3 files changed, 8 insertions(+), 24 deletions(-) delete mode 100644 6.12/package/kernel/mac80211/patches/build/999-acpi_amd-on-kernel-6.11.patch diff --git a/6.12/package/kernel/mac80211/patches/build/999-acpi_amd-on-kernel-6.11.patch b/6.12/package/kernel/mac80211/patches/build/999-acpi_amd-on-kernel-6.11.patch deleted file mode 100644 index d9075407..00000000 --- a/6.12/package/kernel/mac80211/patches/build/999-acpi_amd-on-kernel-6.11.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/backport-include/linux/acpi_amd_wbrf.h 2024-09-13 14:55:36.816379630 +0200 -+++ b/backport-include/linux/acpi_amd_wbrf.h 2024-09-13 14:55:47.792224160 +0200 -@@ -7,9 +7,6 @@ - #ifndef _ACPI_AMD_WBRF_H - #define _ACPI_AMD_WBRF_H - --#if LINUX_VERSION_IS_GEQ(6,8,0) --#include_next --#else - #include - #include - -@@ -82,5 +79,4 @@ - return -ENODEV; - } - --#endif /* >=6,8,0 */ - #endif /* _ACPI_AMD_WBRF_H */ diff --git a/6.12/target/linux/generic/config-6.12 b/6.12/target/linux/generic/config-6.12 index 31650044..06b7b309 100644 --- a/6.12/target/linux/generic/config-6.12 +++ b/6.12/target/linux/generic/config-6.12 @@ -8509,3 +8509,5 @@ CONFIG_PROC_MEM_ALWAYS_FORCE=y # CONFIG_QCOM_PMIC_PDCHARGER_ULOG is not set # CONFIG_QCOM_PBS is not set # CONFIG_CRYPTO_DEV_QCOM_RNG is not set +# CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV is not set +# CONFIG_VIDEO_SOLO6X10 is not set diff --git a/build.sh b/build.sh index 0a943182..1dc03b86 100755 --- a/build.sh +++ b/build.sh @@ -37,8 +37,8 @@ OMR_ALL_PACKAGES=${OMR_ALL_PACKAGES:-no} OMR_TARGET=${OMR_TARGET:-x86_64} OMR_TARGET_CONFIG="config-$OMR_TARGET" UPSTREAM=${UPSTREAM:-no} -#SYSLOG=${SYSLOG:-busybox-syslogd} -SYSLOG=${SYSLOG:-syslog-ng} +SYSLOG=${SYSLOG:-busybox-syslogd} +#SYSLOG=${SYSLOG:-syslog-ng} OMR_KERNEL=${OMR_KERNEL:-5.4} SHORTCUT_FE=${SHORTCUT_FE:-no} DISABLE_FAILSAFE=${DISABLE_FAILSAFE:-no} @@ -128,10 +128,10 @@ if [ "$ONLY_PREPARE" != "yes" ]; then _get_repo feeds/${OMR_KERNEL}/luci ${OMR_OPENWRT_GIT}/openwrt/luci "c9cc773449d71d930ed2fd1e4e8a1dd95d91ae25" _get_repo feeds/${OMR_KERNEL}/routing ${OMR_OPENWRT_GIT}/openwrt/routing "84d97e684bcb6a63dbfdfbfd9ec7407192861239" elif [ "$OMR_KERNEL" = "6.12" ]; then - _get_repo "$OMR_TARGET/${OMR_KERNEL}/source" ${OMR_OPENWRT_GIT}/openwrt/openwrt "285bdd29cb55900a2009e26303ab5abb66e165e9" - _get_repo feeds/${OMR_KERNEL}/packages ${OMR_OPENWRT_GIT}/openwrt/packages "73ebd4da5a1e2063571010dd26f75415a2f022d0" - _get_repo feeds/${OMR_KERNEL}/luci ${OMR_OPENWRT_GIT}/openwrt/luci "c9cc773449d71d930ed2fd1e4e8a1dd95d91ae25" - _get_repo feeds/${OMR_KERNEL}/routing ${OMR_OPENWRT_GIT}/openwrt/routing "5998119c5530fbd4ab844edee3c4da0ea4fec924" + _get_repo "$OMR_TARGET/${OMR_KERNEL}/source" ${OMR_OPENWRT_GIT}/openwrt/openwrt "0a7c8ed9d94930ba062c71df79f63c06eeab4543" + _get_repo feeds/${OMR_KERNEL}/packages ${OMR_OPENWRT_GIT}/openwrt/packages "b939b3e79392835b1c20865e61add02e8d9f2054" + _get_repo feeds/${OMR_KERNEL}/luci ${OMR_OPENWRT_GIT}/openwrt/luci "370e2479a77ffc35f095850cd56e3d6b866e990b" + _get_repo feeds/${OMR_KERNEL}/routing ${OMR_OPENWRT_GIT}/openwrt/routing "4a65e359c301d30b70e448e8c25c6edc9c909be5" fi elif [ "$OMR_OPENWRT" = "coolsnowwolfmix" ]; then _get_repo "$OMR_TARGET/${OMR_KERNEL}/source" ${OMR_OPENWRT_GIT}/coolsnowwolf/lede.git "master"