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 84E14C433F5 for ; Wed, 9 Feb 2022 09:40:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6CCFC83E50; Wed, 9 Feb 2022 10:39:03 +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="KrOn43X1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9124683E4E; Wed, 9 Feb 2022 10:38:03 +0100 (CET) Received: from egress-ip33b.ess.de.barracuda.com (egress-ip33b.ess.de.barracuda.com [18.185.115.237]) (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 51D2483E46 for ; Wed, 9 Feb 2022 10:37:46 +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-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx-outbound17-217.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 09 Feb 2022 09:37:45 +0000 Received: by mail-pl1-f198.google.com with SMTP id q4-20020a170902f78400b0014d57696618so1373321pln.20 for ; Wed, 09 Feb 2022 01:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iBhSN+WvgFxMz4JbASCyzve+ATHOf3EmIP2AgKGgSYk=; b=KrOn43X1QdmLRymJM1ty6gFZfPMoc+inZGsa/YB0G4R3XBDHW3V0xlUHi4/4mticT+ x8OxQC4ByCZBBu+ESQOyET9yjlyCyCZtMKHoEqWUlNw1W7R5VRVZVIb0dmZ/0Yz+ca37 7/0pqnD+KwLKSOWLz0Py1O72p/MS8Ccb+1F4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iBhSN+WvgFxMz4JbASCyzve+ATHOf3EmIP2AgKGgSYk=; b=JzRJ24kE5nfuBb7Taj/kCx/HKX2zzRbiOqSMXFFr3HjV6wqQ1syxxBE1IKi5bLsHpc 5pwLw2Bep1fUTblCOtOmPdpnlOh87D2R1OX7KNulFOMhnVeT5lDVuckzrQAQtXyE/nyi pTfjJ2jk1ZohEK007qazMvPoZZD4Pz5UGgUZ1xOfuISBQRhSWu3zYF8bjliwtyTCeU1X J39U3M/8Xj+9Zcb2WhEjE/rUbbexMRZz/dXvdpx0pgl/fYLBW3Ob2UgcDNqHNtkWhEo7 2rb1xAUI7Y1n/nH+j/Dyok20qCBhTRkHSGRIBweEhVCCqsbhpSxgRBunyeQvvBU8ycdd OKHA== X-Gm-Message-State: AOAM531C6cKwjF/Ueev22EeYlr3UmceLbrEPXLI87pkxUbIRhSskkKmg RVD2368naiiCN0ce26UWornFi3MiJ+LOng9GLpLTgiloIdHPkqDAEzviOGLhwsQzJSXLs9fogtp drhdKh43Gro7rS1HJ6hiQ+YStYAhfg9kVqfikQbL8Ckb8Hxg+9Q== X-Received: by 2002:a17:90b:314c:: with SMTP id ip12mr1530740pjb.191.1644399463723; Wed, 09 Feb 2022 01:37:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyScdafzrNivSyzZKcgbpjTcAOPnhrt4aO2p18PzZlsiEmZLXVaKVhSpxKaSaQ6tliqWyLK3Q== X-Received: by 2002:a17:90b:314c:: with SMTP id ip12mr1530725pjb.191.1644399463466; Wed, 09 Feb 2022 01:37:43 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id g4sm18964255pfv.63.2022.02.09.01.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:37:42 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Sinthu Raja Subject: [PATCH V3 14/16] configs: j721e_evm_a72: Align OSPI partitions on erase block boundary Date: Wed, 9 Feb 2022 15:06:59 +0530 Message-Id: <20220209093701.16693-15-sinthu.raja@ti.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220209093701.16693-1-sinthu.raja@ti.com> References: <20220209093701.16693-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1644399464-304569-5576-9029-1 X-BESS-VER: 2019.1_20220208.1721 X-BESS-Apparent-Source-IP: 209.85.214.198 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.237841 [from cloudscan17-65.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 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_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.5 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja S28HS512T on TI SK has sector size of 256KB, so update OSPI partition to align on 256KB sector size. Since the sector size for MT35XU512ABA on EVM is 128KB, partitions will remain aligned for EVM. Also, now since the sector size is 256KB ospi.env.backup will collide with ospi.sysfw, so move ospi.env.backup to the padding space (0x7C0000) before ospi.rootfs partition. Signed-off-by: Sinthu Raja --- configs/j721e_evm_a72_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 4fb98037ae..e8a049746c 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs/j721e_evm_a72_defconfig @@ -18,7 +18,7 @@ CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y CONFIG_SPL_DRIVERS_MISC=y CONFIG_SPL_STACK_R_ADDR=0x82000000 -CONFIG_ENV_OFFSET_REDUND=0x6A0000 +CONFIG_ENV_OFFSET_REDUND=0x7C0000 CONFIG_SPL_FS_FAT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y @@ -69,7 +69,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_TIME=y CONFIG_CMD_EXT4_WRITE=y CONFIG_MTDIDS_DEFAULT="nor0=47040000.spi.0,nor0=47034000.hyperbus" -CONFIG_MTDPARTS_DEFAULT="mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs)" +CONFIG_MTDPARTS_DEFAULT="mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57344k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs)" CONFIG_CMD_UBI=y # CONFIG_ISO_PARTITION is not set # CONFIG_SPL_EFI_PARTITION is not set -- 2.35.0