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 B09F2C25B08 for ; Sat, 20 Aug 2022 23:01:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AFA9A84504; Sun, 21 Aug 2022 01:01:27 +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="BNLJf2za"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7679284583; Sun, 21 Aug 2022 01:01:25 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 E398784504 for ; Sun, 21 Aug 2022 01:01:22 +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-x82e.google.com with SMTP id c20so5662059qtw.8 for ; Sat, 20 Aug 2022 16:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=2x+jL+EptY9sUYJ01nuoykpRih+azeofYb91B8nQlcg=; b=BNLJf2zauT3jOlv6yPXivPNksXWfOxnUcnJWMlMTx6m3dsKwdraz/h3CAq7AbqLxeP mUeaDGaO02n3tPdqpguPv830NCHi7fSlFJVMYOlATRiVwXNVGTc8dU+SCyQNHfANCJZJ /afGVETjMhh/SvtQCN8IIY0qckKfT8sgjlgQE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=2x+jL+EptY9sUYJ01nuoykpRih+azeofYb91B8nQlcg=; b=1AjY8LbQ3O8Qdqd3YVW3UhmJbz+tj+yhNoaI/MUZT6Oq5MASoHkPK4DWl7+2AYJEM8 v1OXrFslegWp5ucHOkQmfGTraMUOfbjrCqQABempzLw0ctddr2LQG5IHhBbwbUCoBnAf FNEX7EFdXlw5IRKVTXGmb1lmoVMifmif9wSijf+MSPMqgITj7ACb0XOVbW7efOX5c7Qe taiIjngCaDyEBiAZ2O03Xtv93/dEX6I1wBowQgL8h42PKmPXuh7mYBwD1wDeavIrmF2j CqAPhLAuJK/XTvXitXAEWhjS2cfZ+SwJ+5beo4W5zL4wVjWvt/JEJiEE5umjZ9H8NgUJ 1/jg== X-Gm-Message-State: ACgBeo1tfU0A986zROtBcdWJ+K9IAQh+WAxosrxI90BOK3yKKi4Bk8jd ns3sPVyLepb4L0qGM4+JAIi36SGgC5tufiOe X-Google-Smtp-Source: AA6agR6VBCXCDk76oOCo03XE5XI9ufv9FipJGV8zxpyZmSC5td5nRjq/4P7p89fyW6vDh18pB+/iaA== X-Received: by 2002:ac8:5986:0:b0:344:5dcb:3b6c with SMTP id e6-20020ac85986000000b003445dcb3b6cmr10881246qte.688.1661036481618; Sat, 20 Aug 2022 16:01:21 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id q8-20020a05620a2a4800b006bb756ce754sm7426225qkp.55.2022.08.20.16.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Aug 2022 16:01:20 -0700 (PDT) Date: Sat, 20 Aug 2022 19:01:19 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: u-boot@lists.denx.de Subject: Re: [PATCH 1/5] Nokia RX-51: Fix invalidating zImage kernel format Message-ID: <20220820230119.GM1146598@bill-the-cat> References: <20220811202725.24752-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kiLQkTim22uV9qvo" Content-Disposition: inline In-Reply-To: <20220811202725.24752-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.6 at phobos.denx.de X-Virus-Status: Clean --kiLQkTim22uV9qvo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 11, 2022 at 10:27:21PM +0200, Pali Roh=E1r wrote: > Prior starting copy of kernel image to target location, invalidate also > zImage magic header. This ensures that on target location would be image > with valid header only in the case valid header was also in the source > location and copy from source to target finished successfully. Copy is > always skipped when kernel image in source location is invalid. >=20 > Add also comment to the code which explain what is the code doing. >=20 > Fixes: cc434fccba4c ("Nokia RX-51: Add support for booting kernel in zIma= ge format") > Signed-off-by: Pali Roh=E1r Applied to u-boot/master, thanks! --=20 Tom --kiLQkTim22uV9qvo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMBZ78ACgkQFHw5/5Y0 tywzOAv9FK7kA0CAnqbdUcPioE7+yaGJ9Dkh2xpy9kNBUM0f7mYu+CrGYjetRfWe dBZ6CfmDq1ZF+jWTYWuj1aj73DjAb/Kix1M1o18ATM2qEG8VdQvQcG8S8HIXlxud Jq6jhvUwVnlanvc2cq5urXXcoLEBtLJ5J+QaY1lSmdTpiFXPCvugqr8asIIBWqii ukBY5lRvfjahKgPl4oi3DOvnW3g8LCeOL8YTR4VpKByM3WaHr79QU9EwKxnzv+0y AWLB8JZ1tMPNIJasMIUsfJnNL3k8n5YHHNDPzCEboGb0CEaJT9s1+xhphLRtA7cU IQJYjfqdU6SfSf3LesZ0wl5b0AUeL6J3K31nau16V4Ay/MOtXCcPwQg5PvSE77hn AgAkfrenN37TdsosRNmdAXEN+gc50z56SwyMTkgX94cx3bWRrfn/ziTKCRFYh0pV AwraJ/OxqVLjEEyanAYskVAbQJxze+YjJ0WbgTWfbrwc+KTz0EtLs6WYQ3oejnPk 2TGRmB1W =i8eq -----END PGP SIGNATURE----- --kiLQkTim22uV9qvo--