Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Walle via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Heiko Thiery <heiko.thiery@gmail.com>,
	Julien Olivain <ju.o@free.fr>, Michael Walle <mwalle@kernel.org>
Subject: [Buildroot] [PATCH 2/2] configs/kontron_smarc_sal28: enable FORCE_CHECK_HASHES
Date: Wed, 29 Apr 2026 11:23:39 +0200	[thread overview]
Message-ID: <20260429092343.979523-2-mwalle@kernel.org> (raw)
In-Reply-To: <20260429092343.979523-1-mwalle@kernel.org>

Enable the FORCE_CHECK_HASHES and the corresponding custom hashes.

Suggested-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Michael Walle <mwalle@kernel.org>
---
 .../smarc-sal28/patches/linux-headers/linux-headers.hash       | 1 +
 board/kontron/smarc-sal28/patches/linux/linux.hash             | 2 ++
 board/kontron/smarc-sal28/patches/uboot/uboot.hash             | 2 ++
 configs/kontron_smarc_sal28_defconfig                          | 3 ++-
 4 files changed, 7 insertions(+), 1 deletion(-)
 create mode 120000 board/kontron/smarc-sal28/patches/linux-headers/linux-headers.hash
 create mode 100644 board/kontron/smarc-sal28/patches/linux/linux.hash
 create mode 100644 board/kontron/smarc-sal28/patches/uboot/uboot.hash

diff --git a/board/kontron/smarc-sal28/patches/linux-headers/linux-headers.hash b/board/kontron/smarc-sal28/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/kontron/smarc-sal28/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/kontron/smarc-sal28/patches/linux/linux.hash b/board/kontron/smarc-sal28/patches/linux/linux.hash
new file mode 100644
index 0000000000..a4cc7bd3f6
--- /dev/null
+++ b/board/kontron/smarc-sal28/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  9106a4605da9e31ff17659d958782b815f9591ab308d03b0ee21aad6c7dced4b  linux-6.18.tar.xz
diff --git a/board/kontron/smarc-sal28/patches/uboot/uboot.hash b/board/kontron/smarc-sal28/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..36322a6a90
--- /dev/null
+++ b/board/kontron/smarc-sal28/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd  u-boot-2026.04.tar.bz2
diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig
index 09d3142589..b1e175b7b2 100644
--- a/configs/kontron_smarc_sal28_defconfig
+++ b/configs/kontron_smarc_sal28_defconfig
@@ -1,9 +1,10 @@
 BR2_aarch64=y
 BR2_cortex_a72=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y
 BR2_TOOLCHAIN_EXTERNAL=y
 BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
 BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/kontron/smarc-sal28/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=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"
-- 
2.47.3

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

  reply	other threads:[~2026-04-29  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-29  9:23 [Buildroot] [PATCH 1/2] configs/kontron_smarc_sal28: switch to external Bootlin toolchain Michael Walle via buildroot
2026-04-29  9:23 ` Michael Walle via buildroot [this message]
2026-04-29 20:33 ` Julien Olivain via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260429092343.979523-2-mwalle@kernel.org \
    --to=buildroot@buildroot.org \
    --cc=heiko.thiery@gmail.com \
    --cc=ju.o@free.fr \
    --cc=mwalle@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox