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 9CA7AECAAA1 for ; Thu, 27 Oct 2022 11:14:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D3D9F850CC; Thu, 27 Oct 2022 13:14:08 +0200 (CEST) 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="GtCTyRRZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3FEE5850BA; Thu, 27 Oct 2022 12:49:11 +0200 (CEST) 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 0283B850B8 for ; Thu, 27 Oct 2022 12:49:08 +0200 (CEST) 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-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx-outbound9-203.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Oct 2022 10:49:08 +0000 Received: by mail-pl1-f197.google.com with SMTP id x18-20020a170902ec9200b001869f20da7eso802037plg.10 for ; Thu, 27 Oct 2022 03:49:08 -0700 (PDT) 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=b3dsS+pSOqtQcQ4bFO0pqoUwtSjizTwrsPMDDyJhP/U=; b=GtCTyRRZp/fNgNS9ROpBJQt5qw3UH1j+65sV/zwst3HGNF7MhBok/uRzih80KsY8em Hc2yh2VOqRQCcR9qpOvU9UT+JWNA3+k+T3IJWyZaA9WU15Dwh0tcLFXCoRG3HrxO/ATb jbaeI/97mWMOMCKIPJgJR1eg35ZOEdEVo7PKM= 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=b3dsS+pSOqtQcQ4bFO0pqoUwtSjizTwrsPMDDyJhP/U=; b=xs88isGCIjoXLmoNrFBG6HQ6jPM6BBZjL9o+Rk4Q3v1QW9TKNmnNLVAtvtGd+JQ4Ad oMsve7Qumv6AACUmFwAjPqxnU8/L9QoWgTBclc8pfpbc0/ZCRdNc/j5VhX+H1pxlluQB 32g+oNfFJx+5KV3NaMo/Vgo4KEDd3F8tmDwWMhzUd8OaaS9llDiBFsLZtUeGJwmLDlxr l8VwgnOrWm+UnhL5LXFR0G6JniSCzlO5mWTCzgBPE9sTg3YyqfrNJWWZdgMwsSbNbLP2 Mw8RooPnLVSr5SiwIAvhs3yDWUzNI4A7hyi26iQBc15uayat5xxqW6DTshi63sOhf/Q/ QnqA== X-Gm-Message-State: ACrzQf2RiYMu/xrPuSEMNg5xPX9RBGFp0UywwuOxUcGXYm2SUIyzx/W6 toJQAEEb9wl9XiyKJHqKOkaynrO9w96f+eFEjlyvzIylhxfbxE7Tz8ZmwAflW/2Cswxsm7BHBUA blwfYA0gwypIHlW6uKvZdNYavuO8ipVDJ8j3BNMn7TKGSWTlD0w== X-Received: by 2002:a63:c5d:0:b0:460:17cc:73a6 with SMTP id 29-20020a630c5d000000b0046017cc73a6mr41243054pgm.332.1666867746221; Thu, 27 Oct 2022 03:49:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4VzqMLJ8pa79wKOXQuoAv86WxVm+7KY9lvmDF9xNm+S95aQMmR8HxW2/IxT2AKqJA5YIlaFw== X-Received: by 2002:a63:c5d:0:b0:460:17cc:73a6 with SMTP id 29-20020a630c5d000000b0046017cc73a6mr41243029pgm.332.1666867745928; Thu, 27 Oct 2022 03:49:05 -0700 (PDT) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id 20-20020a630e54000000b0045ccc30e469sm815370pgo.25.2022.10.27.03.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 03:49:05 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de, Simon Glass , Marcel Ziswiler , Marek Vasut , Vignesh Raghavendra Cc: Sinthu Raja Subject: [PATCH 03/11] configs: j721s2_evm: Enable configs to store env in MMC FAT partition Date: Thu, 27 Oct 2022 16:18:38 +0530 Message-Id: <20221027104846.11820-4-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221027104846.11820-1-sinthu.raja@ti.com> References: <20221027104846.11820-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1666867747-302507-5376-5993-1 X-BESS-VER: 2019.1_20221024.2147 X-BESS-Apparent-Source-IP: 209.85.214.197 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.243747 [from cloudscan12-223.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Thu, 27 Oct 2022 13:13:53 +0200 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 | 4 +++- configs/j721s2_evm_r5_defconfig | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/j721s2_evm_a72_defconfig b/configs/j721s2_evm_a72_defconfig index 2084ed020e..cf23a73222 100644 --- a/configs/j721s2_evm_a72_defconfig +++ b/configs/j721s2_evm_a72_defconfig @@ -92,7 +92,9 @@ 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_NOWHERE=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 b72ed1dbd5..6e694c8d55 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_DM=y CONFIG_SPL_DM=y CONFIG_SPL_DM_SEQ_ALIAS=y -- 2.36.1