[Buildroot] [PATCH v1 3/3] configs/khadas_vim3_defconfig: u-boot version bump 2026.01
Dowan Gullient
dowan.gullient at smile.fr
Fri Mar 6 09:34:48 UTC 2026
With U-Boot 2022.04 gnutls is required for building the hostool
mkeficapsule.
mkeficapsule tool is built by default if EFI_LOADER is set since u-boot
2024.10 [1].
Thus the BR2_TARGET_UBOOT_NEEDS_GNUTLS config is needed.
This commit also updates the defconfig to the new convention:
- It adds custom hashes, enable BR2_DOWNLOAD_FORCE_CHECK_HASHES=y and
BR2_GLOBAL_PATCH_DIR="board/khadas/vim3/patches" to store the files.
[1] https://source.denx.de/u-boot/u-boot/-/commit/b7a625b1ce49ac4e45dbacf476c31d8e312350fb
Signed-off-by: Dowan Gullient <dowan.gullient at smile.fr>
---
board/khadas/vim3/patches/linux/linux.hash | 2 ++
board/khadas/vim3/patches/uboot/uboot.hash | 2 ++
configs/khadas_vim3_defconfig | 5 ++++-
3 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 board/khadas/vim3/patches/linux/linux.hash
create mode 100644 board/khadas/vim3/patches/uboot/uboot.hash
diff --git a/board/khadas/vim3/patches/linux/linux.hash b/board/khadas/vim3/patches/linux/linux.hash
new file mode 100644
index 0000000000..94fffd392d
--- /dev/null
+++ b/board/khadas/vim3/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 7c716216c3c4134ed0de69195701e677577bbcdd3979f331c182acd06bf2f170 linux-6.18.15.tar.xz
diff --git a/board/khadas/vim3/patches/uboot/uboot.hash b/board/khadas/vim3/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..b6a925ea4e
--- /dev/null
+++ b/board/khadas/vim3/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54 u-boot-2026.01.tar.bz2
diff --git a/configs/khadas_vim3_defconfig b/configs/khadas_vim3_defconfig
index de737478bd..b45c70f260 100644
--- a/configs/khadas_vim3_defconfig
+++ b/configs/khadas_vim3_defconfig
@@ -4,6 +4,8 @@ BR2_ARM_FPU_VFPV4=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/khadas/vim3/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_POST_BUILD_SCRIPT="board/khadas/vim3/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/khadas/vim3/post-image.sh"
BR2_LINUX_KERNEL=y
@@ -20,9 +22,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="khadas-vim3"
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
--
2.43.0
More information about the buildroot
mailing list