Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15D91C49EA6 for ; Sat, 26 Jun 2021 15:07:49 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9369161C39 for ; Sat, 26 Jun 2021 15:07:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9369161C39 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F1CD382C84; Sat, 26 Jun 2021 17:05:56 +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="fS7n/gOx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8330882C2B; Sat, 26 Jun 2021 16:59:47 +0200 (CEST) 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 E938282C2A for ; Sat, 26 Jun 2021 16:59:44 +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-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx-outbound12-72.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Jun 2021 14:59:44 +0000 Received: by mail-pf1-f200.google.com with SMTP id k196-20020a6284cd0000b0290301abd2c063so7358978pfd.14 for ; Sat, 26 Jun 2021 07:59:44 -0700 (PDT) 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=jT1Gl8HjkkrqIaacZTw3rbvQ2yFC2+5puK5L3VxPWj8=; b=fS7n/gOxgsesTlaHWzgwKnlSFn3OGH8v0Cp/P1ew4aH5tAJB5iINHg+xyGwMTfWx9j zemH690Gpz+NrbI5MeGxgiznwmG9g/lRxLYKhA0d6ILMSKshfh2SrX4sefw0aQN6YrNu 0dOGU6WrCYU4pHBboY1hdGItAnbH/8dfEHRGE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jT1Gl8HjkkrqIaacZTw3rbvQ2yFC2+5puK5L3VxPWj8=; b=fYrVt+CSkjKvRgGUpvSUOgbfFoeCLuKPYPMm+S0FRvU6NNothqO09fMYTEUKRXb2CH di/LpfgoX1VBg9hQ29aVFO8JvrG4vrvh1YLCSjb5QE/bQYngWjUAPGk4LH+Pezc4pOwc V11M9ZglmklZDnj/l2zn4eF7Rv3PNU1ttOYZd8m38fqeSqh0Yct+YIRTs+1cAgEDkEcQ 1E8dgz4qaEL3FElKkhnyCLavDey/O78X7twfxSjwM8/pJ+qQeZNi4u752hZxTGB75IJX qC/LoZPeDHfkKnRQBvOTt3nsEHHGmr6wwdsnL3x/5SZRwvgrWDxL8WfTafNllQVTqSWG Os8Q== X-Gm-Message-State: AOAM5305Ued+ss+87FO2IihwKovhPQ0UkTIAg7zx6EesnRQGoWzEzNku 12VyUOdfr8QscFxjn727+I5uLGlwMbFbPvD098OSV3G9VuHZR8FoE68tqvEg6YBCH5YRh8LiDj+ yzzPOcpaIKIzF/vHefHwGHfkg8fOzIELVHUuMluD3QKlVu8nfZA== X-Received: by 2002:a17:90a:f290:: with SMTP id fs16mr26576476pjb.202.1624719582490; Sat, 26 Jun 2021 07:59:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+g19xzuJnUeKv7YLTGn9vhXWEncOOAMTWcyr8+eJ4N5BSx9c/XtM3RiEQCyVni+qLkjpH7w== X-Received: by 2002:a17:90a:f290:: with SMTP id fs16mr26576462pjb.202.1624719582267; Sat, 26 Jun 2021 07:59:42 -0700 (PDT) Received: from localhost.localdomain ([49.207.221.44]) by smtp.gmail.com with ESMTPSA id g18sm8769245pfi.199.2021.06.26.07.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 07:59:41 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Vutla Lokesh , Amarnath MB , Sinthu Raja Subject: [PATCH 15/17] configs: j721e_evm_a72: Align OSPI partitions on erase block boundary Date: Sat, 26 Jun 2021 20:26:00 +0530 Message-Id: <20210626145602.15702-16-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210626145602.15702-1-sinthu.raja@ti.com> References: <20210626145602.15702-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1624719583-303144-5805-32206-1 X-BESS-VER: 2019.1_20210623.1648 X-BESS-Apparent-Source-IP: 209.85.210.200 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.233199 [from cloudscan11-203.eu-central-1a.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-Mailman-Approved-At: Sat, 26 Jun 2021 17:05:02 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Amarnath MB S28HS512T on TI EAIK 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: Amarnath MB 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 1aca1fa449..f56abc451f 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs/j721e_evm_a72_defconfig @@ -17,7 +17,7 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_DRIVERS_MISC_SUPPORT=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.31.1