[Buildroot] [PATCH v2 1/2] configs/beaglebone: Bump to Linux mainline 6.18

Julien Olivain ju.o at free.fr
Sat Dec 13 20:46:01 UTC 2025


Hi Kory,

Thanks for the patch!  I have few comments, see below.

On 12/12/2025 17:20, Kory Maincent via buildroot wrote:
> From: "Kory Maincent (TI.com)" <kory.maincent at bootlin.com>
> 
> Bumps the Linux kernel to the latest 6.18 mainline version.
> 
> Tested on BeagleBone Black.
> 
> Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
> ---
> 
> Change in v2:
> - Use a specific Linux version.
> ---
[...]
> diff --git a/configs/beaglebone_defconfig 
> b/configs/beaglebone_defconfig
> index 86bf6bce9a..e0fc8968ba 100644
> --- a/configs/beaglebone_defconfig
> +++ b/configs/beaglebone_defconfig
> @@ -1,7 +1,7 @@
>  BR2_arm=y
>  BR2_cortex_a8=y
>  BR2_ARM_FPU_VFPV3=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y

We are trying to switch most defconfigs to use Bootlin external
glibc toolchains. See:
https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs
(I know, this policy is still not included in the documentation).

So this "BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y" line should be
removed, and you should just have instead:

BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y

See for example:
https://gitlab.com/buildroot.org/buildroot/-/commit/331d80f52e4912b422a2de27c9c0528923862e46

>  BR2_GLOBAL_PATCH_DIR="board/beagleboard/beaglebone/patches"
>  BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
>  BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
> @@ -9,9 +9,10 @@ 
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboard/beaglebone/post-build.sh"
>  BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>  BR2_ROOTFS_POST_SCRIPT_ARGS="-c 
> board/beagleboard/beaglebone/genimage.cfg"
>  BR2_LINUX_KERNEL=y
> -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
> -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call 
> github,beagleboard,linux,6.12.34-ti-arm32-r12)/linux-6.12.34-ti-arm32-r12.tar.gz"
> -BR2_LINUX_KERNEL_DEFCONFIG="bb.org"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18"

If you bump the kernel version here, and this defconfig has
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y, you should also update the custom
hash in board/beagleboard/beaglebone/patches/linux/linux.hash.

It probably worked when you tested because Buildroot had 6.18 hash
in linux/linux.hash, but now Buildroot bumped to 6.18.1 with
https://gitlab.com/buildroot.org/buildroot/-/commit/dc7eb6bf08d2293fc47f5f43d16d377758e9788a
the hash check is now failing.

While at it, you could already update to 6.18.1 or later.

So your custom hash should look like, for example:
https://gitlab.com/buildroot.org/buildroot/-/blob/master/board/arm/fvp-ebbr/patches/linux/linux.hash

> +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/ti/common/am335x/linux.config"
>  BR2_LINUX_KERNEL_DTS_SUPPORT=y
>  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am335x-evm 
> ti/omap/am335x-bone ti/omap/am335x-boneblack ti/omap/am335x-bonegreen 
> ti/omap/am335x-evmsk ti/omap/am335x-boneblue 
> ti/omap/am335x-boneblack-wireless ti/omap/am335x-bonegreen-wireless"
>  BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> --
> 2.43.0

Could you send an updated patch fixing the custom hash file and
switching to Bootlin external toolchain, please?

Best regards,

Julien.


More information about the buildroot mailing list