* [Buildroot] [PATCH v1 0/3] configs/khadas_vim3_defconfig: updates and fixes
@ 2026-03-06 9:34 Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain Dowan Gullient via buildroot
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Dowan Gullient via buildroot @ 2026-03-06 9:34 UTC (permalink / raw)
To: buildroot; +Cc: Dowan Gullient
This series updates the Khadas VIM3 configuration to use a modern toolchain and bumps Linux and U-Boot versions.
Dowan Gullient (3):
configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain
configs/khadas_vim3_defconfig: linux bump to 6.18.15
configs/khadas_vim3_defconfig: u-boot version bump 2026.01
board/khadas/vim3/patches/linux/linux.hash | 2 ++
board/khadas/vim3/patches/uboot/uboot.hash | 2 ++
configs/khadas_vim3_defconfig | 11 ++++++++---
3 files changed, 12 insertions(+), 3 deletions(-)
create mode 100644 board/khadas/vim3/patches/linux/linux.hash
create mode 100644 board/khadas/vim3/patches/uboot/uboot.hash
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain
2026-03-06 9:34 [Buildroot] [PATCH v1 0/3] configs/khadas_vim3_defconfig: updates and fixes Dowan Gullient via buildroot
@ 2026-03-06 9:34 ` Dowan Gullient via buildroot
2026-03-06 18:17 ` Julien Olivain via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 2/3] configs/khadas_vim3_defconfig: linux bump to 6.18.15 Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 3/3] configs/khadas_vim3_defconfig: u-boot version bump 2026.01 Dowan Gullient via buildroot
2 siblings, 1 reply; 5+ messages in thread
From: Dowan Gullient via buildroot @ 2026-03-06 9:34 UTC (permalink / raw)
To: buildroot; +Cc: Dowan Gullient
Signed-off-by: Dowan Gullient <dowan.gullient@smile.fr>
---
configs/khadas_vim3_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/khadas_vim3_defconfig b/configs/khadas_vim3_defconfig
index 21a16cc1b0..89bae0f114 100644
--- a/configs/khadas_vim3_defconfig
+++ b/configs/khadas_vim3_defconfig
@@ -1,7 +1,9 @@
BR2_aarch64=y
BR2_cortex_a73_a53=y
BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_3=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=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
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v1 2/3] configs/khadas_vim3_defconfig: linux bump to 6.18.15
2026-03-06 9:34 [Buildroot] [PATCH v1 0/3] configs/khadas_vim3_defconfig: updates and fixes Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain Dowan Gullient via buildroot
@ 2026-03-06 9:34 ` Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 3/3] configs/khadas_vim3_defconfig: u-boot version bump 2026.01 Dowan Gullient via buildroot
2 siblings, 0 replies; 5+ messages in thread
From: Dowan Gullient via buildroot @ 2026-03-06 9:34 UTC (permalink / raw)
To: buildroot; +Cc: Dowan Gullient
Signed-off-by: Dowan Gullient <dowan.gullient@smile.fr>
---
configs/khadas_vim3_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/khadas_vim3_defconfig b/configs/khadas_vim3_defconfig
index 89bae0f114..de737478bd 100644
--- a/configs/khadas_vim3_defconfig
+++ b/configs/khadas_vim3_defconfig
@@ -8,7 +8,7 @@ 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
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.15"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-g12b-a311d-khadas-vim3"
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v1 3/3] configs/khadas_vim3_defconfig: u-boot version bump 2026.01
2026-03-06 9:34 [Buildroot] [PATCH v1 0/3] configs/khadas_vim3_defconfig: updates and fixes Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 2/3] configs/khadas_vim3_defconfig: linux bump to 6.18.15 Dowan Gullient via buildroot
@ 2026-03-06 9:34 ` Dowan Gullient via buildroot
2 siblings, 0 replies; 5+ messages in thread
From: Dowan Gullient via buildroot @ 2026-03-06 9:34 UTC (permalink / raw)
To: buildroot; +Cc: Dowan Gullient
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@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain
2026-03-06 9:34 ` [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain Dowan Gullient via buildroot
@ 2026-03-06 18:17 ` Julien Olivain via buildroot
0 siblings, 0 replies; 5+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-06 18:17 UTC (permalink / raw)
To: Dowan Gullient; +Cc: buildroot
Hi Dowan,
Thanks for your first contribution!
On 06/03/2026 10:34, Dowan Gullient via buildroot wrote:
> Signed-off-by: Dowan Gullient <dowan.gullient@smile.fr>
I applied this series to master. I have made few minor changes:
I squashed linux and u-boot bumps into a single commit.
I changed linux.hash comment reuse hashes published upstream
I increased BR2_TARGET_ROOTFS_EXT2_SIZE to 256M: the default
arch defconfig builds more/bigger drivers and reached the 128M
limit.
Therefore, I removed partition size constraint in genimage.cfg
to make sure the sdcard image will adjust to the right partition
size.
I removed .checkpackageignore entry to fix check-package error.
See:
https://gitlab.com/buildroot.org/buildroot/-/commit/2093bfa0aa48e8803bc93634beca9e0b176fecbb
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-06 18:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 9:34 [Buildroot] [PATCH v1 0/3] configs/khadas_vim3_defconfig: updates and fixes Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 1/3] configs/khadas_vim3_defconfig: use prebuilt Bootlin toolchain Dowan Gullient via buildroot
2026-03-06 18:17 ` Julien Olivain via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 2/3] configs/khadas_vim3_defconfig: linux bump to 6.18.15 Dowan Gullient via buildroot
2026-03-06 9:34 ` [Buildroot] [PATCH v1 3/3] configs/khadas_vim3_defconfig: u-boot version bump 2026.01 Dowan Gullient via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox