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 AC054C54EBC for ; Tue, 10 Jan 2023 15:49:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B5CF6854BF; Tue, 10 Jan 2023 16:48:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.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=mistralsolutions.com header.i=@mistralsolutions.com header.b="SzEuu//H"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C44D080843; Tue, 10 Jan 2023 16:48:20 +0100 (CET) Received: from egress-ip33a.ess.de.barracuda.com (egress-ip33a.ess.de.barracuda.com [18.185.115.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B9C4485507 for ; Tue, 10 Jan 2023 16:48:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sinthu.raja@mistralsolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx-outbound11-148.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Jan 2023 15:48:16 +0000 Received: by mail-pj1-f71.google.com with SMTP id q9-20020a17090a304900b00226e84c4880so4576259pjl.4 for ; Tue, 10 Jan 2023 07:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9kU5esezxdmtxNkTBT7QLXNOPO19YeqGGzWS77IbUH4=; b=SzEuu//HDJQBYkOGofE2UqXehpdE+cAz6n+VT76W287LC31COgPik7lkB7R5Y0FS2O sJ47R6rXPwYpuf7Z8vEsaQFzsSjPul4YVZ5SVJvUCIkEQdX5jOUJafuDkkMS5SvRa47e SWFYPyKpGs0NWpZV6KXPJ3zrBs8S8zvggu3c8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9kU5esezxdmtxNkTBT7QLXNOPO19YeqGGzWS77IbUH4=; b=ZQsTqRCwbBpkipoU9Mvp+F24fKvWqCyJIxqsGj6cPU/Wdv0T+jof6zdFIphlKThlAQ 8ndtY9UYuzWhijHG4ueUEHUhMfnaSgUaQ88ZRSJB6XQy+0BvSngEPby4gmQrI4kA3FXk Er2DFndoCa3OLAKvaaI1DexIObpmI2x9ldEOUMB0FHjs9nLiwbfe4V4gUcnPl0qyY4Kh +AmKa0IX/+M3IzKQOYXHoBrGHyXxLnn1oYEFpIL10xOEZ8y5SZTuh1zi8d3FfCQw5rKm 4Y8DwzH6QWUzZTZfToEfPKCXaTIc4BDyjNlI/AhrsQR+2ADSF40+XxG8riKf0kYgm+a2 kIVg== X-Gm-Message-State: AFqh2koaWw34LIY7z4xLcFd6bzoS/gIbLjuaSmX+3XVUOjYEiNPAcM5U ND4SxycS8p8Vt0g1bUwcwRj4MRMJZsIh7bIRo+filYG5+FdCL68qqeKHhl5c4ybLlx//kfcvC9Z yPAjzW7BtFDj4SbzCIyHy9euzMnc0dwxkPHe4J0P5h1Pci2EYvA== X-Received: by 2002:a17:90a:7503:b0:228:d614:3b79 with SMTP id q3-20020a17090a750300b00228d6143b79mr1688179pjk.15.1673365694986; Tue, 10 Jan 2023 07:48:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuTPXzgbuzEeENv8CbxnFb9Pfy/181hRGSmJZfu38IpBiAqg6fdL2TMZxFovDiAEtw3d0eaug== X-Received: by 2002:a17:90a:7503:b0:228:d614:3b79 with SMTP id q3-20020a17090a750300b00228d6143b79mr1688159pjk.15.1673365694660; Tue, 10 Jan 2023 07:48:14 -0800 (PST) Received: from localhost.localdomain ([49.207.204.53]) by smtp.gmail.com with ESMTPSA id z18-20020a63e112000000b004767bc37e03sm7047976pgh.39.2023.01.10.07.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 07:48:14 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de, Tom Rini , Marcel Ziswiler , Marek Vasut , Vignesh Raghavendra Cc: Sinthu Raja Subject: [RESEND PATCH V5 03/12] configs: j721s2_evm: Enable configs to store env in MMC FAT partition Date: Tue, 10 Jan 2023 21:17:49 +0530 Message-Id: <20230110154758.16256-4-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230110154758.16256-1-sinthu.raja@ti.com> References: <20230110154758.16256-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1673365695-302964-5498-15428-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.216.71 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245375 [from cloudscan23-101.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 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 From: Sinthu Raja J721S2 EVM used to store env on eMMC, since EVM and SK uses same defconfig and there is no eMMC on SK, we need to keep env in an interface which available on both EVM and SK. So, save env in FAT partition of MMC SD Card. Enable defconfigs relevant for storing env on FAT partition of MMC. Signed-off-by: Sinthu Raja --- No changes in v5. configs/j721s2_evm_a72_defconfig | 3 ++- configs/j721s2_evm_r5_defconfig | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/j721s2_evm_a72_defconfig b/configs/j721s2_evm_a72_defconfig index 9c40730d21..84b4fb0831 100644 --- a/configs/j721s2_evm_a72_defconfig +++ b/configs/j721s2_evm_a72_defconfig @@ -92,7 +92,8 @@ CONFIG_SPL_MULTI_DTB_FIT=y CONFIG_OF_LIST="k3-j721s2-common-proc-board k3-am68-sk-base-board" CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y CONFIG_ENV_OVERWRITE=y -CONFIG_ENV_IS_IN_MMC=y +CONFIG_ENV_IS_IN_FAT=y +CONFIG_ENV_FAT_DEVICE_AND_PART="1:1" CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig index 7cdded66e4..1f2102a9f9 100644 --- a/configs/j721s2_evm_r5_defconfig +++ b/configs/j721s2_evm_r5_defconfig @@ -88,6 +88,7 @@ CONFIG_SPL_MULTI_DTB_FIT=y CONFIG_SPL_OF_LIST="k3-j721s2-r5-common-proc-board k3-am68-sk-r5-base-board" CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_ENV_OVERWRITE=y CONFIG_SPL_DM=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_REGMAP=y -- 2.36.1