Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5
@ 2016-09-09 17:18 Fabio Estevam
  2016-09-09 17:18 ` [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fabio Estevam @ 2016-09-09 17:18 UTC (permalink / raw)
  To: buildroot

From: Fabio Estevam <fabio.estevam@nxp.com>

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 linux/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux/Config.in b/linux/Config.in
index fd6b4b3..84fd38f 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers
  2016-09-09 17:18 [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Fabio Estevam
@ 2016-09-09 17:18 ` Fabio Estevam
  2016-09-11 13:58   ` Thomas Petazzoni
  2016-09-09 17:18 ` [Buildroot] [PATCH 3/4] linux-headers: bump default to version 4.8-rc5 Fabio Estevam
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2016-09-09 17:18 UTC (permalink / raw)
  To: buildroot

From: Fabio Estevam <fabio.estevam@nxp.com>

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 toolchain/toolchain-common.in          | 5 +++++
 toolchain/toolchain-external/Config.in | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 03fa880..cef5a83 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -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
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 63b7712..c3822ed 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/4] linux-headers: bump default to version 4.8-rc5
  2016-09-09 17:18 [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Fabio Estevam
  2016-09-09 17:18 ` [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers Fabio Estevam
@ 2016-09-09 17:18 ` Fabio Estevam
  2016-09-09 17:18 ` [Buildroot] [PATCH 4/4] imx6ulpico: Use kernel 4.8-rc5 Fabio Estevam
  2016-09-11 13:55 ` [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Thomas Petazzoni
  3 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2016-09-09 17:18 UTC (permalink / raw)
  To: buildroot

From: Fabio Estevam <fabio.estevam@nxp.com>

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 package/linux-headers/Config.in.host | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 9d8f030..cf03119 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 4/4] imx6ulpico: Use kernel 4.8-rc5
  2016-09-09 17:18 [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Fabio Estevam
  2016-09-09 17:18 ` [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers Fabio Estevam
  2016-09-09 17:18 ` [Buildroot] [PATCH 3/4] linux-headers: bump default to version 4.8-rc5 Fabio Estevam
@ 2016-09-09 17:18 ` Fabio Estevam
  2016-09-11 13:55 ` [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Thomas Petazzoni
  3 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2016-09-09 17:18 UTC (permalink / raw)
  To: buildroot

From: Fabio Estevam <fabio.estevam@nxp.com>

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")

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/technexion/imx6ulpico/linux.fragment | 1 -
 configs/imx6ulpico_defconfig               | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/board/technexion/imx6ulpico/linux.fragment b/board/technexion/imx6ulpico/linux.fragment
index 88e323e..892d0cb 100644
--- a/board/technexion/imx6ulpico/linux.fragment
+++ b/board/technexion/imx6ulpico/linux.fragment
@@ -1,2 +1 @@
 CONFIG_CFG80211_WEXT=y
-CONFIG_SMP=n
diff --git a/configs/imx6ulpico_defconfig b/configs/imx6ulpico_defconfig
index 8406226..02507c9 100644
--- a/configs/imx6ulpico_defconfig
+++ b/configs/imx6ulpico_defconfig
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5
  2016-09-09 17:18 [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Fabio Estevam
                   ` (2 preceding siblings ...)
  2016-09-09 17:18 ` [Buildroot] [PATCH 4/4] imx6ulpico: Use kernel 4.8-rc5 Fabio Estevam
@ 2016-09-11 13:55 ` Thomas Petazzoni
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-09-11 13:55 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  9 Sep 2016 14:18:14 -0300, Fabio Estevam wrote:

>  config BR2_LINUX_KERNEL_LATEST_VERSION
> -	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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers
  2016-09-09 17:18 ` [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers Fabio Estevam
@ 2016-09-11 13:58   ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-09-11 13:58 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  9 Sep 2016 14:18:15 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-11 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 17:18 [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Fabio Estevam
2016-09-09 17:18 ` [Buildroot] [PATCH 2/4] toolchain: add 4.8.x choice for headers Fabio Estevam
2016-09-11 13:58   ` Thomas Petazzoni
2016-09-09 17:18 ` [Buildroot] [PATCH 3/4] linux-headers: bump default to version 4.8-rc5 Fabio Estevam
2016-09-09 17:18 ` [Buildroot] [PATCH 4/4] imx6ulpico: Use kernel 4.8-rc5 Fabio Estevam
2016-09-11 13:55 ` [Buildroot] [PATCH 1/4] linux: bump default to version 4.8-rc5 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox