* [Buildroot] [PATCH 0/3] Linux kernel 5.0 support
@ 2019-03-19 0:06 Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 1/3] package/linux-headers: add support for Linux 5.0 kernel headers Joel Stanley
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Joel Stanley @ 2019-03-19 0:06 UTC (permalink / raw)
To: buildroot
Joel Stanley (3):
package/linux-headers: add support for Linux 5.0 kernel headers
toolchain: Add necessary options to support 5.0 kernel headers
linux: add support for Linux 5.0
linux/Config.in | 6 ++----
linux/linux.hash | 2 ++
package/linux-headers/Config.in.host | 13 ++++++++++---
toolchain/Config.in | 5 +++++
4 files changed, 19 insertions(+), 7 deletions(-)
--
2.20.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/3] package/linux-headers: add support for Linux 5.0 kernel headers
2019-03-19 0:06 [Buildroot] [PATCH 0/3] Linux kernel 5.0 support Joel Stanley
@ 2019-03-19 0:06 ` Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support " Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 3/3] linux: add support for Linux 5.0 Joel Stanley
2 siblings, 0 replies; 5+ messages in thread
From: Joel Stanley @ 2019-03-19 0:06 UTC (permalink / raw)
To: buildroot
This sets 5.0 to be the default, moving from 4.19 which was used instead
of 4.20 for the LTS branch.
We need to update linux/linux.hash as part of this commit, because
package/linux-headers/linux-headers.hash is a symlink to
linux/linux.hash.
Signed-off-by: Joel Stanley <joel@jms.id.au>
--
I kept Thomas' message about the hash as a reminder. We could drop that
text.
---
linux/linux.hash | 2 ++
| 13 ++++++++++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/linux/linux.hash b/linux/linux.hash
index d7ddd1c87788..5f71e377f423 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -1,3 +1,5 @@
+# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
+sha256 43bfea3a6b24b4e5f63190409a199bee8cb93dbea01c52ad7f017078ebdf7c9b linux-5.0.2.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
sha256 1cf544308195250805e0731c716691bea4c1ed29e03e6f9ae5be6dc16785a504 linux-4.20.12.tar.xz
sha256 7ec71d90d6e96e6f741676d157ac06f30c75be4eaf1649143a3c8b7d4f919731 linux-4.19.25.tar.xz
--git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 15574689fa46..d04ccff8580b 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -6,9 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
choice
prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
- # We are intentionally staying at 4.19 for the next Buildroot
- # LTS release (2019.02)
- default BR2_KERNEL_HEADERS_4_19
+ default BR2_KERNEL_HEADERS_5_0
help
Select the kernel version to get headers from.
@@ -51,6 +49,10 @@ config BR2_KERNEL_HEADERS_4_20
bool "Linux 4.20.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
+config BR2_KERNEL_HEADERS_5_0
+ bool "Linux 5.0.x kernel headers"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
config BR2_KERNEL_HEADERS_VERSION
bool "Manually specified Linux version"
help
@@ -116,6 +118,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_5_0
+ bool "5.0.x"
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
bool "4.20.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
@@ -292,6 +298,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "4.14.103" if BR2_KERNEL_HEADERS_4_14
default "4.19.25" if BR2_KERNEL_HEADERS_4_19
default "4.20.12" if BR2_KERNEL_HEADERS_4_20
+ default "5.0.2" if BR2_KERNEL_HEADERS_5_0
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 \
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support 5.0 kernel headers
2019-03-19 0:06 [Buildroot] [PATCH 0/3] Linux kernel 5.0 support Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 1/3] package/linux-headers: add support for Linux 5.0 kernel headers Joel Stanley
@ 2019-03-19 0:06 ` Joel Stanley
2019-03-19 21:23 ` Thomas Petazzoni
2019-03-19 0:06 ` [Buildroot] [PATCH 3/3] linux: add support for Linux 5.0 Joel Stanley
2 siblings, 1 reply; 5+ messages in thread
From: Joel Stanley @ 2019-03-19 0:06 UTC (permalink / raw)
To: buildroot
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
toolchain/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/toolchain/Config.in b/toolchain/Config.in
index bcbc3cf98432..f0bde8fbc870 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+ bool
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
+
# 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 "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 3/3] linux: add support for Linux 5.0
2019-03-19 0:06 [Buildroot] [PATCH 0/3] Linux kernel 5.0 support Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 1/3] package/linux-headers: add support for Linux 5.0 kernel headers Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support " Joel Stanley
@ 2019-03-19 0:06 ` Joel Stanley
2 siblings, 0 replies; 5+ messages in thread
From: Joel Stanley @ 2019-03-19 0:06 UTC (permalink / raw)
To: buildroot
This sets 5.0 to be the default, moving from 4.19 which was used instead
of 4.20 for the LTS branch.
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
linux/Config.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/linux/Config.in b/linux/Config.in
index 818b94e1c0df..7c647abf57fa 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -30,10 +30,8 @@ config BR2_LINUX_NEEDS_MODULES
choice
prompt "Kernel version"
-# We are intentionally staying at 4.19 for the next Buildroot LTS
-# release (2019.02)
config BR2_LINUX_KERNEL_LATEST_VERSION
- bool "Latest version (4.19)"
+ bool "Latest version (5.0)"
config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
bool "Latest CIP SLTS version (v4.4.171-cip30)"
@@ -123,7 +121,7 @@ endif
config BR2_LINUX_KERNEL_VERSION
string
- default "4.19.25" if BR2_LINUX_KERNEL_LATEST_VERSION
+ default "5.0.2" if BR2_LINUX_KERNEL_LATEST_VERSION
default "v4.4.171-cip30" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
if BR2_LINUX_KERNEL_CUSTOM_VERSION
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support 5.0 kernel headers
2019-03-19 0:06 ` [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support " Joel Stanley
@ 2019-03-19 21:23 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-03-19 21:23 UTC (permalink / raw)
To: buildroot
Hello Joel,
On Tue, 19 Mar 2019 10:36:37 +1030
Joel Stanley <joel@jms.id.au> wrote:
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
> toolchain/Config.in | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index bcbc3cf98432..f0bde8fbc870 100644
> --- a/toolchain/Config.in
> +++ b/toolchain/Config.in
> @@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
> bool
> select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
>
> +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
> + bool
> + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
This patch should come first in your series, because your PATCH 1/3
does this:
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
i.e PATCH 1/3 depends on PATCH 2/3.
Another thing that is missing in your series is another patch to add
the 5.0 kernel header selection to
toolchain/toolchain-external/toolchain-external-custom/Config.in.options.
Could you fix these two issues and resend ?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-19 21:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-19 0:06 [Buildroot] [PATCH 0/3] Linux kernel 5.0 support Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 1/3] package/linux-headers: add support for Linux 5.0 kernel headers Joel Stanley
2019-03-19 0:06 ` [Buildroot] [PATCH 2/3] toolchain: Add necessary options to support " Joel Stanley
2019-03-19 21:23 ` Thomas Petazzoni
2019-03-19 0:06 ` [Buildroot] [PATCH 3/3] linux: add support for Linux 5.0 Joel Stanley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox