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 1C4DAC001DC for ; Thu, 27 Jul 2023 21:54:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 87716867A8; Thu, 27 Jul 2023 23:54:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="eEAh2PiI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED09E86886; Thu, 27 Jul 2023 23:54:43 +0200 (CEST) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 D67C9863EE for ; Thu, 27 Jul 2023 23:54:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-7835e2286c4so57610439f.1 for ; Thu, 27 Jul 2023 14:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690494879; x=1691099679; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4xW8CYkUxFnJ/KPf3E68w+Vxwwukr//i2ni/pz4fpR4=; b=eEAh2PiIiXogO85M7TqriPKEWGoDEy9RfD3VwbAcRIW2Z2I9UmAM7i/bwk1FTj+5G1 6wxWOpe5O1xKX2tF9Dw2kGO8oPCBjmrecx0fX9bNeKdqDAf5NRXYAClm61gVnwbccdyR 278kiVgsw5GUQxTBsisnapGoRVlzDevW176ls= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690494879; x=1691099679; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4xW8CYkUxFnJ/KPf3E68w+Vxwwukr//i2ni/pz4fpR4=; b=JNXMLvRXSs4aQhOE66iliH6rOQTs++uFmN7v3FKgM+MNg0KvYvhx/zw4aX7KNxnSnX 2WpOlRw2R9LiKZtwvyuH/8H4xaesWkPLRfLtLotzOQj9ubCOJxT3pa+Dm/9xWb9mxuda rqX3/Bq2oJHDSD9+kCxAC3rNPnMV/To3VHL/XATxLBOxSQTB52icMzyZwBBnjNcF0q3/ /WwanuP8mDI6M42I+7LyM5poVKUTPCkLPE17uXENAja+7I3t/UQTafcLZSjQ+L8vCBcV VM9z2ekOYd7/B9Pil662pGRCuvuxLjIVYyJeSMPOhmz2u7OainCL2uKCmcOvIYAujMdh mKEA== X-Gm-Message-State: ABy/qLaA2Bv+aDhOh8FDuAvZTO59DCa7YRGjJSvRKEC4sJ5tpSCHpRzu l2frxzz7TytFrljCd9KLraBnRctomnGUCElaiwc= X-Google-Smtp-Source: APBJJlGL66mnslMXhUMoCZ00vq3xU3x1lCQF4/sUpCet8v4DZGwn3JIKhdvl7WwU/3Tzwqdj6KIdWA== X-Received: by 2002:a5e:8802:0:b0:787:1472:3181 with SMTP id l2-20020a5e8802000000b0078714723181mr918882ioj.3.1690494879381; Thu, 27 Jul 2023 14:54:39 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n28-20020a02cc1c000000b00430245071ddsm679215jap.176.2023.07.27.14.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 14:54:38 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Peter Robinson , Simon Glass , Albert Aribaud , Matthias Brugger , Stephen Warren , Stephen Warren Subject: [RESEND PATCH v3 0/3] rpi: Convert to standard boot Date: Thu, 27 Jul 2023 15:54:27 -0600 Message-ID: <20230727215433.578830-1-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This series moves Raspberry Pi boards over to use standard boot. It also moves rpi over to use a text-based environment. Unfortunately it is not possible to empty the header file due to several CFG options. Fix the repeated "and and" while we are here. Note that this reduces rodata size by about 4.5KB. We could get another for a total image-size saving of about 15KB. This is mostly because HUSH_PARSER is not enabled anymore and the environment shrinks down by about 3.5K. Hush is not actually needed anymore, since standard boot does not use it. Also CMD_SYSBOOT is dropped since standard boot calls the pxe_utils code directly in that case. Changes in v3: - Rebase to -master Changes in v2: - Rebase to -next - Add new patch to disable DISTRO_DEFAULTS Simon Glass (3): arm: rpi: Switch to standard boot rpi: Disable DISTRO_DEFAULTS arm: rpi: Switch to a text environment board/raspberrypi/rpi/rpi.env | 77 +++++++++++++++++++ configs/rpi_0_w_defconfig | 2 +- configs/rpi_2_defconfig | 2 +- configs/rpi_3_32b_defconfig | 2 +- configs/rpi_3_b_plus_defconfig | 2 +- configs/rpi_3_defconfig | 2 +- configs/rpi_4_32b_defconfig | 2 +- configs/rpi_4_defconfig | 2 +- configs/rpi_arm64_defconfig | 2 +- configs/rpi_defconfig | 2 +- include/configs/rpi.h | 134 --------------------------------- 11 files changed, 86 insertions(+), 143 deletions(-) create mode 100644 board/raspberrypi/rpi/rpi.env -- 2.41.0.487.g6d72f3e995-goog