All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/imxrt1050-evk: Check hashes, use bootlin toolchain
@ 2025-08-27  1:07 Jesse Taube
  2025-08-27  9:58 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Taube @ 2025-08-27  1:07 UTC (permalink / raw)
  To: buildroot
  Cc: Giulio Benetti, Jesse Taube, stephane.viau, festevam,
	maeva.manuel, Thomas Petazzoni

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.

Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
 .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

diff --git a/.checkpackageignore b/.checkpackageignore
index 4591ff173a..b9270da630 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -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
diff --git a/board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash b/board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash
new file mode 100644
index 0000000000..0cbef7998e
--- /dev/null
+++ b/board/freescale/imxrt1050evk/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
diff --git a/board/freescale/imxrt1050evk/patches/linux/linux.hash b/board/freescale/imxrt1050evk/patches/linux/linux.hash
new file mode 100644
index 0000000000..216d9b9d39
--- /dev/null
+++ b/board/freescale/imxrt1050evk/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  0fcbbbbcd456e87bbbfc8bf37af541fda62ccfcce76903503424fd101ef7bdee  linux-6.12.43.tar.xz
diff --git a/board/freescale/imxrt1050evk/patches/uboot/uboot.hash b/board/freescale/imxrt1050evk/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..440526977b
--- /dev/null
+++ b/board/freescale/imxrt1050evk/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7  u-boot-2025.07.tar.bz2
diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig
index fce2b831f3..0574eae981 100644
--- a/configs/imxrt1050-evk_defconfig
+++ b/configs/imxrt1050-evk_defconfig
@@ -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"
-- 
2.49.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-27  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27  1:07 [Buildroot] [PATCH] configs/imxrt1050-evk: Check hashes, use bootlin toolchain Jesse Taube
2025-08-27  9:58 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.