Skip to contentSkip to conversation

configs/kontron_smarc_sal28: bump u-boot and linux

PATCH Applied Michael Walle via buildroot 1 participant 2 messages Apr 14 – Apr 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/kontron_smarc_sal28: bump u-boot and linux

The old u-boot version doesn't build anymore because of the following error:

ModuleNotFoundError: No module named 'pkg_resources'

Bump it to the latest version 2026.04. While at it, also bump linux to the latest LTS kernel (6.18). The new kernel grew in size, thus we also have to enlarge the rootfs image.

---
 configs/kontron_smarc_sal28_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/kontron_smarc_sal28_defconfig +4 -4
index efd4bd41e6..181a92daab 100644
@@ -1,6 +1,6 @@
 BR2_aarch64=y
 BR2_cortex_a72=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/smarc-sal28/post-build.sh"
@@ -8,7 +8,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/fsl-ls1028a-kontron-sl28-var2 freescale/fsl-ls1028a-kontron-sl28-var3-ads2 freescale/fsl-ls1028a-kontron-sl28-var4 freescale/fsl-ls1028a-kontron-kbox-a-230-ls"
@@ -18,11 +18,11 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_RCW_SMARC_SAL28=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
+BR2_TARGET_ROOTFS_EXT2_SIZE="160M"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.04"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_sl28"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Michael,

Quoted 11 lines · Michael Walle via buildroot

The old u-boot version doesn't build anymore because of the following error:

ModuleNotFoundError: No module named 'pkg_resources'

Bump it to the latest version 2026.04. While at it, also bump linux to the latest LTS kernel (6.18). The new kernel grew in size, thus we also have to enlarge the rootfs image.

Applied to master, thanks.

Could you consider, in a followup patch, updating this defconfig to switch to external Bootlin stable toolchain, please? See for example:
https://gitlab.com/buildroot.org/buildroot/-/commit/47f4e3810c981e8cee19d8a411b38c771ebd2381

Could you also consider enabling hash check, please? See for example:
https://gitlab.com/buildroot.org/buildroot/-/commit/b71d7eae59f82683e547b60f06538c4a2af8c5d3

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot