Skip to contentSkip to conversation

{linux, linux-headers}: bump 5.{10, 15}.x / 6.{1, 6, 12, 17}.x series

PATCH In review Bernd Kuhls 2 participants 5 messages Dec 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 {linux, linux-headers}: bump 5.{10, 15}.x / 6.{1, 6, 12, 17}.x series

---
 linux/Config.in                      |  2 +-
 linux/linux.hash                     | 12 ++++++------
 package/linux-headers/Config.in.host | 12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)
linux/Config.in +1 -1
index 78483c9b48..bde36d33ec 100644
@@ -141,7 +141,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "6.17.10" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "6.17.11" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
linux/linux.hash +6 -6
index bca5756926..fcb5bdb113 100644
@@ -1,11 +1,11 @@
 # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
-sha256  fa7f344f3a50dad0af2e0066d51bd3b9183fd24587861042343ded3d1fd5c8cd  linux-6.17.10.tar.xz
-sha256  a63096b2147411d683cecbf87622bb2ff4885bac2b3641d3d4f10250c89cdcf8  linux-6.12.60.tar.xz
-sha256  4bdddce35474afc8d26f74ebfbcd0e1045ecd15f69e60f53529dba143374b17d  linux-6.6.118.tar.xz
-sha256  ad068bfdb604ec0f4f7de385c8e7ab944008aa78a4aeeca94f53206e6726bfda  linux-6.1.158.tar.xz
+sha256  934b18af0125f114907bad482d7c5a97d58038970b9dce6162318e920caf257e  linux-6.17.11.tar.xz
+sha256  1a69745105528676f12f29dc2494945d96cb23666dcc5223794abc22415f1735  linux-6.12.61.tar.xz
+sha256  3da09b980bb404cc28793479bb2d6c636522679215ffa65a04c893575253e5e8  linux-6.6.119.tar.xz
+sha256  1f207ebe93980829ecc0a18b694816f22b715e9893767731651969a168342b9e  linux-6.1.159.tar.xz
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-sha256  83157953598b026fb721c906c60dfdfd8e986f25ecb9910f3504f690e2770e05  linux-5.15.196.tar.xz
-sha256  eb6b76c269d2dc09791638b10b9dcb9d79fd2abd45113a31fc03f68731caa875  linux-5.10.246.tar.xz
+sha256  fd218df8e2107a4443b6c29fef7f95aad167031e0fbdbc7a858ae8471360668a  linux-5.15.197.tar.xz
+sha256  70c8b87ba1fcd8bfa663661934dc9bda92d0b5f3c0fc3197bb56399f69d9fe0c  linux-5.10.247.tar.xz
 sha256  ae6a3207f12aa4d6cfb0fa793ec9da4a6fcdfdcb57d869d63d6b77e3a8c1423d  linux-5.4.302.tar.xz
 # Locally computed
 sha256  fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae  linux-cip-5.10.162-cip24.tar.gz
package/linux-headers/Config.in.host +6 -6
index 79e73dab3f..a53f1a36bd 100644
@@ -459,12 +459,12 @@ endchoice
 config BR2_DEFAULT_KERNEL_HEADERS
 	string
 	default "5.4.302"	if BR2_KERNEL_HEADERS_5_4
-	default "5.10.246"	if BR2_KERNEL_HEADERS_5_10
-	default "5.15.196"	if BR2_KERNEL_HEADERS_5_15
-	default "6.1.158"	if BR2_KERNEL_HEADERS_6_1
-	default "6.6.118"	if BR2_KERNEL_HEADERS_6_6
-	default "6.12.60"	if BR2_KERNEL_HEADERS_6_12
-	default "6.17.10"	if BR2_KERNEL_HEADERS_6_17
+	default "5.10.247"	if BR2_KERNEL_HEADERS_5_10
+	default "5.15.197"	if BR2_KERNEL_HEADERS_5_15
+	default "6.1.159"	if BR2_KERNEL_HEADERS_6_1
+	default "6.6.119"	if BR2_KERNEL_HEADERS_6_6
+	default "6.12.61"	if BR2_KERNEL_HEADERS_6_12
+	default "6.17.11"	if BR2_KERNEL_HEADERS_6_17
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
 	default "custom"	if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
 	default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 {toolchain, linux-headers}: add support for 6.18 headers

And add (and default to) 6.18 to linux-headers.

---
 linux/linux.hash                                    |  1 +
 package/linux-headers/Config.in.host                | 13 +++++++++++--
 toolchain/Config.in                                 |  5 +++++
 .../toolchain-external-custom/Config.in.options     |  6 +++++-
 4 files changed, 22 insertions(+), 3 deletions(-)
linux/linux.hash +1 -0
index fcb5bdb113..d14de29189 100644
@@ -1,4 +1,5 @@
 # From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  9106a4605da9e31ff17659d958782b815f9591ab308d03b0ee21aad6c7dced4b  linux-6.18.tar.xz
 sha256  934b18af0125f114907bad482d7c5a97d58038970b9dce6162318e920caf257e  linux-6.17.11.tar.xz
 sha256  1a69745105528676f12f29dc2494945d96cb23666dcc5223794abc22415f1735  linux-6.12.61.tar.xz
 sha256  3da09b980bb404cc28793479bb2d6c636522679215ffa65a04c893575253e5e8  linux-6.6.119.tar.xz
package/linux-headers/Config.in.host +11 -2
index a53f1a36bd..f4c440fe3f 100644
@@ -3,7 +3,7 @@ comment "Kernel Header Options"
 choice
 	prompt "Kernel Headers"
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
-	default BR2_KERNEL_HEADERS_6_17
+	default BR2_KERNEL_HEADERS_6_18
 	help
 	  Select the kernel version to get headers from.
 
@@ -57,6 +57,10 @@ config BR2_KERNEL_HEADERS_6_12
 config BR2_KERNEL_HEADERS_6_17
 	bool "Linux 6.17.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
+
+config BR2_KERNEL_HEADERS_6_18
+	bool "Linux 6.18.x kernel headers"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
 	select BR2_KERNEL_HEADERS_LATEST
 
 config BR2_KERNEL_HEADERS_VERSION
@@ -135,8 +139,12 @@ choice
 	  If your kernel headers are more recent than the latest version
 	  in the choice, then select the latest version.
 
+config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18
+	bool "6.18.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_17
-	bool "6.17.x or later"
+	bool "6.17.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
 
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_16
@@ -465,6 +473,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "6.6.119"	if BR2_KERNEL_HEADERS_6_6
 	default "6.12.61"	if BR2_KERNEL_HEADERS_6_12
 	default "6.17.11"	if BR2_KERNEL_HEADERS_6_17
+	default "6.18"		if BR2_KERNEL_HEADERS_6_18
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
 	default "custom"	if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
 	default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
toolchain/Config.in +5 -0
index 5fcc9362ba..8330e652c2 100644
@@ -675,6 +675,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
+
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
 	select BR2_TOOLCHAIN_HEADERS_LATEST
 
 # This should be selected by the latest version, above, to indicate that
@@ -688,6 +692,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
 	string
+	default "6.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
 	default "6.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
 	default "6.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_16
 	default "6.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +5 -1
index 9855b33ade..6991b899be 100644
@@ -173,8 +173,12 @@ choice
 	  If your toolchain uses headers newer than the latest version
 	  in the choice, then select the latest version.
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_18
+	bool "6.18.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_17
-	bool "6.17.x or later"
+	bool "6.17.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17
 
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_16
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/4 linux: bump latest version to 6.18

In reply to Bernd Kuhls

For an overview of changes in 6.18, see:
https://kernelnewbies.org/Linux_6.18

---
 linux/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
linux/Config.in +3 -3
index bde36d33ec..1b1c9049cf 100644
@@ -28,8 +28,8 @@ choice
 	prompt "Kernel version"
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "Latest version (6.17)"
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_17 if BR2_KERNEL_HEADERS_AS_KERNEL
+	bool "Latest version (6.18)"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18 if BR2_KERNEL_HEADERS_AS_KERNEL
 	# mips always generates an ITB image
 	select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 	select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
@@ -141,7 +141,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "6.17.11" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "6.18" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 4/4 package/linux-headers: drop 5.4.x option

In reply to Bernd Kuhls

The 5.4.x series is now EOL upstream, so drop the linux-headers option and add legacy handling for it.

Bump kernel version in test_zfs.py.

---
 Config.in.legacy                          | 7 +++++++
 linux/linux.hash                          | 1 -
 package/linux-headers/Config.in.host      | 7 -------
 support/testing/tests/package/test_zfs.py | 2 +-
 4 files changed, 8 insertions(+), 9 deletions(-)
Config.in.legacy +7 -0
index 81396a2ce7..64151b2f44 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2025.11"
 
+config BR2_KERNEL_HEADERS_5_4
+	bool "kernel headers version 5.4.x are no longer supported"
+	select BR2_LEGACY
+	help
+	  Version 5.4.x of the Linux kernel headers are no longer
+	  maintained upstream and are now removed.
+
 config BR2_PACKAGE_LIBARGTABLE2
 	bool "libargtable2 has been removed"
 	select BR2_LEGACY
linux/linux.hash +0 -1
index d14de29189..d82ccf83c3 100644
@@ -7,7 +7,6 @@ sha256  1f207ebe93980829ecc0a18b694816f22b715e9893767731651969a168342b9e  linux-
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
 sha256  fd218df8e2107a4443b6c29fef7f95aad167031e0fbdbc7a858ae8471360668a  linux-5.15.197.tar.xz
 sha256  70c8b87ba1fcd8bfa663661934dc9bda92d0b5f3c0fc3197bb56399f69d9fe0c  linux-5.10.247.tar.xz
-sha256  ae6a3207f12aa4d6cfb0fa793ec9da4a6fcdfdcb57d869d63d6b77e3a8c1423d  linux-5.4.302.tar.xz
 # Locally computed
 sha256  fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae  linux-cip-5.10.162-cip24.tar.gz
 sha256  b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441  linux-cip-5.10.162-cip24-rt10.tar.gz
package/linux-headers/Config.in.host +0 -7
index f4c440fe3f..412232a571 100644
@@ -24,12 +24,6 @@ config BR2_KERNEL_HEADERS_AS_KERNEL
 	depends on BR2_LINUX_KERNEL
 	select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION
 
-config BR2_KERNEL_HEADERS_5_4
-	bool "Linux 5.4.x kernel headers"
-	# Support was introduced in Linux 5.19
-	depends on !BR2_loongarch64
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
-
 config BR2_KERNEL_HEADERS_5_10
 	bool "Linux 5.10.x kernel headers"
 	# Support was introduced in Linux 5.19
@@ -466,7 +460,6 @@ endchoice
 
 config BR2_DEFAULT_KERNEL_HEADERS
 	string
-	default "5.4.302"	if BR2_KERNEL_HEADERS_5_4
 	default "5.10.247"	if BR2_KERNEL_HEADERS_5_10
 	default "5.15.197"	if BR2_KERNEL_HEADERS_5_15
 	default "6.1.159"	if BR2_KERNEL_HEADERS_6_1
support/testing/tests/package/test_zfs.py +1 -1
index c218cc36a8..698d8d8bbd 100644
@@ -81,7 +81,7 @@ class TestZfsUclibc(TestZfsBase):
     config = config.replace('BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y\n', '') + \
         """
         BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
-        BR2_KERNEL_HEADERS_5_4=y
+        BR2_KERNEL_HEADERS_5_10=y
         BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
         BR2_PTHREAD_DEBUG=y
         BR2_TOOLCHAIN_BUILDROOT_CXX=y
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot