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 8E454C38A2D for ; Mon, 24 Oct 2022 12:23:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9FC681E1F; Mon, 24 Oct 2022 14:22:31 +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="cMmy6+EH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 967E4806FE; Mon, 24 Oct 2022 14:22:14 +0200 (CEST) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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 4CB1680710 for ; Mon, 24 Oct 2022 14:22:11 +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-qv1-xf2c.google.com with SMTP id x13so4882870qvn.6 for ; Mon, 24 Oct 2022 05:22:11 -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:subject:date:message-id:reply-to; bh=+jcHpA5HGgu0sNd8k/t/c0AsThi4krGcZDpk6c9MLeg=; b=cMmy6+EHtvSd98iS9lKAURlSA1xvHMo0kKJ7+HX7Gp8lDfw42zmcDmIV/knQplyxHb 3nLsJwNunZJEmzj+iISGGWtdHjiV8SA4Twm7F35rSsJwWu0nzY6wE6f2kSE+/rmxGdBz BdqX1BckJE2qyRFichzfJCLHF01h9RMNkbo6o= 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:subject:date :message-id:reply-to; bh=+jcHpA5HGgu0sNd8k/t/c0AsThi4krGcZDpk6c9MLeg=; b=gW45S11sFJ8N/ib6afl8xrIUg0P+aRa3o9gS7jO3OdzSneGyOa+sA/UDVbqXWST6k/ YN7Oa3K8LJUMpGH1BIrTL9i1aw1vFhncwMCNmzJODHUAfxjswxjno0b8A3bWD3r+SvWj 2+JkcYojCzvR+LIKc3PEiZYdvgH4csqI2+4+T85wicErVjtjr5y+6foOpApLyjw+a2Zx GPnUvXlkMR9b4Y6hvakbt7qppUTNSkIiFtHmL1B6kX6+mspNhMe1VNOdkfUXdm0kzRSi CwR44z1FmsUYtgXJvhxkw2Scy9Iu2zTRCP9vfhDe0GS/2HccPBSKk/7Rhoi1EBkDTA0n wIaw== X-Gm-Message-State: ACrzQf0oS0+Wds3XStSWLXP2NZA1SBZpB74AUpaHigR/OlDHiFGVv2Fh wIjBvUdTwISR4Tjjs0JqmBXbgg== X-Google-Smtp-Source: AMsMyM7eGUi+kKnSPgU6d7R5QflWELVXMiAgXTEcHGag4+wuh8RSV43uKi4I73iLSFepKL+J4V1/vg== X-Received: by 2002:ad4:5bad:0:b0:4ba:4041:5020 with SMTP id 13-20020ad45bad000000b004ba40415020mr15711096qvq.125.1666614130113; Mon, 24 Oct 2022 05:22:10 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-f53f-b0aa-caa3-a9b8.res6.spectrum.com. [2603:6081:7b00:6400:f53f:b0aa:caa3:a9b8]) by smtp.gmail.com with ESMTPSA id n14-20020ac85a0e000000b0039ad65104fasm13105586qta.12.2022.10.24.05.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 05:22:09 -0700 (PDT) Date: Mon, 24 Oct 2022 08:22:08 -0400 From: Tom Rini To: Andre Przywara Cc: Tuomas Tynkkynen , Simon Glass , Harrison Mutai , u-boot@lists.denx.de Subject: Re: [PATCH 1/3] qfw: store loaded file size in environment variable Message-ID: <20221024122208.GT2020586@bill-the-cat> References: <20221010170122.1527138-1-andre.przywara@arm.com> <20221010170122.1527138-2-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K7aE7P/AKa2gsrZH" Content-Disposition: inline In-Reply-To: <20221010170122.1527138-2-andre.przywara@arm.com> 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 --K7aE7P/AKa2gsrZH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 10, 2022 at 06:01:20PM +0100, Andre Przywara wrote: > At the moment the QEMU firmware command just prints the size of the > loaded binaries on the console. > To go with all the other load methods, and many boot scripts' > expectations, also store the size of the file loaded last in the > environment variable "filesize". > We first put the kernel size in there, but overwrite this with the > initrd size, should we have one, because this is probably the more > prominent user of $filesize (in the booti or bootz command). >=20 > Signed-off-by: Andre Przywara Applied to u-boot/master, thanks! --=20 Tom --K7aE7P/AKa2gsrZH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNWg28ACgkQFHw5/5Y0 tyzgtwv/S/ZZLCrySo//1VThbKXr5MZyG800y5VGg2dd1iOqjqywJOFWvXnwfzsP BiUdfRK3MQpHMX28nLqoXsRKKcm53/kOAk2pF3oeLfOjY4OjO/4yp8NM7SRRiivb 7iElVtTesUVuIak5rLPNtaJkRJMSRGR28ouR94Evc5bVj3OU+q7DNTEQC602iXvj uzYdMejgyaoUsVsam3yM0lAcPEs1wWwxKgtxXVY5vWKOs+P1dA3pk7M/6LGPopCV HTk0XNvX5hKOYhDf1kEDdAEgdcfpW7e3ZVJL330Z/Su5ovIPGkBOwrJH7WM+1iuQ JBGCfGcBgDxXBrAoUFBV+fSroa2JfxpurYyXC+ehwarJR9ZPpuSXimUGEbZlUGkf oD636X7vtJydtsgWvg61lAfpoUH8qcSG10R7xKACJ75WWGFAPMzkG9Z+DyEIqaE6 Kirgy8UqwXV0LBrgyGpQmqdjNies313tV6/Ep79MOZLpDe7oeV0NM69w0YebXP9g t6x1sz0v =SS0v -----END PGP SIGNATURE----- --K7aE7P/AKa2gsrZH--