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 D1DC2C46467 for ; Wed, 4 Jan 2023 09:45:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A4D3B85574; Wed, 4 Jan 2023 10:45:26 +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="fak1CsMZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8596485467; Wed, 4 Jan 2023 10:45:15 +0100 (CET) Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) (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 3072085573 for ; Wed, 4 Jan 2023 10:45:06 +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-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx-outbound46-4.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 04 Jan 2023 09:45:04 +0000 Received: by mail-pg1-f199.google.com with SMTP id 84-20020a630257000000b00477f88d334eso15173828pgc.11 for ; Wed, 04 Jan 2023 01:45:05 -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=fGH/MEW7SDIUcOl9pZdGNXLaxfzyINA9OCQfmxlolxU=; b=fak1CsMZ72we9RnbgSvEfdHEuUVwIDaI8DhA/RJ58H0g1yWQuc/6l1Q4y8/YHcxDr2 GgzyP7QpOEYtJyhwd47ElLmWxoyOS/Gka75RffwrrOlFDUiAIqybAACDWkqSjRg1D2r1 StuznnpSppJbMcbzleZ4UrPWKcgHnBVDd8dH4= 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=fGH/MEW7SDIUcOl9pZdGNXLaxfzyINA9OCQfmxlolxU=; b=fxzg8itjdOcKfrzdljIYVL1fA2jGzVKOIKb+WqUaUCajclehA0/5PSiYH9dbvpKRpf owAlJ8cIyWoUENm231VQgBoAfka2mSZx+D9oB1miHNPERKlv9cHdf2JUX3WgGOoIba21 Plno35fICS0H173YXGxA/XNw/1MPdXTOLKmJYnz4L3m5dCUuoFp+ey4UN91NRj2XhM4w QlX5yYimZADoUQQhCxzj7LC3H39EVdEpS24gjck4Kl0k6FlCp5gCOxgut0QilsyY4HBj hX/srvq7tHQaYKovvT277qwWSSpzABG6C1uE9yBSFeGSsGoY747iPwEU7q4sE6+GW4yT v3Gw== X-Gm-Message-State: AFqh2ko70qge6mn0NC/dlpc1UJJtsM1a1aTfBgU6b9rOLi55Xdt3AvGT GPGvgdA7nnaAuVffbNM0HjDZ0lUf5cew5HrYNztNpkO3RDMLHgUU2HXofE4r1bXIWuAqe/ff8/3 1yz5LMlmeSdguV+g8ucxCqiyMa9GH7YhCfcRNObx4eDcxjUQZNQ== X-Received: by 2002:a17:902:b493:b0:191:3a8f:809 with SMTP id y19-20020a170902b49300b001913a8f0809mr45886875plr.7.1672825503287; Wed, 04 Jan 2023 01:45:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXtHy4VC4nfgAuve8kK6vrpkuDeRIHcua7ry9Bo2apoY7U40929IP2AQM0iQsIWQQMSikR+mUg== X-Received: by 2002:a17:902:b493:b0:191:3a8f:809 with SMTP id y19-20020a170902b49300b001913a8f0809mr45886870plr.7.1672825503040; Wed, 04 Jan 2023 01:45:03 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id n13-20020a170903110d00b00189f2fdbdd0sm23669651plh.234.2023.01.04.01.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 01:45:02 -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: [PATCH V4 03/12] configs: j721s2_evm: Enable configs to store env in MMC FAT partition Date: Wed, 4 Jan 2023 15:13:41 +0530 Message-Id: <20230104094350.19394-4-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230104094350.19394-1-sinthu.raja@ti.com> References: <20230104094350.19394-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1672825504-311780-5556-8103-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.215.199 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245241 [from cloudscan22-129.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 --- 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 75b4e52238..1db5b47a24 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 7418dc2900..f7805e83e0 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