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 EC157C761A6 for ; Thu, 30 Mar 2023 14:09:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DE4AD85EC6; Thu, 30 Mar 2023 16:09:50 +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="hsqGL3gm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1F7285E81; Thu, 30 Mar 2023 16:09:47 +0200 (CEST) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 2326B85E53 for ; Thu, 30 Mar 2023 16:09:44 +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-yw1-x112c.google.com with SMTP id 00721157ae682-544f7c176easo356215937b3.9 for ; Thu, 30 Mar 2023 07:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1680185383; 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=Lj/TswciuJsdUQl4PFKurRP3HIvBQhjJPvskWuTQJcg=; b=hsqGL3gmqa3gGUHVEQnA6BOYoYN/MwCjO2i26h/Xzhwqi2alPnR+T3+C2HBMSQtr39 AcujD+i1TRU0kon12QyXG9uRtLYbRqvh5r7Gpv2eJqelKmXSgRGmT5IU5Mtbp5bFuK3d uZE0prJnX27VpMI2Pphx2QHecpFupusuyEZjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680185383; 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=Lj/TswciuJsdUQl4PFKurRP3HIvBQhjJPvskWuTQJcg=; b=XotLOyS/ZubcsGYZ2C28BKYum59jEQFC22p+LGsQAnDMNQ+fApxcRiyR8BpLenE69l Wglf/LCF2Oz/xLrjskRfQflOrVKEK9LLSO9XSItbLapH+RNSRvZJ6+V/J0y2ZxLZo2/o tT35Ce7Y3ePBIJadFLL9eCeGJW2ca2VIgUCjfiTiGIIjMgrghT1J2teBAzIPGR5wAVBA 5FGOKVFcJmwfvQ6kcpA4OUu79JAl5p3h+TLlcdIRBbPcuBK9qCr5tdCHMECbTYJMtjtJ sucka1IArhVHiwZ0GxKQxNGg10KD6bu88QdhA4w3w7MDZEqy2YJOMZxcFM+U4RL2Ff7E k3Vw== X-Gm-Message-State: AAQBX9eYoUSfYrjVxvakj45JLWxeAJsyfHmBIyTM8lh7kfvsjlQqZSLe 06iiRfDDaa9BM4pk3DL7hFqikQ== X-Google-Smtp-Source: AKy350bbkctvVYFB/ykXj3LNqVsbkGPA3SZpnVF+sDDKOj1mff3y82McRBvQpCRgj5C7u/tzqCBZsw== X-Received: by 2002:a81:6d4f:0:b0:541:66cd:3dfd with SMTP id i76-20020a816d4f000000b0054166cd3dfdmr22496025ywc.32.1680185382710; Thu, 30 Mar 2023 07:09:42 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-3b93-b60b-c6f7-8d57.res6.spectrum.com. [2603:6081:7b00:6400:3b93:b60b:c6f7:8d57]) by smtp.gmail.com with ESMTPSA id 85-20020a810358000000b0054621137a77sm937077ywd.26.2023.03.30.07.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 07:09:42 -0700 (PDT) Date: Thu, 30 Mar 2023 10:09:39 -0400 From: Tom Rini To: Simon Glass Cc: Nicolas Ferre , U-Boot Mailing List , Varshini Rajendran , huang lin , Jeffy Chen , Kever Yang , Philipp Tomsich , Vagrant Cascadian , "Albert ARIBAUD (3ADEV)" , Eugen Hristev , Greg Gallagher , Heiko Schocher , Michal Simek , Philippe Reynes , Tony Dinh Subject: Re: [PATCH v4 1/4] bootstd: Enable BOOTSTD_DEFAULTS by default Message-ID: <20230330140939.GW6083@bill-the-cat> References: <20230329201631.v4.1.I41a5e66644a895a311889b009116245245c741a5@changeid> <550d7cf3-7e98-c431-7ff7-8e95fab9cf7a@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eu9VQ8n80rhDh+a1" Content-Disposition: inline In-Reply-To: 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.8 at phobos.denx.de X-Virus-Status: Clean --eu9VQ8n80rhDh+a1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 30, 2023 at 10:17:22PM +1300, Simon Glass wrote: > Hi Nicolas, >=20 > On Wed, 29 Mar 2023 at 20:55, Nicolas Ferre = wrote: > > > > Hi Simon, > > > > On 29/03/2023 at 09:16, Simon Glass wrote: > > > This is needed to enable the boot command used to start standard boot. > > > Enable it by default. This brings in quite a few features, mostly in > > > common with DISTRO_DEFAULTS > > > > > > Disable this option for boards which don't have enough space. > > > > What is the identified minimal space for benefiting from this feature? >=20 > Well some boards have a limit on the size of U-Boot. The defaults > enables lots of things, including ext and fat filesystems, partition > types, booti/z for ARM, etc. >=20 > I have not locked at what a minimal board requires. But if you know > what you are doing, you could drop BOOT_DEFAULTS and BOOTSTD_DEFAULTS > or DISTRO_DEFAULTS and manually enable just what you need. > > > > > > > Disable CONFIG_ENV_VARS_UBOOT_CONFIG for some Xilinx boards which have > > > a very small environment. Disable BOOTSTD_DEFAULTS for smartweb since > > > it is too close to its limit. > > > > I see that a few Microchip boards are in this case too and even if > > sama5d27 som1 ek might be impacted, I would like to double check for the > > other sama5d2 boards. >=20 > OK, sure. The really big thing is booting EFI images - > CONFIG_EFI_LOADER. It adds over 100KB I think. These are examples of platforms I was talking about. They do not use distro boot today, and have a real bootcmd defined. They should just get bootstd turned off now until someone is interested in seeing how bootstd would be used here. --=20 Tom --eu9VQ8n80rhDh+a1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQlmBwACgkQFHw5/5Y0 tyw0GQv+Lmziq6LOMJ4GbPxnKPhrLa+GdJ+wHW/WItePFRP6XXHUPesE7iBi6oVB 0//5ynMhA3R4DH8e7Enat5BaglPU2oisdU/ffDAKMEIm3RXl1A28pk5+w2832V8C ZqlVRnzS2YBNNAWn4Xf2WbrcSz7n72lG5oa97++I8vs1ueeDS/9kikWImLpYtTPc WrNSkJG6NUYuqyMoecCwYnrLoQxk0nQqo9yGLGIimQGgYQBN0LwuNHgJMxXhJG9X feZvhtnQRrM6LopgTzkgKBtHN/8c/t6/4jFkahgTyyTVESdzexMe2Z+D5j5EXr0c wNU11ujUZz3w3MUTYnWWjjnAbdx7RJmyIQLXq9SATJ7Kf2FjMQAVV/domaPfhnk8 r1qYB85hpK8TxJHSBchNDqFfIYF1JTOnmvj4DNUinqZT6botRzlPuwyKd7v/+srQ XCpFalZ0kUtlsB8eXG+jtJiH9E4LiszoD258BPuz4IFIri/qKsMyFMIcL5oLl61k F2jgJR6G =gg5X -----END PGP SIGNATURE----- --eu9VQ8n80rhDh+a1--