From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 26F71C433F5 for ; Wed, 6 Apr 2022 15:55:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B10BF83E1F; Wed, 6 Apr 2022 17:55:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="nghbpTuA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D814083E13; Wed, 6 Apr 2022 17:55:15 +0200 (CEST) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 543D183DCB for ; Wed, 6 Apr 2022 17:55:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id a11so4916367qtb.12 for ; Wed, 06 Apr 2022 08:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=fXskrnf3fSHuWydQIj5Wmp9YTfbZ2ZQSe5jmkPxpca8=; b=nghbpTuAkcU0DNz8fb9XWedR4hXqKq2xwTJdjn7NqHzQ9GV8FHJv3NPMIkAqSLNDRj VoiMcQ4q/D5XHfKRO3+lXJRS1XIGKIu9X41fGeSMs/wjTE3DbmJQdiVnKYTM37+4iA3Y sYAbSxYNKYs9hBLd8MdnzS6bTrcDo1wWbfL58= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fXskrnf3fSHuWydQIj5Wmp9YTfbZ2ZQSe5jmkPxpca8=; b=C9EvzKxGbsVxQCrDC5vo7j3khUlP4tkl+E6VQYinHr2WG8T1zLGvyxnDUN4SGaBO54 Bwh5NHLzjJDHpJUe83DAk8MvpBwT1yS4bUpf4FiJF77mkc1WmzxqVHIUHvVRv+qElXiU /UcTCKPHmpVpiaOVY6gB9Qu2KhynL9BzL/PQASvD4QGlIsVZ+7h4NM3aXyNcFemjmvRd qn8A17rgRAfI+fXqW1qs5fSzTCfZn12mlQvu2fyNoODF+glHBECHfJ1crbVrwWRzZxce 2oipG+ekutEqqOatFtwzTPP81bSq9rE4eMeFom9A4swv30AL2uedPBn8r8dhd89EYVG7 Iqig== X-Gm-Message-State: AOAM532uxqe8lUIsXJ91R+bTX8BWyVQ48qcaCAsobIYHhDUTHsVLa5qZ EjGg7xzqrFt58bfCuwOe+wIwfg== X-Google-Smtp-Source: ABdhPJyxRj5KCw8+PW+HakvdujckoT81JB+KW/KQzIyST8Y/f/gjCXIs++gZP4DODZZnAfFKWnyMiA== X-Received: by 2002:a05:622a:1999:b0:2e2:2928:db7d with SMTP id u25-20020a05622a199900b002e22928db7dmr8333650qtc.160.1649260508953; Wed, 06 Apr 2022 08:55:08 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id p13-20020a05622a048d00b002e1ce0c627csm14033760qtx.58.2022.04.06.08.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 08:55:08 -0700 (PDT) Date: Wed, 6 Apr 2022 11:55:05 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , Alexandru Gagniuc , Yann Dirson , Stefan Roese , Marek =?iso-8859-1?Q?Beh=FAn?= , u-boot@lists.denx.de Subject: Re: [PATCH v2] tools: mkimage: Call verify_header after writing image to disk Message-ID: <20220406155505.GH14282@bill-the-cat> References: <20220114173443.9877-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0OWHXb1mYLuhj1Ox" Content-Disposition: inline In-Reply-To: <20220114173443.9877-1-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --0OWHXb1mYLuhj1Ox Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 14, 2022 at 06:34:43PM +0100, Pali Roh=E1r wrote: > If image backend provides verify_header callback then call it after writi= ng > image to disk. This ensures that written image is correct. >=20 > Signed-off-by: Pali Roh=E1r > Reviewed-by: Stefan Roese > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --0OWHXb1mYLuhj1Ox Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJNt9kACgkQFHw5/5Y0 tyx+aQv/UphKeRZyjVo7HTnNRB6V4iQclbbqDAV6ceFAo1LH22wr1R5O3t508hlr eqCAwe1eynoEnCeLxreogeMjhKAv/C8cLNwUSxswAf4wF2I9FxBaVlc4dPKk9mJu aKsI+MMKhhf+26mCO3VV9kIwQsglV/42xee6xTPzgcG7xvLQIQzIScZW77z2GO1S namb4onk2a6pULnKnpmEDrQjb0YX7W8li8Q8TrVTqhCrdo3M0f6iYAcZ2xBJ13er zWKrTVtD2tLmZvd8fKLGhWZ4rB7I/HsQXKaG9IgMiZodK2VRTMVbZ9vNN70iQEoS rF7zVa6/z/51PVVQBQLVd0O2oRqyX1YEIC7shxXN15h2iCiVTvrtxQZSEXy3KNDE bYUlHjfOCCYaL9huLotbuJk2d8Z/45wh5tCSGVRd6qG8sING2XC/3+Pb9mUFlwUH ieJBnNTXvtSXL/5SHhWRdcg1fEwcvzhoCaCRyGVuTC2cVuyV+H6sfauU9kbGty+y DXlwK5M7 =AZ8Z -----END PGP SIGNATURE----- --0OWHXb1mYLuhj1Ox--