configs/am574x_idk_defconfig: bump linux to 6.18.16 and u-boot to 2026.04

This commit:
  - updates the Kernel from LTS 6.6.14 to 6.18.16
  - updates U-Boot from 2024.01 to 2026.04
  - switches to Bootlin external glibc stable toolchain
  - enable BR2_DOWNLOAD_FORCE_CHECK_HASHES=y, add custom hashes stored
    in BR2_GLOBAL_PATCH_DIR="board/ti/am574x-idk/patches" and removes
    the exception entry in .checkpackageignore.
  - enable BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y to install the board
    devicetree in the boot (vfat) partition keeping the directory
    prefixes (ti/omap/am574x-idk.dtb). u-boot nowadays is looking for
    boards devicetree using such directory prefixes [1].
    Update genimange.cfg file accordingly.
  - While at it, add a label to the boot (vfat) partition to not use a
    generated label.
  - set BR2_TARGET_ROOTFS_EXT2_SIZE="256M" since the rootfs no longer
    fit in the default size (60M).
  - Remove the rootfs partition predefined 1G size to avoid a parted
    warning about "unallocated space within the partition."
  - Update extlinux.conf kernel command line to use "console=ttyS2"
    instead of "ttyS0". Seems a typo introduced with the defconfig
    (AM57xx always used ttyS2 as kernel console).

[1] 649f4a7d3c

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Julien: add BR2_TARGET_UBOOT_NEEDS_GNUTLS=y]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Romain Naour
2026-04-12 19:13:40 +02:00
committed by Julien Olivain
parent ceaf09299b
commit 356c092389
6 changed files with 18 additions and 7 deletions

View File

@@ -70,7 +70,6 @@ boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch lib_patch.Upstream
boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_patch.Upstream
boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream
boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream
configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
configs/asus_tinker-s_rk3288_defconfig lib_defconfig.ForceCheckHash

View File

@@ -1,4 +1,4 @@
label am5749-idk-buildroot
kernel /zImage
fdtdir /
append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait

View File

@@ -4,9 +4,11 @@ image boot.vfat {
"MLO",
"u-boot.img",
"zImage",
"am574x-idk.dtb",
"ti",
"extlinux"
}
label = "boot"
}
size = 16M
@@ -25,6 +27,5 @@ image sdcard.img {
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
size = 1G
}
}

View File

@@ -0,0 +1,2 @@
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
sha256 f4855f382c1b735c84072bdef36db5bcd5dc7b0c37e42f5104317149a0a486ef linux-6.18.18.tar.xz

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd u-boot-2026.04.tar.bz2

View File

@@ -1,26 +1,33 @@
BR2_arm=y
BR2_cortex_a15=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
BR2_GLOBAL_PATCH_DIR="board/ti/am574x-idk/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am574x-idk/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am574x-idk/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.18"
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am574x-idk"
BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y