From a9295cc3e4028ac46840fc209eb6f2be9d9f7cab Mon Sep 17 00:00:00 2001 From: Titouan Christophe Date: Sat, 10 Oct 2026 22:15:06 +0200 Subject: [PATCH] linux: always select host-uboot-tools for mips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Buildroot commit 40e266ccb9 [1], host-uboot-tools was always selected for the latest Linux kernel. This change is intended for autobuilders, and was introduced in Buildroot while the latest kernel was 6.12. However, further investigation seem to indicate that itb images were generated for mips for a much longer time. Linux commit eed0eabd12 [2] seem to enable that image format, and was released in Linux 4.9. This version being EOL for quite some time, we can therefore assume any "not so old" Linux for mips will need host-uboot-tools to finalize this image, and therefore we should select it when building Linux. [1] linux: select host-uboot-tools with FIT on mips https://gitlab.com/buildroot.org/buildroot/-/commit/40e266ccb9 [2] MIPS: generic: Introduce generic DT-based board support https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eed0eabd12ef061821cbfa20d903476e07645320 Signed-off-by: Titouan Christophe Signed-off-by: Peter Korsgaard (cherry picked from commit 0f7c08d8fb36e6e12522ce6f8012c91ace520204) [raphael: resolve conflicts] Signed-off-by: Raphaël Mélotte --- linux/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 401f2828cb..de1ad9b9a9 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -4,6 +4,9 @@ config BR2_LINUX_KERNEL bool "Linux Kernel" select BR2_PACKAGE_HOST_KMOD # Unconditional, even if modules not enabled select BR2_PACKAGE_HOST_IMAGEMAGICK if BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH != "" + # mips always generates an ITB image + select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el help Enable this option if you want to build a Linux kernel for your embedded device @@ -32,9 +35,6 @@ choice config BR2_LINUX_KERNEL_LATEST_VERSION bool "Latest version (7.1)" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_7_1 if BR2_KERNEL_HEADERS_AS_KERNEL - # mips always generates an ITB image - select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el config BR2_LINUX_KERNEL_LATEST_CIP_VERSION bool "Latest CIP SLTS version (5.10.254-cip72)"