From patchwork Thu Jun 20 18:33:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3130 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9B0803FA2E for ; Thu, 20 Jun 2024 20:33:13 +0200 (CEST) Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-36298880c8bsf764581f8f.0 for ; Thu, 20 Jun 2024 11:33:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718908393; cv=pass; d=google.com; s=arc-20160816; b=oczSBaqkkg1LOvwpRbb6wLQlf0meKKEFy1ChHLdZzZm6rpmBvYE+X3k9Uxb2In8rWu 9GGBDPazgvrr0AVN5nQBDWJgunl/tM35dAFbQNXjAonXFsdUwVBOY24Ihw1XceznknyD vlEQvoj6cNl2LUVEhkEdqqY5Awl2TxF5MKnaH5KH15AgqlNfHa3RZdd7ckrSyppFajZQ z79p7FiivM7MBO8M4yXBrgNfzxVE64tGwo8cnE9Eo5IH4YVYtJp9LenCfG2WiAeYRwRq njud2PgEy+AAs0QzQdz2r6j4ThwdkA7AQ5HFPh0etl31AazuaH38GxIdLsurrNcrOoab 3ocQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=G8ybHavdbiEX68ZoMEXANiiCjdKZ/9iMfuc4AB6qZbo=; fh=IrVI6pN5cziQVFcVLaawazXxXXPWeCLRbvz/TtHgC50=; b=D6gd8kRGWQLlTzYgBtwxYDJ1c813hXOhkoEG/LRcQ36rAKE/p0n2ucn7bbJKTfmF0u C44nq4fPIGmMNZndFe/tMIlBmcgmRBsvOPbg4qtwko444c2mwgQLtEH5DWiWxDSNjbj4 l/KUeUxC/AS7k8D99C69+CvRLL70cZqy3TJ/dUcwxErK9tJiU40PtV3N6ZqTfZzLXGXA rARn2zBstq5iEK/WpHwS08bBcRSFpKrmTc7VHjBgNRsdi2wbHe6Dy2b6N1pA6fMTEI9Q t6vK8S5mnpMkmf59Gd8MlD7ttAimg0g/Loh41vzVm7zrsx1P6ppH0TOXtxpfNH45maIh paaw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iQwJawLM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718908393; x=1719513193; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=G8ybHavdbiEX68ZoMEXANiiCjdKZ/9iMfuc4AB6qZbo=; b=qQL5NDV/pIqE6ouRMP12uzXxQiXiT8JrEJ5LywfXqBJTX3UmsWzKn8LsOI8hYpyZIq 3RCKt4QVaI3ySkOiM8Ao0XkobMtnbdOXfLviyFcUEltW8fcD8IkkCJe/CpPZIYGNd8Ri 98E7rPxzHHAcAQbLXCWCOe3mF8XUXljzn1Z5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718908393; x=1719513193; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G8ybHavdbiEX68ZoMEXANiiCjdKZ/9iMfuc4AB6qZbo=; b=Cpri5D87ITUVhd/ZLA41Gq1b6CI5G0qs//0xUKMJrFidXA23tOI2TKznzhjhaXtA6Z nL+dbhDk45P6JhKdOyt1cspxO3t25fLD8smmTmwcm9pldVaXs8/NE49Q6wreEaHf2lrt niZTxrQPjI8QEj9hYxmnNFGVyb6fXGdR6uIaaloDi0N0mkotniLrZqObn/uJcZijXgFd FdBRYpTFW56xWfcpk64ovt/HyvC6eEMBExlSFvBqb9VO34Q1na3hw2P9xrBnpnQSzQrn lU71hUYC8kSZwynxt2Ozp/E1R8eJIC84Y4zvFVlu4fBYo6VVp+zt7S+XFC/M12tVTm8n MDKA== X-Forwarded-Encrypted: i=2; AJvYcCV8IHbol4jyGU2cGF3lO0uHutYFJnK6JZgKfi4DmC/Fs2yK+9T/+Eb1IdpS/+MAnVLskM91H+fmuFF/lH0L/t7j8psSsO6Y7RAClEKn9wskSzJo6ou7osuaPC0Wow== X-Gm-Message-State: AOJu0YxVUo+NzGEaGvVqYJrB/eF/zt6PbmZx9Tu3Qs8lHMUQd+cqI+/a DXGu0zMTcMEBwkWHxRsZdhCXr1LHGKKNSl4+98ZUbKeklhA/fVytRLMF+ve07I1AKA== X-Google-Smtp-Source: AGHT+IH8rXpiOwlhawIOa/VQyjxQsie+vr4oNwLyP59k7mj8Dfbf8dT+tM5CBRroQOOPULkVMgZHZg== X-Received: by 2002:a05:6000:1e8b:b0:35f:17c8:fe2d with SMTP id ffacd0b85a97d-36317c79aeemr5000320f8f.37.1718908392950; Thu, 20 Jun 2024 11:33:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:4f83:0:b0:362:606d:1024 with SMTP id ffacd0b85a97d-36480b3a163ls431792f8f.1.-pod-prod-05-eu; Thu, 20 Jun 2024 11:33:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUUimjEOCmkiRPQK7rsXUijPgXupVneSeEwtB9Si5jAcGM0cMtLDxQlGkc4FefLK/yRKR99f64lxtDdcrcn4jK1J3KWf4LVxjO4stMzUop3R/9a X-Received: by 2002:adf:f6c5:0:b0:360:75b1:77fb with SMTP id ffacd0b85a97d-363170ed1abmr5361811f8f.8.1718908391402; Thu, 20 Jun 2024 11:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718908391; cv=none; d=google.com; s=arc-20160816; b=ggdK8mbBJ/Avq2BQAfP9Gbfjk55pRG49mC2ZuNgnzGsHmlvzWKK5PqRXofQdzmV04g EysVhsBvO8gMz5wWz2yC59r8yY7wJUOsXPpBkABLomOK7oaKUZM6aH4aWSkmTJiMTj4V YL59N4Y9KTqhYcgkpZPFGZt+45nJPaQ4GAn/fRIOijuXj9OpZO21Q3S4JyEmxvyEr7xt WV+MjGSF30KjLMK34j3wJhoLn3b7zdxRQ33/fJbHt4vnD0G8lPw81NqPzoHMWjLMJOLY RpAdob1yVesYdBQM56VJ9yKEFcRbughCUAfrkCT/vBM5dcEqBZlC3h8g6UFvd/Z82cRs m3qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=p9xvLP9g1JA4qq+W4hzAyWGcz7a3Gpdt7WITk93eYas=; fh=K+qzkZuxNRNDGsBvqX1M6zzp+2690xATGRUHqRA4iRI=; b=wGhFFgB0lLdw2Wbvm86zYB4K7Wb4NejpcEEG/3Z4CVzC72N1BYso6LtnZmP4PlmekW TWj1ucxxOati88vcSJDSyYhaTEHmfNhZXKNnpGRIO6vWlLKKh2sjYK0rw+KupY/r8Clg MI1oseykPra1au6JBdb1VsuepPX+XkEb64K7ZJJuiOcoPxKu5N+EElxf96ECQlx7C/qO 4/Za6fLY/aeZ+vD+As5IU0DFaiUskSXA+cb2u8ZclLHgfNYPw5Usg0fwHvEyI+T6qiJ2 HPMSzwGR/IbREAfMN4oS8H1ok/rxrIRauQIaUvCL2dPY4++BfdT1HVm2MxZDVr2du6o3 Tcyw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iQwJawLM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-36464a86c95sor1026614f8f.2.2024.06.20.11.33.11 for (Google Transport Security); Thu, 20 Jun 2024 11:33:11 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCX20E9OxcWzMdDl1flx8ntWn0fP+W6CFc0M3nnzFDw5/0EIQA/Iai8Ti3DyBSXKj8w0v/pLGDF2GLbr1F4ljvvSpD6NHyXMBsgR+qkhdE9kJkbU X-Received: by 2002:adf:e9c8:0:b0:35f:3189:ddd2 with SMTP id ffacd0b85a97d-36317c79ba6mr5195651f8f.35.1718908391008; Thu, 20 Jun 2024 11:33:11 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.43.38]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3646b7ed012sm3053122f8f.49.2024.06.20.11.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 11:33:10 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Christophe Priouzeau , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 2/2] configs/stm32f469_disco_{sd,xip}: add hashes Date: Thu, 20 Jun 2024 20:33:04 +0200 Message-ID: <20240620183304.1835189-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240620183304.1835189-1-dario.binacchi@amarulasolutions.com> References: <20240620183304.1835189-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iQwJawLM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The patch adds .hash files for Linux, Linux headers and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore. Signed-off-by: Dario Binacchi --- .checkpackageignore | 2 -- .../stm32f469-disco/patches/linux-headers/linux-headers.hash | 1 + .../stmicroelectronics/stm32f469-disco/patches/linux/linux.hash | 2 ++ .../stmicroelectronics/stm32f469-disco/patches/uboot/uboot.hash | 2 ++ configs/stm32f469_disco_sd_defconfig | 1 + configs/stm32f469_disco_xip_defconfig | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) create mode 120000 board/stmicroelectronics/stm32f469-disco/patches/linux-headers/linux-headers.hash create mode 100644 board/stmicroelectronics/stm32f469-disco/patches/linux/linux.hash create mode 100644 board/stmicroelectronics/stm32f469-disco/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 3f184fded529..1c537f8b13aa 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -330,8 +330,6 @@ configs/solidrun_clearfog_defconfig lib_defconfig.ForceCheckHash configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash 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 diff --git a/board/stmicroelectronics/stm32f469-disco/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32f469-disco/patches/linux-headers/linux-headers.hash new file mode 120000 index 000000000000..5808d92afe89 --- /dev/null +++ b/board/stmicroelectronics/stm32f469-disco/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/stmicroelectronics/stm32f469-disco/patches/linux/linux.hash b/board/stmicroelectronics/stm32f469-disco/patches/linux/linux.hash new file mode 100644 index 000000000000..5da44436797a --- /dev/null +++ b/board/stmicroelectronics/stm32f469-disco/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 d629f78680dc4b65e3d78b61406fb7757b960c83c206e63ad8c2606b3e3c474c linux-5.15.161.tar.xz diff --git a/board/stmicroelectronics/stm32f469-disco/patches/uboot/uboot.hash b/board/stmicroelectronics/stm32f469-disco/patches/uboot/uboot.hash new file mode 100644 index 000000000000..97a2b4eaf95b --- /dev/null +++ b/board/stmicroelectronics/stm32f469-disco/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2 diff --git a/configs/stm32f469_disco_sd_defconfig b/configs/stm32f469_disco_sd_defconfig index b5358deb5271..0bd598a1a66d 100644 --- a/configs/stm32f469_disco_sd_defconfig +++ b/configs/stm32f469_disco_sd_defconfig @@ -2,6 +2,7 @@ BR2_arm=y BR2_cortex_m4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh board/stmicroelectronics/stm32f469-disco/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f469-disco/genimage.cfg" diff --git a/configs/stm32f469_disco_xip_defconfig b/configs/stm32f469_disco_xip_defconfig index 0afcec8ef043..b2e952ab41d9 100644 --- a/configs/stm32f469_disco_xip_defconfig +++ b/configs/stm32f469_disco_xip_defconfig @@ -4,6 +4,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y # BR2_UCLIBC_INSTALL_UTILS is not set BR2_ENABLE_LTO=y BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y