From patchwork Sat Mar 30 16:02:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3063 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D81713FAD6 for ; Sat, 30 Mar 2024 17:02:54 +0100 (CET) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-515d45b24f3sf880967e87.0 for ; Sat, 30 Mar 2024 09:02:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814574; cv=pass; d=google.com; s=arc-20160816; b=bx3XYFm+Kw2xyhRXqGInXvJfpzHFH797BU+8u8NKN2kqZqYdY5BPYhnjujN3nQZCy9 ygQ/G1xD0eFUXH7M7roM2e2Fm2HpsmUZs5ybH601GrcYNWKd84HpYTDygxYcXZqRHPgU JV1iu6IjLV8v+orrEDtvrhDM80lZvZmWLKFk1/ZvxHsMj7BABNAtwIsLNO0Vbh0YAE6N SbIx7FpqV65VuBxIV8CmJ9WufcRTrCcWXWinj+iXPsPRyo72HA3WDdgqzcq9TZBYS6I5 vmSy64CtW67acaMzXV+nLD4f1W6JGAnHdUZfKXQQtFz5UHs9feknzXf8+nwJsNVOqLy+ V+BA== 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; fh=uugjtMlLIOo+pEbcWxiCRllfIh3RrWsuhZeEjod0dKw=; b=u+HXHz/iIDeEoSsVlwVshRNJAK5ZDYe0IoB5wyNTtI/MslHMHgqkxrtZCwq2aUmMbi DCVzHzFyk/9jjSpP9dpT3FcASbI+eKUjEecvUTSr2gI1TAYgjDGOsg4ORC5U69Bh3Awy KzR9HZYVIqz81iZfHZXqJ/K+WgqDID+5A5bcY4+rHdsek95gAOJmhh79B+tkoYmbCSa2 cNdpDgGm7d99IqAmZlOU8f738IP3g3R1qMAXRBSE1hSqqxNd603JxD+hR68ONmgtpBEB GK5+FcOI+eFIHRZ8r4RU0PPw255iKu5gwiQdE1dn5zfbLVIViZiR1Xnemg3sDKS2alcc dedw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dilLqtgC; 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=1711814574; x=1712419374; 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; b=T2cjFTSMZczNH6hC5fN8IYCJrriXRdIN/YSEOkK8w3ko/GCdo0yk73Ab4mE/QQSBvP mrnAb2tvhjS5PNem1/4g3fzn43xx+OB728eDJlZprFbxvwddVGhPQ3PKYNA9SKIq/mGu ltf8CU75UNkVoUDUmgdwcHtEFhFdPeFf2XqUM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814574; x=1712419374; 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; b=jpz46RRKhEiZfThDxASCfanhOuwyo+Oe/A4jEe5WvhfhV/eReal3XPo+Wt91VB6qKI bNySJkJ1h0Oy8kRd3xtkQsOAgDhUCrRMkZGvfINop+p77ozWzDs4k9ZqLDZW9Ycizgc1 rLbkOAbL6rdQpQseRr3aTofuqKuRUo25NlNx52mTj8IETLLpwUGsRhFy0RVtwmH6+BjE 7sf17bD+U2bgvIc32VJ8hkweD7dJhjyTWtEJPgBPQA1CW3mqL6RF1KyftUu2Kl90ojTv KxXQnu9BWgQcoOgN2iBzGVG4y1ks3UAusPcxz4a28kyZrMRYHtPSXLiBQOy7IgqtpcYl 6NAg== X-Forwarded-Encrypted: i=2; AJvYcCUnDHWXuZxmjxfuSXrpeTcOmn5sMhSeDAvq826lS/i8FHtavBDAGLsdJ/PLecRaeyN/TnOrhvf6dM0N75zK7z/dtYpvZKb1XUGRo7W/eqLGVFazL37f8jAOiQ2sHw== X-Gm-Message-State: AOJu0YxgkBO0ay/8qZzJ2hTWAox7JykxfxrCsiap9oZZosPXbR8j6LqJ iJ5krqB2tsRpv7zz0p2iNBIS4P8V+dmLJSBIP0SwB07sIk5pO2wJUKfxw6yO7f/UgQ== X-Google-Smtp-Source: AGHT+IGWfB4W+dD5EoJoTmsdTW6SB6IkE6MSQXEjpjjBTukNuOw/xJRW/soWxIj205K7TJau36NcZg== X-Received: by 2002:a05:6512:aca:b0:515:d50e:c4fb with SMTP id n10-20020a0565120aca00b00515d50ec4fbmr2283068lfu.23.1711814572994; Sat, 30 Mar 2024 09:02:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:58db:0:b0:515:e1be:8649 with SMTP id u27-20020ac258db000000b00515e1be8649ls354948lfo.2.-pod-prod-01-eu; Sat, 30 Mar 2024 09:02:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX4PXshmaE2pGCgWIzZH5an2pops5Y/9aeHHIrHlQCwvdPDUXh8tnL8vbzJUWEQ8QheOrBcqJh3akg0RUflMZGJjAkMePtaQSo8mb34ByJKTADg X-Received: by 2002:a05:6512:308e:b0:513:c6ec:fa6c with SMTP id z14-20020a056512308e00b00513c6ecfa6cmr4730661lfd.48.1711814570973; Sat, 30 Mar 2024 09:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814570; cv=none; d=google.com; s=arc-20160816; b=QT14SMk8BnbrAZq0zpefmyOLR1ojOit32J00L3yvj3xFaamhIPptJ2eK80r6ubY1VK mCxQkO2Do8ZBxCMsE93TNLbp3rD4AvcFPGgJarQpetqdxcxP7NHI9H1x7vGN80fNHy21 0QC0R7x9TitlmLBv6IC2Gx+gDiK0yLe0eMpgBTA9Jk6j87brwMPMr2kktGTIM6Hw4HGI L35oW98h7LKVfI7sjkacW1xDseHec7HGoZo2hzxGaUkaTQd56/dXHdXJoxFzZ4ml9qKy TMfNSMJjo18AarTntVZMDlXPYKZxpYNEVCAp2d1PE243AX0i97ZyADMpdTJLpo0t68x6 Wr+Q== 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=cv7VlLAcvnxrbd6d8Ys+/QLZBy+FUh8l9zhQL3I/tAI=; fh=irxPRpNUzqfljZGPQHOgoyWd03BVInIs6Z0jlaMK3XM=; b=xvToOcvvL0v35rdbAPA509jaJ3us2A0Wt1LdrqHDxZ9nH9Zmu/kWU9NZgAKlya9EOo zEDbZPriU1uE0X1HUz7m8DDPhE2CZqzeMOYKeN3Ix6vwrECu8+ynTy55zl67LX0Nqe3X rdgfAyKusJHHcNoO9nEmDX2PolsbLvxUrSsEmhOug0VUDYfDNruUIFRTTSr1Llh63q+g YBU1wI0Khywu5+JrQPRcn9glPhrx8a0jEnrTGNf9/VAqp8uvvw9qTlmT8ABuhl09W8Wv 2pWIVMUJQxHfG2wCnNhfWs1uUoPJLg6N3XMDeN3RUE21CSmNFeNN7LtEchJw60UKzbhH 7eLw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dilLqtgC; 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 cf26-20020a056512281a00b00515b1472accsor1850224lfb.26.2024.03.30.09.02.50 for (Google Transport Security); Sat, 30 Mar 2024 09:02:50 -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; AJvYcCVv64pA8/7n4/t7J7YyUM/dA4lExqUJ1fmdPMzd0V7VJrgtyln4u28Aj2Yg9EC3ShxcsLy78UkXN3ZESeqNHBaDQ3TCDTwkoK+SJVfU64VKwhV6 X-Received: by 2002:a05:6512:32c3:b0:513:bc63:3451 with SMTP id f3-20020a05651232c300b00513bc633451mr3892330lfg.43.1711814570304; Sat, 30 Mar 2024 09:02:50 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:50 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com, "Yann E . Morin" Subject: [PATCH v10 01/12] boot/ti-k3-r5-loader: drop hash for version 2022.10 Date: Sat, 30 Mar 2024 17:02:33 +0100 Message-ID: <20240330160244.3214733-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=dilLqtgC; 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 removes the hash for version 2022.10 of ti-k3-r5-loader (i. e. U-Boot), still allowing the ti_am6{2,4]x_sk_defconfig configurations to properly validate the downloaded package with the appropriate hash. Link: https://patchwork.ozlabs.org/project/buildroot/patch/20240304153253.732708-6-dario.binacchi@amarulasolutions.com Suggested-by: Yann E. Morin Signed-off-by: Dario Binacchi --- Added in v10 Signed-off-by: Dario Binacchi --- board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 ++ board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 ++ boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 1 - configs/ti_am62x_sk_defconfig | 1 + configs/ti_am64x_sk_defconfig | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash create mode 100644 board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash diff --git a/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file mode 100644 index 000000000000..2a5c99c459f2 --- /dev/null +++ b/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 diff --git a/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file mode 100644 index 000000000000..2a5c99c459f2 --- /dev/null +++ b/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash index 279cb7763afd..fbe5d215409d 100644 --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -1,4 +1,3 @@ # Locally computed: -sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index a129e216d25b..37df7a93f77a 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,5 +1,6 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_GLOBAL_PATCH_DIR="board/ti/am62x-sk/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg" BR2_LINUX_KERNEL=y diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 26195194c7d6..1ebdec68ac01 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -1,5 +1,6 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_GLOBAL_PATCH_DIR="board/ti/am64x-sk/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg" BR2_LINUX_KERNEL=y