Skip to contentSkip to conversation

configs/stm32mp157a_dk1: add hashes

PATCH Applied Dario Binacchi 3 participants 3 messages Jun 22, 2024 – Jul 31, 2024 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/stm32mp157a_dk1: add hashes

The patch adds .hash files for Arm trusted firmware, Linux, Linux headers and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore.

---
 .checkpackageignore                                             | 1 -
 .../patches/arm-trusted-firmware/arm-trusted-firmware.hash      | 2 ++
 .../stm32mp157a-dk1/patches/linux-headers/linux-headers.hash    | 1 +
 .../stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash | 2 ++
 .../stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash | 2 ++
 configs/stm32mp157a_dk1_defconfig                               | 2 ++
 6 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 120000 board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash
.checkpackageignore +0 -1
index 807cee1a08f8..a8693e6b1f08 100644
@@ -332,7 +332,6 @@ configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash
 configs/spike_riscv64_defconfig lib_defconfig.ForceCheckHash
 configs/stm32f469_disco_sd_defconfig lib_defconfig.ForceCheckHash
 configs/stm32f469_disco_xip_defconfig lib_defconfig.ForceCheckHash
-configs/stm32mp157a_dk1_defconfig lib_defconfig.ForceCheckHash
 configs/stm32mp157c_dk2_defconfig lib_defconfig.ForceCheckHash
 configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
 configs/terasic_de10nano_cyclone5_defconfig lib_defconfig.ForceCheckHash
board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file +2 -0
new file mode 100644
index 000000000000..97c4500711fd
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  068325043b7c8ecc47ebb8b4f241f01e86d3f69dc49a63f340aa94bd41a9e6df  arm-trusted-firmware/arm-trusted-firmware-lts-v2.8.16.tar.gz
board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 120000
index 000000000000..5808d92afe89
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 000000000000..8b7624cceb9e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  3f6baa97f37518439f51df2e4f3d65a822ca5ff016aa8e60d2cc53b95a6c89d9  linux-5.13.tar.xz
board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 000000000000..7cef5b688ec3
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341  u-boot-2023.04.tar.bz2
configs/stm32mp157a_dk1_defconfig +2 -0
index aed6cfad3438..38f7bc8946c1 100644
@@ -6,6 +6,8 @@ BR2_cortex_a7=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
 
 # System configuration
+BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32mp157a-dk1/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sat, 22 Jun 2024 20:04:32 +0200 Dario Binacchi…

The patch adds .hash files for Arm trusted firmware, Linux, Linux headers and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore.

Quoted 12 lines
---
 .checkpackageignore                                             | 1 -
 .../patches/arm-trusted-firmware/arm-trusted-firmware.hash      | 2 ++
 .../stm32mp157a-dk1/patches/linux-headers/linux-headers.hash    | 1 +
 .../stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash | 2 ++
 .../stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash | 2 ++
 configs/stm32mp157a_dk1_defconfig                               | 2 ++
 6 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash
 create mode 120000 board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash
 create mode 100644 board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Dario Binacchi
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dario" == Dario Binacchi <[email protected]> writes:

The patch adds .hash files for Arm trusted firmware, Linux, Linux headers and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore.

Committed to 2024.02.x and 2024.05.x, thanks.

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