diff mbox series

[v2,3/4] configs/stm32mp157*: bump kernel version

Message ID 20201002142426.1375026-3-shlomi.39sd@gmail.com
State Superseded
Headers show
Series [v2,1/4] boot/uboot: add stm32 binary format | expand

Commit Message

Shlomi Vaknin Oct. 2, 2020, 2:24 p.m. UTC
Since kernel 5.7 is EOL now, this upgrades it to the latest version
which is the default by buildroot.

Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
---
 configs/stm32mp157a_dk1_defconfig | 3 ---
 configs/stm32mp157c_dk2_defconfig | 3 ---
 2 files changed, 6 deletions(-)

Comments

Bartosz Bilas Oct. 2, 2020, 7:26 p.m. UTC | #1
Hello Shlomi,

On 02.10.2020 16:24, Shlomi Vaknin wrote:
> Since kernel 5.7 is EOL now, this upgrades it to the latest version
> which is the default by buildroot.
>
> Signed-off-by: Shlomi Vaknin<shlomi.39sd@gmail.com>
> ---
>   configs/stm32mp157a_dk1_defconfig | 3 ---
>   configs/stm32mp157c_dk2_defconfig | 3 ---
>   2 files changed, 6 deletions(-)
>
> diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig
> index 8197fcc31b..f72bdb49ed 100644
> --- a/configs/stm32mp157a_dk1_defconfig
> +++ b/configs/stm32mp157a_dk1_defconfig
> @@ -1,12 +1,9 @@
>   BR2_arm=y
>   BR2_cortex_a7=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
>   BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/"
>   BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>   BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32mp157a-dk1/genimage.cfg"
>   BR2_LINUX_KERNEL=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
That's not a correct way to do that. You always have to specify kernel 
headers and kernel version, the current latest version
is 5.8.13 so if you wanna use this one you should set:


BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
>   BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>   BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config"
>   BR2_LINUX_KERNEL_DTS_SUPPORT=y
> diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig
> index 15e1e85f69..9c688c6688 100644
> --- a/configs/stm32mp157c_dk2_defconfig
> +++ b/configs/stm32mp157c_dk2_defconfig
> @@ -1,12 +1,9 @@
>   BR2_arm=y
>   BR2_cortex_a7=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
same here
>   BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
>   BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>   BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg"
>   BR2_LINUX_KERNEL=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
and here
>   BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>   BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config"
>   BR2_LINUX_KERNEL_DTS_SUPPORT=y
Best
Bartek
Bartosz Bilas Oct. 3, 2020, 9:36 a.m. UTC | #2
Hi Shlomi,

please remember about buildroot@buildroot.org in Cc when you answer 
because you've missed that so your answer isn't visible in 
patchwork/mailing list.

On 02.10.2020 22:32, Shlomi Vaknin wrote:
> Hi!
>
> What I did was to enable BR2_LINUX_KERNEL_LATEST_VERSION in the 
> menuconfig. This is the default by buildroot so it was removed from 
> the defconfig. Is it still preferable to change it to a custom version?

Yup, it's.

Best
Bartek
>
> ‫בתאריך יום ו׳, 2 באוק׳ 2020 ב-22:26 מאת ‪Bartosz Bilas‬‏ 
> <‪b.bilas@grinn-global.com <mailto:b.bilas@grinn-global.com>‬‏>:‬
>
>     Hello Shlomi,
>
>     On 02.10.2020 16:24, Shlomi Vaknin wrote:
>     > Since kernel 5.7 is EOL now, this upgrades it to the latest version
>     > which is the default by buildroot.
>     >
>     > Signed-off-by: Shlomi Vaknin<shlomi.39sd@gmail.com
>     <mailto:shlomi.39sd@gmail.com>>
>     > ---
>     >   configs/stm32mp157a_dk1_defconfig | 3 ---
>     >   configs/stm32mp157c_dk2_defconfig | 3 ---
>     >   2 files changed, 6 deletions(-)
>     >
>     > diff --git a/configs/stm32mp157a_dk1_defconfig
>     b/configs/stm32mp157a_dk1_defconfig
>     > index 8197fcc31b..f72bdb49ed 100644
>     > --- a/configs/stm32mp157a_dk1_defconfig
>     > +++ b/configs/stm32mp157a_dk1_defconfig
>     > @@ -1,12 +1,9 @@
>     >   BR2_arm=y
>     >   BR2_cortex_a7=y
>     > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
>     >
>      BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/"
>     >  BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>     >   BR2_ROOTFS_POST_SCRIPT_ARGS="-c
>     board/stmicroelectronics/stm32mp157a-dk1/genimage.cfg"
>     >   BR2_LINUX_KERNEL=y
>     > -BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>     > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
>     That's not a correct way to do that. You always have to specify
>     kernel
>     headers and kernel version, the current latest version
>     is 5.8.13 so if you wanna use this one you should set:
>
>
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
>     BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>     BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
>     >   BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>     >
>      BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config"
>     >   BR2_LINUX_KERNEL_DTS_SUPPORT=y
>     > diff --git a/configs/stm32mp157c_dk2_defconfig
>     b/configs/stm32mp157c_dk2_defconfig
>     > index 15e1e85f69..9c688c6688 100644
>     > --- a/configs/stm32mp157c_dk2_defconfig
>     > +++ b/configs/stm32mp157c_dk2_defconfig
>     > @@ -1,12 +1,9 @@
>     >   BR2_arm=y
>     >   BR2_cortex_a7=y
>     > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
>     same here
>     >
>      BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
>     >  BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>     >   BR2_ROOTFS_POST_SCRIPT_ARGS="-c
>     board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg"
>     >   BR2_LINUX_KERNEL=y
>     > -BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>     > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
>     and here
>     >   BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>     >
>      BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config"
>     >   BR2_LINUX_KERNEL_DTS_SUPPORT=y
>     Best
>     Bartek
>
diff mbox series

Patch

diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig
index 8197fcc31b..f72bdb49ed 100644
--- a/configs/stm32mp157a_dk1_defconfig
+++ b/configs/stm32mp157a_dk1_defconfig
@@ -1,12 +1,9 @@ 
 BR2_arm=y
 BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
 BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32mp157a-dk1/genimage.cfg"
 BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig
index 15e1e85f69..9c688c6688 100644
--- a/configs/stm32mp157c_dk2_defconfig
+++ b/configs/stm32mp157c_dk2_defconfig
@@ -1,12 +1,9 @@ 
 BR2_arm=y
 BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
 BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32mp157c-dk2/genimage.cfg"
 BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.10"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y