From patchwork Sat Jul 13 21:52:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3232 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3C7EE40F88 for ; Sat, 13 Jul 2024 23:52:35 +0200 (CEST) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-52ea4178bafsf2945033e87.2 for ; Sat, 13 Jul 2024 14:52:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720907554; cv=pass; d=google.com; s=arc-20160816; b=zdTfmGRctF0omlsJRGD3KJkY2xnqX0FVeNEItBHLYI+1BODb7AkDQfvDkM6Dj08Uho 8pB+WD/MnDktLbzMmzOk11QnkNG+512B9x7fC7ZMDJEDVCQeLlULEAMAgQEERPJfe1jO cQdvjmzStTb1qjEXMijVQEaprbYnWEX17O9mkMsoS+pwqA8HtPtw15oCDd7Xudhe1MCY vHEDOp91BfnB80otMw9qhGWCaAnngcGbseVodzaHxGq2WYtv9J66SG8tjB4LtpwgsoOR zbbSsAdydz481nX3AL4UvTI4xkW8zIbclxrY1OEmD2k5REDWVisNto/BMPpMFNIIbcY7 27yQ== 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=FaFPyJgtzXzoHeMTYe6pd1QPj1DcDgBk7DWS9bjV6iY=; fh=78usYTnGOnghbKBhn5N3ifRjJakGismx48cV9CpybcA=; b=fG16ljfqJSMMDqsckfqm0MMsCDiHxNDfFTPPuupvBa7V1LWz1I61Kcp1Ai6wrriwJL xB0DuL6GWR7Y/VBTKipZ4/Q6O5WZ9gm+ZNkC+1Cvt+RoBoftDYUPz28sBVqlGzKBA5Pn TyH76VXBGE3MQuwktPzTz46cjuIIvwrtSmeLvezerSwpjgeP7AjFURXHGoo7z2JTwkpE JyY55sMo63QHEYL65f0rrhGdtep1VjndIK/5FeruqCEI3RzYEUZnYGs3e06cFtSnOZWc j3zCEx5iSxCTRE/lFqLBFPTLmbi2kycRVhpK/hC6i9Wk9x1JAmI3OQcCMSX6Byjqx0AF s72A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L5iqLwk2; 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=1720907554; x=1721512354; 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=FaFPyJgtzXzoHeMTYe6pd1QPj1DcDgBk7DWS9bjV6iY=; b=ohto7bir8i90a8bUfYaq41wJ801JukzJc1r28w0MOJ2ifJqAniXhuU7F/l04Qnwu5G Ly+mLuLvW/MGlPPpN2XD8kIlYS7TvQuoNhKE63QngVw5sQE8UUoSaaeflmyHOyvuKnKL kRNpPK1gzb1VwSeMHicYyS4AOYsu90ALMW9Bg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720907554; x=1721512354; 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=FaFPyJgtzXzoHeMTYe6pd1QPj1DcDgBk7DWS9bjV6iY=; b=O2ds+Jlj7vHJvR4/gD5ZhY76xYkKoJHRLWnSiDzal1y5vR/6OftWz/9t3YzuaesyOo 2F3CNj6adUwVsomhUze6pdGica/EevuT3kq9re4roP4Jxcl8WUuAcESMHFLl9lvNbMUr afrT8BjPQiiYoqkEZJO/Xu2xfXhGUYviX+EqXX7B+CXrg/L7pviPI683GR2Hjxz7IKRC tRzLgHjNEfhrWKJaWV9VKhL14eHAmpZtLWsZeuAeY159Ih4aNNAfyfiwPhixt/3xWQoQ lmNbWfoGTaKrbXGltkcolR6jGFdjgEJ+M8uprEFrhy3qXcorC5Nle5sIdRfq4g1sPbxr d3Dg== X-Forwarded-Encrypted: i=2; AJvYcCUOGIOeY0TgCpHtnd+mU1BVy9WFCASzMrYmkO4iqsZP4oYNaUmPXuo+ZNpLDK5SCQsOkVeuEICvRhW2elioezRDhnm7fY+CWJ6nYfPlMKy3lqfaC3Q3IsGzSlRpgg== X-Gm-Message-State: AOJu0YxshIC7Uoki2FLtt1ZrkX6HZeeZ2fhJLh2nYLpLTkrhAGQRsRzz ej/Yy1KBMGbzG/7pvoTYwLhLPPv0ogk9T8nwcbcpz4ne0J6UrStW3mzLM2iKbIGDAQ== X-Google-Smtp-Source: AGHT+IEhC4HyzOlo3ZIQKF1728sxqYx29c0QzGHbwZSbpDVzBY23CWqwSTG7GNidDBWNjn+lXsnABQ== X-Received: by 2002:a05:6512:6c7:b0:52c:88d7:ae31 with SMTP id 2adb3069b0e04-52eb99cc65cmr9868420e87.48.1720907554511; Sat, 13 Jul 2024 14:52:34 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:ac02:0:b0:52d:259b:377c with SMTP id 2adb3069b0e04-52ec4504895ls1520543e87.1.-pod-prod-07-eu; Sat, 13 Jul 2024 14:52:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWTbWbYHPaRs/INDfCBs+ElVc8GYT5BRn9V+1dnxFlitzUiGLp1aQyKPLMWQw7kq6M/itOV9BdgDPVPQ54qSCe1GgocT3c7VH4GLdZiLsWKqKyQ X-Received: by 2002:a05:6512:15a0:b0:52c:d750:bd19 with SMTP id 2adb3069b0e04-52eb998fc7cmr12302091e87.8.1720907550775; Sat, 13 Jul 2024 14:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720907550; cv=none; d=google.com; s=arc-20160816; b=kx7rZNXFzLRrDqoKAQm0atxReM+Dp9q+IeI6H60mGCN/dyZC6L5JtkypRkp8mS14dF DDZ4at7NS4MndtvdsgyovawznhSzZ3+bPyGf8/DiS0NhhwLuWLtRGU8Ufuzq4vBd1PlH adKdHhLjwd7pSaFmrX+DW8Xtbt2+l9Wq4MzG0NbXhfDAKM14Y+mI/rXnOLXoOt0uR+re /9tkcWLnxAYUr43v3UULeYM0J7JiiqDGE+tOOr0iDXBlClJHsYJMeJ8Ns5UanYfClmAK zSa/VptMu6RmqE5MDnTf0JNGzxXX7CNdE/8e/zWMgI4eKKFdYUt2T+tGD1S95U6NjoAu +2aw== 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=s0kslVySifvIdBpOB62TUmJisvHRBqWmyl7Fu0shtHI=; fh=h8LhweJJpq5wrUvElamlVCj2WxdHn9BTKf3ijVUcC7o=; b=ICBSDu0ZyWlQlre2WnJU2kIeLQxJyzrEajH0N/M/qSgOFNDvJEJZMjXNXu4obugjsY F0/I2ShQVDVPIl6XKGCpUmWaeR7KJXYr8T5kQqyIpPLc7TpgGqHAzBZPANU/F5OlyqyM Um7h9Z2/Au0gHmCuXIaog//JvmzKu1+L/0cDwpp5+tL2qOmqtrR39pcIst7nR5xuDGOD kHzK9/WzwZxV88hum2Aui+4AhAfihaaTunbm6f5d5PPLZgISY2lbZUNyiWqO0ePf7oi1 RzBY1Tmps7nMntWRA37/wMjNuVRHR5IJC9N1xZqRsIs2j77b9hWTsTCRQQ2cJfEpgoqY 2tZA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L5iqLwk2; 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-a79bc7f16ddsor29034766b.20.2024.07.13.14.52.30 for (Google Transport Security); Sat, 13 Jul 2024 14:52:30 -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; AJvYcCVY2YYafRjPsBxaT3hDKFdJ/MNyskLBx04Zp1Gk+BMAbTC/pu/rbk/1cciQe7BxszAK3QYMQkU8E1UcnpQvPtWhTgm1ZFhUd/J4AMqBDbRssGlq X-Received: by 2002:a17:906:d195:b0:a72:b4c9:2be8 with SMTP id a640c23a62f3a-a780b89f634mr829401966b.72.1720907550174; Sat, 13 Jul 2024 14:52:30 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-44-29-159.retail.telecomitalia.it. [79.44.29.159]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc5d2018sm80223566b.85.2024.07.13.14.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 14:52:29 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Thomas Petazzoni , Marleen Vos , Bartosz Bilas , Raphael Gallais-Pou , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 2/2] configs/stm32mp157c_dk2: add hashes Date: Sat, 13 Jul 2024 23:52:18 +0200 Message-ID: <20240713215218.2665512-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240713215218.2665512-1-dario.binacchi@amarulasolutions.com> References: <20240713215218.2665512-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=L5iqLwk2; 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: , Now that the configurations of boards stm32mp157a-dk1 and stm32mp157c-dk2 have the same software versions, it is possible to share the hash files as well. The patch uses the hash files for Arm Trusted Firmware, Linux, Linux headers and U-Boot of stm32mp175a_dk1 also for stm32mp175c_dk2, and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore. Signed-off-by: Dario Binacchi --- .checkpackageignore | 1 - .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 0 .../stm32mp157}/patches/linux-headers/linux-headers.hash | 0 .../stm32mp157}/patches/linux/linux.hash | 0 .../stm32mp157}/patches/uboot/uboot.hash | 0 configs/stm32mp157a_dk1_defconfig | 2 +- configs/stm32mp157c_dk2_defconfig | 2 ++ 7 files changed, 3 insertions(+), 2 deletions(-) rename board/stmicroelectronics/{stm32mp157a-dk1 => common/stm32mp157}/patches/arm-trusted-firmware/arm-trusted-firmware.hash (100%) rename board/stmicroelectronics/{stm32mp157a-dk1 => common/stm32mp157}/patches/linux-headers/linux-headers.hash (100%) rename board/stmicroelectronics/{stm32mp157a-dk1 => common/stm32mp157}/patches/linux/linux.hash (100%) rename board/stmicroelectronics/{stm32mp157a-dk1 => common/stm32mp157}/patches/uboot/uboot.hash (100%) diff --git a/.checkpackageignore b/.checkpackageignore index db28680f40e8..da5fa2685ae6 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -278,7 +278,6 @@ configs/socrates_cyclone5_defconfig lib_defconfig.ForceCheckHash configs/solidrun_clearfog_defconfig lib_defconfig.ForceCheckHash configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash configs/solidrun_macchiatobin_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 configs/toradex_apalis_imx6_defconfig lib_defconfig.ForceCheckHash diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash b/board/stmicroelectronics/common/stm32mp157/patches/arm-trusted-firmware/arm-trusted-firmware.hash similarity index 100% rename from board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash rename to board/stmicroelectronics/common/stm32mp157/patches/arm-trusted-firmware/arm-trusted-firmware.hash diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/common/stm32mp157/patches/linux-headers/linux-headers.hash similarity index 100% rename from board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash rename to board/stmicroelectronics/common/stm32mp157/patches/linux-headers/linux-headers.hash diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash b/board/stmicroelectronics/common/stm32mp157/patches/linux/linux.hash similarity index 100% rename from board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash rename to board/stmicroelectronics/common/stm32mp157/patches/linux/linux.hash diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash b/board/stmicroelectronics/common/stm32mp157/patches/uboot/uboot.hash similarity index 100% rename from board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash rename to board/stmicroelectronics/common/stm32mp157/patches/uboot/uboot.hash diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig index cf42b29a7c0b..310e179cf782 100644 --- a/configs/stm32mp157a_dk1_defconfig +++ b/configs/stm32mp157a_dk1_defconfig @@ -6,7 +6,7 @@ BR2_cortex_a7=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_9=y # System configuration -BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32mp157a-dk1/patches" +BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/common/stm32mp157/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" diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig index c923d2cd60bb..2a9c31df37c2 100644 --- a/configs/stm32mp157c_dk2_defconfig +++ b/configs/stm32mp157c_dk2_defconfig @@ -6,6 +6,8 @@ BR2_cortex_a7=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_9=y # System configuration +BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/common/stm32mp157/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"