linux: bump default to version 4.8-rc5
Fabio Estevam
reviewerPATCH 1/4 linux: bump default to version 4.8-rc5
From: Fabio Estevam <[email protected]>
--- linux/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
linux/Config.in +2 -2
@@ -26,7 +26,7 @@ choice prompt "Kernel version" config BR2_LINUX_KERNEL_LATEST_VERSION - bool "Latest version (4.7.3)" + bool "Latest version (4.8-rc5)" config BR2_LINUX_KERNEL_CUSTOM_VERSION bool "Custom version"
@@ -97,7 +97,7 @@ endif config BR2_LINUX_KERNEL_VERSION string - default "4.7.3" if BR2_LINUX_KERNEL_LATEST_VERSION + default "4.8-rc5" if BR2_LINUX_KERNEL_LATEST_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ if BR2_LINUX_KERNEL_CUSTOM_VERSION default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 2/4 toolchain: add 4.8.x choice for headers
From: Fabio Estevam <[email protected]>
--- toolchain/toolchain-common.in | 5 +++++ toolchain/toolchain-external/Config.in | 4 ++++ 2 files changed, 9 insertions(+)
toolchain/toolchain-common.in +5 -0
@@ -222,10 +222,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "4.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 default "4.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 default "4.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 default "4.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
toolchain/toolchain-external/Config.in +4 -0
@@ -794,6 +794,10 @@ choice m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8 + bool "4.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 bool "4.7.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 3/4 linux-headers: bump default to version 4.8-rc5
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
--- package/linux-headers/Config.in.host | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
package/linux-headers/Config.in.host +10 -1
@@ -6,7 +6,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL - default BR2_KERNEL_HEADERS_4_7 + default BR2_KERNEL_HEADERS_4_8 help Select the kernel version to get headers from.
@@ -96,6 +96,10 @@ choice bool "Linux 4.7.x kernel headers" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + config BR2_KERNEL_HEADERS_4_8 + bool "Linux 4.8-rc kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + config BR2_KERNEL_HEADERS_VERSION bool "Manually specified Linux version" endchoice
@@ -116,6 +120,10 @@ choice This is used to hide/show some packages that have strict requirements on the version of kernel headers. +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8 + bool "4.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7 bool "4.7.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
@@ -250,4 +258,5 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.5.7" if BR2_KERNEL_HEADERS_4_5 default "4.6.7" if BR2_KERNEL_HEADERS_4_6 default "4.7.3" if BR2_KERNEL_HEADERS_4_7 + default "4.8-rc5" if BR2_KERNEL_HEADERS_4_8 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 4/4 imx6ulpico: Use kernel 4.8-rc5
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
With kernel 4.8-rc5 we no longer need to use the "CONFIG_SMP=n" workaround as the issue has been fixed upstream by commit 059e232089e4 ("irqchip/gic: Allow self-SGIs for SMP on UP configurations")
--- board/technexion/imx6ulpico/linux.fragment | 1 - configs/imx6ulpico_defconfig | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-)
board/technexion/imx6ulpico/linux.fragment +0 -1
@@ -1,2 +1 @@ CONFIG_CFG80211_WEXT=y -CONFIG_SMP=n
configs/imx6ulpico_defconfig +3 -3
@@ -2,8 +2,8 @@ BR2_arm=y BR2_cortex_a7=y -# Linux headers same as kernel, a 4.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y # system BR2_TARGET_GENERIC_GETTY_PORT="ttymxc5"
@@ -17,7 +17,7 @@ BR2_GLOBAL_PATCH_DIR="board/technexion/imx6ulpico/patches" # kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8-rc5" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/technexion/imx6ulpico/linux.fragment" BR2_LINUX_KERNEL_DTS_SUPPORT=y
Signature · 1 line
2.7.4
PATCH 1/4 linux: bump default to version 4.8-rc5
In reply to Fabio EstevamHello,
linux/Config.in choice · line 29
Quoted 3 lines · Fabio Estevam
config
BR2_LINUX_KERNEL_LATEST_VERSIONlinux/Config.in +1
-1- bool "Latest version (4.7.3)" + bool "Latest version (4.8-rc5)"
We never make this version point to a Linux release candidate, we use the latest stable version available.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 2/4 toolchain: add 4.8.x choice for headers
In reply to Fabio EstevamHello,
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>--- toolchain/toolchain-common.in | 5 +++++ toolchain/toolchain-external/Config.in | 4 ++++ 2 files changed, 9 insertions(+)
This lacks the update to package/linux-headers/Config.in.host. I know it's in PATCH 3/4, but PATCH 3/4 is not correct as it uses the kernel headers from a release candidate as the default kernel headers, which we never do.
However, we could merge the support for 4.8 kernel headers for those who point to a custom kernel version, but for this, this patch should gain some of the changes to package/linux-headers/Config.in.
Thoms
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com