From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: [Buildroot] [PATCH v2 6/6] configs/sipeed_lichee_rv*: add hashes for Linux/opensbi/u-boot
Date: Mon, 2 Nov 2026 16:22:58 +0100 [thread overview]
Message-ID: <20261102152258.1948796-6-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261102152258.1948796-1-angelo.compagnucci@gmail.com>
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
The hashes are shared by both defconfigs, as the overlay.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
- drop the linux-headers hash, the Bootlin toolchain is now used
.checkpackageignore | 2 --
board/sipeed/lichee_rv/patches/linux/linux.hash | 2 ++
board/sipeed/lichee_rv/patches/opensbi/opensbi.hash | 2 ++
board/sipeed/lichee_rv/patches/uboot/uboot.hash | 2 ++
configs/sipeed_lichee_rv_defconfig | 2 ++
configs/sipeed_lichee_rv_dock_defconfig | 2 ++
6 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 board/sipeed/lichee_rv/patches/linux/linux.hash
create mode 100644 board/sipeed/lichee_rv/patches/opensbi/opensbi.hash
create mode 100644 board/sipeed/lichee_rv/patches/uboot/uboot.hash
diff --git a/.checkpackageignore b/.checkpackageignore
index a8c1baacbd..40716caa1d 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -128,8 +128,6 @@ configs/olpc_xo175_defconfig lib_defconfig.ForceCheckHash
configs/olpc_xo1_defconfig lib_defconfig.ForceCheckHash
configs/orangepi_pc2_defconfig lib_defconfig.ForceCheckHash
configs/orangepi_zero_plus_defconfig lib_defconfig.ForceCheckHash
-configs/sipeed_lichee_rv_defconfig lib_defconfig.ForceCheckHash
-configs/sipeed_lichee_rv_dock_defconfig lib_defconfig.ForceCheckHash
configs/sipeed_licheepi_nano_defconfig lib_defconfig.ForceCheckHash
configs/sipeed_maix_bit_defconfig lib_defconfig.ForceCheckHash
configs/sipeed_maix_bit_sdcard_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/sipeed/lichee_rv/patches/linux/linux.hash b/board/sipeed/lichee_rv/patches/linux/linux.hash
new file mode 100644
index 0000000000..a5e2b5fc40
--- /dev/null
+++ b/board/sipeed/lichee_rv/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256 3c2f44ef6acc021a7ad444d9a2e6ec1ef488ff09368793d0004a6080f69d621e linux-6.18.60.tar.xz
diff --git a/board/sipeed/lichee_rv/patches/opensbi/opensbi.hash b/board/sipeed/lichee_rv/patches/opensbi/opensbi.hash
new file mode 100644
index 0000000000..5e2e695bc1
--- /dev/null
+++ b/board/sipeed/lichee_rv/patches/opensbi/opensbi.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 fb1ae61a85e966322101acb1c982f84d9eaafc4de7dd474a7d7546d9bb321c6f opensbi-1.8.1.tar.gz
diff --git a/board/sipeed/lichee_rv/patches/uboot/uboot.hash b/board/sipeed/lichee_rv/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..7d05185938
--- /dev/null
+++ b/board/sipeed/lichee_rv/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 36db7c20b179f03aa29009565c6b34380d5629fd5c57ed110244594d9930dfed uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz
diff --git a/configs/sipeed_lichee_rv_defconfig b/configs/sipeed_lichee_rv_defconfig
index 7b896c795b..15f7a1275f 100644
--- a/configs/sipeed_lichee_rv_defconfig
+++ b/configs/sipeed_lichee_rv_defconfig
@@ -2,6 +2,8 @@ BR2_riscv=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/sipeed/lichee_rv/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_OVERLAY="board/sipeed/lichee_rv/overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sipeed/lichee_rv/genimage.cfg"
diff --git a/configs/sipeed_lichee_rv_dock_defconfig b/configs/sipeed_lichee_rv_dock_defconfig
index 639002b078..c82d27888f 100644
--- a/configs/sipeed_lichee_rv_dock_defconfig
+++ b/configs/sipeed_lichee_rv_dock_defconfig
@@ -2,6 +2,8 @@ BR2_riscv=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/sipeed/lichee_rv/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_ROOTFS_OVERLAY="board/sipeed/lichee_rv/overlay board/sipeed/lichee_rv_dock/overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-11-02 15:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 15:22 [Buildroot] [PATCH v2 1/6] configs/sipeed_lichee_rv*: require pkg_resources for binman Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 2/6] configs/sipeed_lichee_rv*: switch to Bootlin glibc toolchain Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 3/6] configs/sipeed_lichee_rv*: use OpenSBI 1.8.1 Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 4/6] configs/sipeed_lichee_rv*: bump u-boot to current top of d1-wip Angelo Compagnucci
2026-11-02 15:22 ` [Buildroot] [PATCH v2 5/6] configs/sipeed_lichee_rv*: use mainline Linux 6.18.60 Angelo Compagnucci
2026-11-02 15:22 ` Angelo Compagnucci [this message]
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=20261102152258.1948796-6-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.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