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

Bartosz Bilas b.bilas at grinn-global.com
Sat Oct 3 09:36:18 UTC 2020


Hi Shlomi,

please remember about buildroot at 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 at grinn-global.com <mailto:b.bilas at 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 at gmail.com
>     <mailto:shlomi.39sd at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201003/737442a3/attachment.html>


More information about the buildroot mailing list