From 4693fd4f72b1c4b29003a08a1dd9ed6fb60f4d8b Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Wed, 18 Sep 2024 20:12:35 +0000 Subject: [PATCH] configs/ls1046a-frwy: add hashes and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES Signed-off-by: Brandon Maier Signed-off-by: Thomas Petazzoni --- .checkpackageignore | 1 - .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 ++ .../ls1046a-frwy/patches/linux-headers/linux-headers.hash | 1 + board/freescale/ls1046a-frwy/patches/linux/linux.hash | 2 ++ board/freescale/ls1046a-frwy/patches/uboot/uboot.hash | 2 ++ configs/ls1046a-frwy_defconfig | 3 ++- 6 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 board/freescale/ls1046a-frwy/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/freescale/ls1046a-frwy/patches/linux-headers/linux-headers.hash create mode 100644 board/freescale/ls1046a-frwy/patches/linux/linux.hash create mode 100644 board/freescale/ls1046a-frwy/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 1cfb2939d8..9e81400f89 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -172,7 +172,6 @@ configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash configs/linksprite_pcduino_defconfig lib_defconfig.ForceCheckHash -configs/ls1046a-frwy_defconfig lib_defconfig.ForceCheckHash configs/mangopi_mq1rdw2_defconfig lib_defconfig.ForceCheckHash configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash diff --git a/board/freescale/ls1046a-frwy/patches/arm-trusted-firmware/arm-trusted-firmware.hash b/board/freescale/ls1046a-frwy/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file mode 100644 index 0000000000..17c409530d --- /dev/null +++ b/board/freescale/ls1046a-frwy/patches/arm-trusted-firmware/arm-trusted-firmware.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 0dda154c335e1a50c727601e698b6a0827e3f92308873b373449fb888df5acfd atf-LSDK-21.08.tar.gz diff --git a/board/freescale/ls1046a-frwy/patches/linux-headers/linux-headers.hash b/board/freescale/ls1046a-frwy/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/freescale/ls1046a-frwy/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/freescale/ls1046a-frwy/patches/linux/linux.hash b/board/freescale/ls1046a-frwy/patches/linux/linux.hash new file mode 100644 index 0000000000..bd5e29d026 --- /dev/null +++ b/board/freescale/ls1046a-frwy/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 6db58cf91b98f7fc279f341279a5d43d4069fb56a660a34209aba6af53ea2b57 linux-LSDK-21.08.tar.gz diff --git a/board/freescale/ls1046a-frwy/patches/uboot/uboot.hash b/board/freescale/ls1046a-frwy/patches/uboot/uboot.hash new file mode 100644 index 0000000000..d0cc110fdd --- /dev/null +++ b/board/freescale/ls1046a-frwy/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 6279c161ad8a218b549e6631be969b74f358cf01a20103953ccaf3bb14185ac2 u-boot-LSDK-21.08.tar.gz diff --git a/configs/ls1046a-frwy_defconfig b/configs/ls1046a-frwy_defconfig index 077e2f2dfa..560630fde7 100644 --- a/configs/ls1046a-frwy_defconfig +++ b/configs/ls1046a-frwy_defconfig @@ -1,7 +1,8 @@ BR2_aarch64=y BR2_cortex_a72=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_GLOBAL_PATCH_DIR="board/freescale/common/patches" +BR2_GLOBAL_PATCH_DIR="board/freescale/ls1046a-frwy/patches board/freescale/common/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="ls1046afrwy" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"