From patchwork Sat Jun 22 18:04:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3138 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E4BA83F18D for ; Sat, 22 Jun 2024 20:04:43 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2ebfa13d277sf23610721fa.1 for ; Sat, 22 Jun 2024 11:04:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1719079483; cv=pass; d=google.com; s=arc-20160816; b=TMSwrXUrZ/Tv+KB/4IhDYT9PURQzM/6eRCRC5VRHf2TC+/2duwVYub3Ek4eyNe9ymh a6uda+eRs5UYRW5AnpPXjsAtIm6ORL5wZ4OhZqgGLTvG8+6Z2m7a/854ugf4LwqdOr6u 9zsFalnzu7D8BBGJvx1/u3Q2/chlYo/WO29TwmBe1myr+E4NK875BIyvITIXTa0PaNC8 vc4IqecdR9EOMW6xBloZz0ClLEr3W6MNd6jFSF732R9b7Y2P5J0r1pwl7vnpPhGxAv1i dRsofPvEZTeabpCH4MxRcxvo1ywfo7CQQuFoNRguDYNIQ2DoSajAWEFsB36e3YgbIIpp Xa6g== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=8CcWLY39a+MMML57FnenMvltBWbCJVZjMp/3OI2nzxI=; fh=ynYkA2Wi5M5x0NsEyyd3DQnWne1lmQjEOgrCXA1FzCM=; b=ranqIXhs22i+WtRKdzJmkHCvVx6LZAUvD/nUnv7dLgy130QjaZDjRXQRbfUeA1VqTO ZfG9ys/FvTAJ/J6IwWdmEPooFyzfCLMLGAqLKrUjyh32xhXnopK3LfFc7dZig9sJudWG Xl+unmgV1p8tsQgwtQCjqv7HbSa8SiRmjlVrUhTMUn1jI3ni3kFdRRA+d2EcN/4dgbMY KG4RALNKyvYd+4FucISNDqMAb6Qnk6dOYfrHfUDCHSbSoXTqt+M8C+r6NI++Gy5F3l1k m9Na9EEmiI6rLbNaagljvnXRgFqaVCMyNurXBoxjmwf5kokiNJ2Wg3dK7D4l92QG0Orv O/PQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dPdzwkQl; 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=1719079483; x=1719684283; 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:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=8CcWLY39a+MMML57FnenMvltBWbCJVZjMp/3OI2nzxI=; b=gPx8EhM2VICSxn+DECC0HE/u/sFlFjeMLyfMgDW23ff21YC43uCKvK6uLw6NuSLvN3 1mg8L+CL93zAvahjMUGfCbDBAKkF+J+nwoF89So5ugqJV4ivDPH7XyjxTd5SPy1jvxgo XJwK8MBNpo3ZSYJ+VqmY9Wi3Muqh9F45YRg+k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719079483; x=1719684283; 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 :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8CcWLY39a+MMML57FnenMvltBWbCJVZjMp/3OI2nzxI=; b=ufIBU/EAe94M7Kwg5BJtQCrWw4puXonzDWyv9kwD4F+70YtTWDNMXYRRGIYYt8FXVt zCKBOURkNbCf0FEyfvLUr8jlsYLgkyDYr2UPp355i/JFwTtRF2kZZO3NDelSEARN44dk f1NzGD0cNGkSiTNockqdghX28oSNKOCaRHrz3zZ4m3XxF8zS3y8atLM/szUE/g8nF304 zuRjVQhkmkwM6Q48NQRAB9fGEasgpSuma+vcsVXzZ5CtNVQiUNbo+sgnURjhnxQqGyd+ +4MHo5WBuBQE7+IECChJmsbkecLLXUj2P/BDWgTigaW55kTEXTIcJdBcS19laYDERL5R HmZQ== X-Forwarded-Encrypted: i=2; AJvYcCVSDAJlZc2L9ElXgtnouz2oK5S4IHQX4WFvDBNfxAjLonbPo2H4mTOYsUwymuqP37FrAs1L0R4ktCAzmNQG2Sut4i67KaRset3OkM08y/3p3LHnvDgHFBRQQht7bA== X-Gm-Message-State: AOJu0YzNUGKdc1UbYInAx+Ow0UDnMH9zRdCwXh08PcVGrJurCOHJ7P4j q84PJD9lyr7Ve3ncUC3g7z5uOi7LDQtHG7ILSDG0GpFL4C2Djc1iZDmg4ipi2yQgJA== X-Google-Smtp-Source: AGHT+IHkqzsrB4FGy22aAAh8JPFafFNjwMUxgAulKcKmz3BAC+wOHAmCKZ5Qn4jO42K9WDDvV9Yc/Q== X-Received: by 2002:a2e:97c7:0:b0:2e5:61f4:2c11 with SMTP id 38308e7fff4ca-2ec5b36aa4emr2580061fa.45.1719079483015; Sat, 22 Jun 2024 11:04:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c1d3:0:b0:57a:79dd:4491 with SMTP id 4fb4d7f45d1cf-57d1e540726ls1439015a12.2.-pod-prod-08-eu; Sat, 22 Jun 2024 11:04:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUz3rfJJKwSf8GHXKnXHHG6Dk+msGHMnD6MNVwoq8r9NaAEAtm9begkruSCa1IblPP+YnvC3veFQY8tE1MTzc0RkTPQ4235fKhQ3N8CVa5Yc2iC X-Received: by 2002:a17:906:f196:b0:a6f:bf5d:b365 with SMTP id a640c23a62f3a-a7245bbd247mr25941866b.33.1719079481354; Sat, 22 Jun 2024 11:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719079481; cv=none; d=google.com; s=arc-20160816; b=nqtYl2jmcy7SS3YWw8GAz4os2eHzJk+gG3/iC7m96LE0Z5+kRo9zth+4XX36QCI3YA o6WFe6TZgnPJLVYsLrQ+YdDoURzmoax4kBszjeDi+vWy+eJTYVWtmWnR9kMjeLIEWf3b 6PcvuaxvbrRzWuxV8O5oNuO/ZfxbD8bWmL/BkBZ81H1J+FrVutIK/j4OD8Nv6rVBGA0b 7OpmPF1Mc3X73s2rV30N4UomFwdf1wpzotiF0Iy18+fITPOAauiqYryVBwUmMdy79K44 9fvz8xD3f0c9yRlIYUAmXwndNplnufLuGhu0LCMZeN0Kg68m/XyYo1L92maL2t8MWLOQ KelA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=TfUAsDRzCiDYS7get2GPdbA00ZW4z/fTNxtjWoUcDis=; fh=KAfCmDzOFjzVPb1MJQi2jh7RarLl31HRTLLSdHBIhe4=; b=TS3UTJlcQZia/tnI1mc7nGwzJZ7Mco06A3g/Zqpxxf+8dp2m3giG0rHSNJ9mQJjhGN jFvaVprPMGnWvTyH6I22sMJy/cCYt8Dwqttx/xICiXoFkYoXMHX5F1oqBHH7/6UrfZ5Z xzvt3hi3CJO8OY5nl7uhiaXJSJJTZqFbl2EviRAaVgZVTFz1K5T0b1vEchRkoXuOU0cr Cu8c2nb5FYDyUAVrhdU7T4KErkYpk2/xZC+hETC0lAcu033Rv00fJys6W/upTMpdczTc 550EkPZr4lKZLYP0oS+xm+O2gO1XeTLn4+3fyCuN8Drw+IHsuBZhYIXDM8UJyxJc/iSV PGZg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dPdzwkQl; 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-a7111a85a18sor20121866b.9.2024.06.22.11.04.41 for (Google Transport Security); Sat, 22 Jun 2024 11:04:41 -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; AJvYcCVZd5O1KBW0JLvlwTh9EgZzU72vcKjfG6lBjbm0gXOVO/bXRMmB/HCbNFiF9B1Xfq1P3iXGawqDLzo2aDIwDX4c5YS/WSqfxkoyxw83hWAUFtFG X-Received: by 2002:a17:906:ad90:b0:a72:4320:19f3 with SMTP id a640c23a62f3a-a7245bf6283mr27317666b.39.1719079480853; Sat, 22 Jun 2024 11:04:40 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-2-40-31.retail.telecomitalia.it. [87.2.40.31]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf42a65bsm219537866b.40.2024.06.22.11.04.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 11:04:40 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Marleen Vos , Bartosz Bilas , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/1] configs/stm32mp157a_dk1: add hashes Date: Sat, 22 Jun 2024 20:04:32 +0200 Message-ID: <20240622180432.4094568-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 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=dPdzwkQl; 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 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. Signed-off-by: Dario Binacchi --- .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 diff --git a/.checkpackageignore b/.checkpackageignore index 807cee1a08f8..a8693e6b1f08 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -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 diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash b/board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file mode 100644 index 000000000000..97c4500711fd --- /dev/null +++ b/board/stmicroelectronics/stm32mp157a-dk1/patches/arm-trusted-firmware/arm-trusted-firmware.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 068325043b7c8ecc47ebb8b4f241f01e86d3f69dc49a63f340aa94bd41a9e6df arm-trusted-firmware/arm-trusted-firmware-lts-v2.8.16.tar.gz diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash new file mode 120000 index 000000000000..5808d92afe89 --- /dev/null +++ b/board/stmicroelectronics/stm32mp157a-dk1/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash b/board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash new file mode 100644 index 000000000000..8b7624cceb9e --- /dev/null +++ b/board/stmicroelectronics/stm32mp157a-dk1/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 3f6baa97f37518439f51df2e4f3d65a822ca5ff016aa8e60d2cc53b95a6c89d9 linux-5.13.tar.xz diff --git a/board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash b/board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash new file mode 100644 index 000000000000..7cef5b688ec3 --- /dev/null +++ b/board/stmicroelectronics/stm32mp157a-dk1/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341 u-boot-2023.04.tar.bz2 diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig index aed6cfad3438..38f7bc8946c1 100644 --- a/configs/stm32mp157a_dk1_defconfig +++ b/configs/stm32mp157a_dk1_defconfig @@ -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"