Skip to contentSkip to conversation

configs/imxrt1050-evk: Check hashes, use bootlin toolchain

PATCH In review Jesse Taube 2 participants 2 messages Aug 27, 2025 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/imxrt1050-evk: Check hashes, use bootlin toolchain

This commit adds BR2_DOWNLOAD_FORCE_CHECK_HASHES=y and BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y in the defconfig, bumps kernel to 6.12.43, and adds custom hash files. The exception entry in .checkpackageignore is also removed.

---
 .checkpackageignore                                       | 1 -
 .../imxrt1050evk/patches/linux-headers/linux-headers.hash | 1 +
 board/freescale/imxrt1050evk/patches/linux/linux.hash     | 2 ++
 board/freescale/imxrt1050evk/patches/uboot/uboot.hash     | 2 ++
 configs/imxrt1050-evk_defconfig                           | 8 ++++++--
 5 files changed, 11 insertions(+), 3 deletions(-)
 create mode 100644 board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash
 create mode 100644 board/freescale/imxrt1050evk/patches/linux/linux.hash
 create mode 100644 board/freescale/imxrt1050evk/patches/uboot/uboot.hash
.checkpackageignore +0 -1
index 4591ff173a..b9270da630 100644
@@ -156,7 +156,6 @@ configs/imx6ullevk_defconfig lib_defconfig.ForceCheckHash
 configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash
 configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash
 configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash
-configs/imxrt1050-evk_defconfig lib_defconfig.ForceCheckHash
 configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash
 configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash
 configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash
board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 100644
index 0000000000..0cbef7998e
@@ -0,0 +1 @@
+../linux/linux.hash
board/freescale/imxrt1050evk/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..216d9b9d39
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  0fcbbbbcd456e87bbbfc8bf37af541fda62ccfcce76903503424fd101ef7bdee  linux-6.12.43.tar.xz
board/freescale/imxrt1050evk/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..440526977b
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7  u-boot-2025.07.tar.bz2
configs/imxrt1050-evk_defconfig +6 -2
index fce2b831f3..0574eae981 100644
@@ -1,12 +1,16 @@
 BR2_arm=y
 BR2_cortex_m7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_GLOBAL_PATCH_DIR="board/freescale/imxrt1050evk/patches"
 BR2_ROOTFS_OVERLAY="board/freescale/imxrt1050evk/rootfs_overlay"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/imxrt1050evk/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.43"
 BR2_LINUX_KERNEL_DEFCONFIG="imxrt"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imxrt1050-evk"
Signature · 6 lines
2.49.0

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

"Jesse" == Jesse Taube <[email protected]> writes:

This commit adds BR2_DOWNLOAD_FORCE_CHECK_HASHES=y and BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y in the defconfig, bumps kernel to 6.12.43, and adds custom hash files. The exception entry in .checkpackageignore is also removed.

---
 .checkpackageignore                                       | 1 -
 .../imxrt1050evk/patches/linux-headers/linux-headers.hash | 1 +
 board/freescale/imxrt1050evk/patches/linux/linux.hash     | 2 ++
 board/freescale/imxrt1050evk/patches/uboot/uboot.hash     | 2 ++
 configs/imxrt1050-evk_defconfig                           | 8 ++++++--
 5 files changed, 11 insertions(+), 3 deletions(-)
 create mode 100644 board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash
 create mode 100644 board/freescale/imxrt1050evk/patches/linux/linux.hash
 create mode 100644 board/freescale/imxrt1050evk/patches/uboot/uboot.hash
.checkpackageignore +0 -1
index 4591ff173a..b9270da630 100644
@@ -156,7 +156,6 @@ configs/imx6ullevk_defconfig lib_defconfig.ForceCheckHash
 configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash
 configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash
 configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash
-configs/imxrt1050-evk_defconfig lib_defconfig.ForceCheckHash
 configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash
 configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash
 configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash
board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash new file +0 -0
new file mode 100644
index 0000000000..0cbef7998e

board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash line 1

Quoted 1 line
board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash new file +1 -0
@@ -0,0 +1 @@
+../linux/linux.hash

Strangely enough this was not marked as a symlink (mode should be 120000). Fixed that and committed to next, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot