diff mbox series

[2/3] configs/hifive_unleashed: add hashes

Message ID 20240617201232.1804524-2-francois.dugast.foss@gmail.com
State Superseded
Headers show
Series [1/3] configs/hifive_unleashed: extract common configuration | expand

Commit Message

Francois Dugast June 17, 2024, 8:12 p.m. UTC
Add the hashes required to build with BR2_DOWNLOAD_FORCE_CHECK_HASHES
and remove the defconfig from .checkpackageignore.

Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com>
---
 .checkpackageignore                                             | 1 -
 .../hifive-unleashed/patches/linux-headers/linux-headers.hash   | 2 ++
 board/sifive/hifive-unleashed/patches/linux/linux.hash          | 2 ++
 board/sifive/hifive-unleashed/patches/opensbi/opensbi.hash      | 2 ++
 board/sifive/hifive-unleashed/patches/uboot/uboot.hash          | 2 ++
 configs/hifive_unleashed_defconfig                              | 2 ++
 6 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 board/sifive/hifive-unleashed/patches/linux-headers/linux-headers.hash
 create mode 100644 board/sifive/hifive-unleashed/patches/linux/linux.hash
 create mode 100644 board/sifive/hifive-unleashed/patches/opensbi/opensbi.hash
 create mode 100644 board/sifive/hifive-unleashed/patches/uboot/uboot.hash
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 9264f84a15..cf03c36b04 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -188,7 +188,6 @@  configs/galileo_defconfig lib_defconfig.ForceCheckHash
 configs/globalscale_espressobin_defconfig lib_defconfig.ForceCheckHash
 configs/grinn_chiliboard_defconfig lib_defconfig.ForceCheckHash
 configs/grinn_liteboard_defconfig lib_defconfig.ForceCheckHash
-configs/hifive_unleashed_defconfig lib_defconfig.ForceCheckHash
 configs/icnova-a20-adb4006_defconfig lib_defconfig.ForceCheckHash
 configs/imx23evk_defconfig lib_defconfig.ForceCheckHash
 configs/imx6-sabreauto_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/sifive/hifive-unleashed/patches/linux-headers/linux-headers.hash b/board/sifive/hifive-unleashed/patches/linux-headers/linux-headers.hash
new file mode 100644
index 0000000000..d43806bd74
--- /dev/null
+++ b/board/sifive/hifive-unleashed/patches/linux-headers/linux-headers.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256	29723df01d40ff07ff6d254eaaf90c7b3ec3c70f4ebe089b80f785f46efaf597  linux-5.10.190.tar.xz
diff --git a/board/sifive/hifive-unleashed/patches/linux/linux.hash b/board/sifive/hifive-unleashed/patches/linux/linux.hash
new file mode 100644
index 0000000000..d43806bd74
--- /dev/null
+++ b/board/sifive/hifive-unleashed/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256	29723df01d40ff07ff6d254eaaf90c7b3ec3c70f4ebe089b80f785f46efaf597  linux-5.10.190.tar.xz
diff --git a/board/sifive/hifive-unleashed/patches/opensbi/opensbi.hash b/board/sifive/hifive-unleashed/patches/opensbi/opensbi.hash
new file mode 100644
index 0000000000..c0fc3f683c
--- /dev/null
+++ b/board/sifive/hifive-unleashed/patches/opensbi/opensbi.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256 8fcbce598a73acc2c7f7d5607d46b9d5107d3ecbede8f68f42631dcfc25ef2b2  opensbi-1.2.tar.gz
diff --git a/board/sifive/hifive-unleashed/patches/uboot/uboot.hash b/board/sifive/hifive-unleashed/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..57451c7afe
--- /dev/null
+++ b/board/sifive/hifive-unleashed/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341  u-boot-2023.04.tar.bz2
diff --git a/configs/hifive_unleashed_defconfig b/configs/hifive_unleashed_defconfig
index dabd1aefd4..50d56609dc 100644
--- a/configs/hifive_unleashed_defconfig
+++ b/configs/hifive_unleashed_defconfig
@@ -13,6 +13,8 @@  BR2_RISCV_ABI_LP64D=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttySIF0"
+BR2_GLOBAL_PATCH_DIR="board/sifive/hifive-unleashed/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/sifive/common/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sifive/common/genimage_sdcard.cfg"