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 007C0C4332F for ; Thu, 8 Dec 2022 20:25:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6518B8517A; Thu, 8 Dec 2022 21:24:25 +0100 (CET) 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="eT6mREuS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B9C1851C1; Thu, 8 Dec 2022 21:24:23 +0100 (CET) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 F34BA8517A for ; Thu, 8 Dec 2022 21:24:15 +0100 (CET) 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-wm1-x32b.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so1948027wms.2 for ; Thu, 08 Dec 2022 12:24:15 -0800 (PST) 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=+KS6TJFRDgMq5PbkAfKxYrRVGu5om7xMm9GjIlsYmOk=; b=eT6mREuSr1VAI8v+WjXEp9QmIoMp18UNtxB7xwbhnE1KLtpiEb3bm2dVnYcN/0ZR2O nwz+st9VMet3+V/GnuvNdZbQt6z+wdfHyLGu531aKREUM80MiJaWGMvpxjMI/G4eXYWz zj4netzGwMY4UlB4P4rTvYZEhfhmoaqbVr8Z8= 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=+KS6TJFRDgMq5PbkAfKxYrRVGu5om7xMm9GjIlsYmOk=; b=ZTkwQfXaEB15paorg9RyfLcWP2adrVo0EHfPgJ7Zc81tIyFpRE9kcKwE5Z5T0Mf3vr H4fRz3IcKAXx7dWSSli4zmyyeeZX2lsL5D7smCbISJ+0UjcAEVm0/6nr0G8hHMUVJSVm NKawFzbE2wWHrJm/4OvTWLBKk6B9DOtA0AeyHmUyg2hPm0C4hy2bnSgD+tzxcZix74zt XiqiBMN+J7S7E8VdrINdJ3W5eIfokeUg3p3IpuiDCvGWEVMjjscxEAkUOqYfyVIW1lWX AXQDrHTp2Fiuauujo4ISvmsncCT8l1lYourqB5dQwEG0oIFaonSxTMp4vFqX4mDM/AHb tikA== X-Gm-Message-State: ANoB5plhmhSSt8oY4RQ38mbPu7Dii3t6sZGDPQz88NHUJ4uviczBplQ+ J4dmqiZbotl0gL5A9PuDnAC40g== X-Google-Smtp-Source: AA0mqf43xA/UhRvBz/Omwnpq5RRN4SL1nb/X+GOkFFONHxhdmDIhdV20VewuLF5XO3r6qVziOXvOJQ== X-Received: by 2002:a1c:7303:0:b0:3cf:a258:971 with SMTP id d3-20020a1c7303000000b003cfa2580971mr3429137wmb.41.1670531055567; Thu, 08 Dec 2022 12:24:15 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-0511-db36-5a97-af74.res6.spectrum.com. [2603:6081:7b00:6400:511:db36:5a97:af74]) by smtp.gmail.com with ESMTPSA id r13-20020a05600c458d00b003b47e75b401sm6813660wmo.37.2022.12.08.12.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 12:24:15 -0800 (PST) Date: Thu, 8 Dec 2022 15:24:10 -0500 From: Tom Rini To: Max Krummenacher Cc: u-boot@lists.denx.de, Adam Ford , Pali =?iso-8859-1?Q?Roh=E1r?= , U-Boot STM32 , Patrick DELAUNAY , Patrice CHOTARD , Max Krummenacher , AKASHI Takahiro , Du Huanpeng , Heiko Thiery , Heinrich Schuchardt , Marek =?iso-8859-1?Q?Beh=FAn?= , Quentin Schulz , Samuel Holland , Simon Glass , Stefan Roese Subject: Re: [PATCH v5 1/1] u-boot-initial-env: rework make target Message-ID: <20221208202410.GN3787616@bill-the-cat> References: <20221128084122.3456680-1-max.oss.09@gmail.com> <20221128084122.3456680-2-max.oss.09@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AMjohP+sXfBv/Fra" Content-Disposition: inline In-Reply-To: <20221128084122.3456680-2-max.oss.09@gmail.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 --AMjohP+sXfBv/Fra Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 28, 2022 at 09:41:22AM +0100, Max Krummenacher wrote: > From: Max Krummenacher >=20 > With LTO enabled the U-Boot initial environment is no longer stored > in an easy accessible section in env/common.o. I.e. the section name > changes from build to build, its content maybe compressed and it is > annotated with additional data. >=20 > Drop trying to read the initial env with elf tools from the compiler > specific object file in favour of adding and using a host tool with > the only functionality of printing the initial env to stdout. >=20 > See also: > https://lore.kernel.org/all/927b122e-1f62-e790-f5ca-30bae4332c77@foss.st.= com/ >=20 > Signed-off-by: Max Krummenacher > Acked-by: Pali Roh=E1r > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! --=20 Tom --AMjohP+sXfBv/Fra Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOSR+oACgkQFHw5/5Y0 tyyp/QwAhvWdC0uvom/1+sEyRok0GEIgoWn9bDCRnNnGnE1zH2XSYJT2M/kcYLOF yFiOjVqYgT0nPzkQZjfceYlN8KadSBRXOlZKzbXcVBAsh83UAdvqy/tqWo+tJ+WB dW5Wgrt5pvM0+l+exN1yx4jxMdBK9Yrbp4GtQvMFwrqsx6tzLwu3xuorBwHxkiQG iJBd0TIMgYYjizuP597nO7J/Ia17nPV5CBk07xj/FnUge4NRLRdPt5h1Q1EJSHEE 3pRapRUZkOaVSO3jxZ9tv0vnIbvlz/jvKJv6CxolVZ6pLBCiPI/VCEsyiY97APV6 +8unLTW9k7AtxiQuZWO2HHh/gBdd9H+Y6ZOsIcJks1ZAsC9prrFr0hnhCFGb9+1f iEVe35ircAaE5JNcvV+RRhNS8vQ5PnT3U6hEUBTmB76d8HIsHNy6XCwesMh6BYMG D3sSW3tHyW77I1V6G0nt+lY2kjeZZ67jDP90MUWdoF0JRKeuK+6I3pP131845NiR Ik+oUFZ8 =8bxy -----END PGP SIGNATURE----- --AMjohP+sXfBv/Fra--