From patchwork Thu Jul 11 09:05:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3203 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2221B3F15B for ; Thu, 11 Jul 2024 11:05:39 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-57d557bfafesf550697a12.0 for ; Thu, 11 Jul 2024 02:05:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720688739; cv=pass; d=google.com; s=arc-20160816; b=Ajr0XYv2nGOwN9GxPWisdGGj45ICP3VGsoo2ErTR67buRKClikwY1UOdc4Ibb1BtRs rYCBsIQXM+9FdooQ8+l/4r7J2eLdSf+6S+dM5pPzJ7C14v+58gIoLVeZjzpb/vqkbLtx y1CqGwGflqzBPGwmg3dXJQoeTlTcQqkzxdF69RikQrZLzBQQ6uI7qQF040f1bl74EU6i OVswroBmYebeyM/OjaFtPwB6DuV1d6uew69BcUf33kvtl7ltnMzSBpov9xVCsfKKuJuJ LTKV300dtlehGuGvhWxq/Gy4e6L44dye1QDFH3JUTkLAw2U3hgAxxzfukNDMXi57B3vj afog== 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=KEEx0Gfgauyjy9jM+eiuT6TA0MH7VzFQxim8emjGfMw=; fh=990dww6Ao7yvKZk4G+f9ZR0NrG7/vijP+l0I5NExjrA=; b=bGOTqlDImt84gOforRHdI10Y5PBEnPAzB1RAUU7ftzY0KYtxb7RWHbJ4IZqFglk02h J73tKzZq6RA55W7sV7Cr0hz/MKsHeEQ7Xv4GBRI4zcC7lhlAYsAw4xu2SyCvsz/VhV5z Vmghnl1xzuqtaP9oTm7voaqIihdbI/laC71ThakFK+5Xb7hOoDBbOhnLtZTJj5BWLyC1 c3peLt4hwaaKOKEhmKRF67OCSRErogs9v0j3qFe0sav63OMzvn6p05XRBAVqeMPmIUzI FnlNF813hGHbtE52mGLpM486YvW+f6WAFa7SFJz/41oKZGpLhUlAphSI99eagIAvDQbB qieA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="kLhdz6/p"; 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=1720688739; x=1721293539; 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=KEEx0Gfgauyjy9jM+eiuT6TA0MH7VzFQxim8emjGfMw=; b=dgTgai8myrI/JrQBUVH26uTGqetef9PNNXG+YgGqgUaH9Za1Qt2amegL4M4FQtg5eG xC0T98r6l2WagNnFs05gGe9yGTwQFJKPj+jMGfFApkut0yUDCn/C2nwVo8w6t4Vm4H2k 4ToJNOB0JFd8jk1mbOQ2QGspZYMJR9R52gLyQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720688739; x=1721293539; 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=KEEx0Gfgauyjy9jM+eiuT6TA0MH7VzFQxim8emjGfMw=; b=iAI9wlUDHDr2Y4Rio3l1nC5CEx1GpKPTW9B9o7ImLA4/reK/cNiPOIWx4YSA09BpE1 iIR/ZRS4pPfMn1ryBFdsxcRbqYyNw6c4EgCS4E07rc/WOLeLwSD+7N6Mv0MKnrLn/CPN RuPm8pwkCZkKFAmwmQOEHZmsoAql3VWmw0RIBSbvoSP9ZCn6+npM8M7FM3v/h/F7tUA+ kK2oetC9pDP1Fijj6F8btTS0BJSJpJwm6oKc/SukK3YkVL2//gRWXDP7dMB9NhzbX5Jt N/dqzVmpgec63m3z0RtvTqs3t+rdbwnQT1mqJRld8zmfBGSQkVuUh4hTnh2eXkNWNBiP mNuA== X-Forwarded-Encrypted: i=2; AJvYcCXdKbGk6+I7+wlERzbgRkt5WoZ+66z2XtyJW1UP4f217997IzX3uZ5cPyrww0rZgMJ7lhhKKdQVdu1HRSV7APUepo/f7n5LRYi5cUAAsLpfHOps9ug7FAOiOgsPyA== X-Gm-Message-State: AOJu0Ywm1LNQ2HuPg2iwxb4eMtRgyBu7YdJxFN7pnK61FkERGwoxzbhx 9sJ4+VmoFyjdWSgqwKntsRKJaKyMqYZQXu33pNBPJzgBWSqMIQv15RvIQWFROmm7Yg== X-Google-Smtp-Source: AGHT+IH6d31wJoy9Y1ChfjHldgJ/4GSDGtVN36rucbuTXGQSFcm/ROuKV6+/uFK2HwU/9bADL+Fzdw== X-Received: by 2002:a05:6402:3588:b0:58b:db7c:93cd with SMTP id 4fb4d7f45d1cf-594bcba681bmr7003566a12.36.1720688738865; Thu, 11 Jul 2024 02:05:38 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:94f:b0:57a:79dd:4491 with SMTP id 4fb4d7f45d1cf-598267132bfls268452a12.2.-pod-prod-08-eu; Thu, 11 Jul 2024 02:05:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXdfvkk/EDeKDsdEQ/4JswRubTX+CCnNk6p4P1pkryBIijfM3eUMxdJtQht5WK24uIx24D9Qcki+xxUuPfItttSsWrofGgNw7ZKw2I4gOvCmaxp X-Received: by 2002:a17:906:9982:b0:a6f:b0d0:1beb with SMTP id a640c23a62f3a-a780b6b1c63mr552765666b.24.1720688737360; Thu, 11 Jul 2024 02:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720688737; cv=none; d=google.com; s=arc-20160816; b=KQ7ciuMiOPy/HuHzgosedx6rcUOLwm4ynWB5dLrbKORiBKyiET6m0A+f3FSCgy1ATV mHdlmfz91w7M6YhGw4Gb6DSMiWBu8RbwVuEXwI8A3gnigyxOVhL/zf+WJVcBhbj8pIux H1KTF6fwrgXWD4jHQl10FGMu7zMdUeQf1zEKIgMC6PNw9h6ZoGkJqF9TUykZvFkVeNYW uBrXXegS7lbnSJACxUakiNljw5dZOa4kG99BzfhYiApEnH34hI8GoXmvWK5smBhmHHru zdpuruiD7zAXfMC+iB2LUTLB6QLBGptAYZ1R5Achvp6FfE1bplXimHKb7uum/I4hj+2D wPKQ== 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=OQxoHdk011UmkWBfUifqNSicKUxDutmeM0/ppxXjKxk=; fh=EKM5ugAn9FNKux053bV29xPan7/i3mjQUIvcLn4Y1f8=; b=r288tY+sFbHHPAjCoJgLQs3Vl9ZPiQpyxtR5/S9EK23f2xid9D4uAGHfdi07gaWDou mwNJyrHoMS2jziFyM9KfCZzmT3iRjTpklzN+P2RWHlSMCUM1nZ7ieXV+D2k/pJCJhZaj HNi6wp6iaJ0tGg/hGOC1smOXs7c+aUtWv8FC9oMuUtGK1KoUkAq8lCg2hHQaoGQx/pSl W+C6IziILfvlS+js73S57gCsQ5uuYTgNZz7/tQFKPKbus6/dOHkaUkTUX1LMKBcLtfv3 3hvUhAXHOWvwUi97m6vmfyZw31HDuX17MjC6jWWTCODfMjSPiKM0JnjtplRfUKvfp2w3 TIuQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="kLhdz6/p"; 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 a640c23a62f3a-a780a734869sor217753766b.12.2024.07.11.02.05.37 for (Google Transport Security); Thu, 11 Jul 2024 02:05:37 -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; AJvYcCXAm4HF7yia5zm56zrb+xmwR5FuX3qUczthAWYF3bUPs+LrvIVoikQ5zNSih9MxPv+3a6Vg1H7OJrG0pITfth7QHSpsUXtmpKsM1WE0j+QeCRpr X-Received: by 2002:a17:906:195a:b0:a72:a05a:6601 with SMTP id a640c23a62f3a-a780b6891f6mr555200466b.14.1720688736852; Thu, 11 Jul 2024 02:05:36 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.40.36]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a871f03sm236739166b.197.2024.07.11.02.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 02:05:36 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Christophe Priouzeau , linux-amarula@amarulasolutions.com, Thomas Petazzoni , Dario Binacchi Subject: [PATCH v2 2/2] configs/stm32f469_disco_{sd,xip}: add hashes Date: Thu, 11 Jul 2024 11:05:26 +0200 Message-ID: <20240711090526.2206829-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240711090526.2206829-1-dario.binacchi@amarulasolutions.com> References: <20240711090526.2206829-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="kLhdz6/p"; 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 --- Changes v1 -> v2: - Update Linux hash for version 5.15.162. .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 e539c0a15f78..9a4684042295 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -286,8 +286,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..d8e8263e9eff --- /dev/null +++ b/board/stmicroelectronics/stm32f469-disco/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 91bfc0ea152ce7b102a0b79d35a7c92843874ebf085c99d2ba8b4d85e62b1a7c linux-5.15.162.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 689a12941630..d440d6d2017f 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 000265d83155..5a9d3e8afc77 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