From patchwork Thu Nov 15 20:26:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 151258 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7457986ljp; Thu, 15 Nov 2018 12:26:28 -0800 (PST) X-Google-Smtp-Source: AJdET5ed2SkVd7YkecZQgmUqGoUJKf/+zWnuUq95EFRJMwD//vtrNCMJEZIdrzFCp6tFBq+VbIOb X-Received: by 2002:a17:906:3b4b:: with SMTP id h11-v6mr6552541ejf.183.1542313587665; Thu, 15 Nov 2018 12:26:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542313587; cv=none; d=google.com; s=arc-20160816; b=akc2Bq3EIcLbEgUOLZlDmS302Eh9KY7svNi2S/JuhX3ZfH3RpI7ovZ9uyo6uB0HR+0 Ylzh+N5izjnaGjQ10vfSLRo7v5Llt86tBjVNqkkk1QjocMfx+D8vSqMDjjcZ3aJQneuh O5PE4ol3/rF1GQk0R0LJAXRKykbSsmhhNp/bKy/20paEXwxpsuuGRHgklsf3BKOsg03w Dz5MXHN9wN4YPVyJQ6TbesY0yGKTyiiLImh6hs9hVaahkVfNI5iPXlNuHDRwve/zq3N8 wGJM1UYS7Hh8jM23n5W8W1WOM99i8LfKL7BRkmgsSFJ9N81i98ZksUqsRbkT+3yc+dPr ulqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature; bh=gi3OFZ/QcFPguPZjcRcAp/fSVKBPQW54X7BgUlJLp5Y=; b=mTicw3DMZJ5Blce78wf/ClcNpUymsC0rU5+M1u/5L/BDPq0n+NqS4i1XuaOKPfduJe xwFphxLlUQUEHVwp2ikEXLjRP672T/ZeQpSsqo9rShfv1DFheDI/Hj8LVS5LW3Orvgf9 jukgdoGegDE98qEBS3XP0HwsaECoedllEsqwCM4TBRAXfJkjLV65PEWJHBGndCGADFsq Y8mWnPBVOtLJSCIP492uX8blqgxi8e6UHR6XMg46l+fEw2xiGyI4Iq/S7JPRF5MfBeYf VPdWX1fvAwVCtRLSWylXmVP7EvZNC7+xdy4LQ/asUbZ5NEsOJmNeiTFsbUjIpzTBMq23 CB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hvIy9rab; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id i5si4387179edx.304.2018.11.15.12.26.27; Thu, 15 Nov 2018 12:26:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hvIy9rab; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 2776DC2230E; Thu, 15 Nov 2018 20:26:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9F7FEC22230; Thu, 15 Nov 2018 20:26:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6DB55C22230; Thu, 15 Nov 2018 20:26:19 +0000 (UTC) Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by lists.denx.de (Postfix) with ESMTPS id 24F67C22214 for ; Thu, 15 Nov 2018 20:26:19 +0000 (UTC) Received: by mail-ed1-f67.google.com with SMTP id a2-v6so17809911edi.5 for ; Thu, 15 Nov 2018 12:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=93CCzARevSS8haGbpZjeW0A3TiSZPDtXvzUMLdDk4iY=; b=hvIy9rabKnBTgYOJymt+xygmtVruetBZVUEtrr4j0QCkc6cpoI5wOp/VODyHbAAXMU LnRuaCdcmvRwI0nvWTSiViyDOkcwbHQDVldJXd51O84kivFiqMkvX0D9V/IHxJb5kjyK K7biGv3I6B21mjJowLVb3KTgVOw+85ydilmA4= 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:mime-version :content-transfer-encoding; bh=93CCzARevSS8haGbpZjeW0A3TiSZPDtXvzUMLdDk4iY=; b=LibIwXcL3nLzk+wXYnTqBLRlOIwM1C1Is3k1YOvgsCNA8k3QhpRqYxeTu7np1zhev+ Pcqmtm0tILsuX+vpNSILNqFpG1n62Dg4i88jJ2x6BPv5qFRqkUoP0MhKIHcESsgXP6QF psUEpJQVA5TLXfXHQtGufeBOW2Ih459FsQA8mcRdhxjS6JguEzkm6BOs0CBjlWr820cr VW7QevQBmkJyBqMDgjXMwtDcLAfxp115wSeJLglBDjxfgTzW+evmWjLnLZ/77R5YqdOu 7hLt9Rv4G5LRndthdNYMC62x5pWi6AnkmqTq/jZ/koLS40xe5udOam3xy6giMjZdN1Oh WZIg== X-Gm-Message-State: AGRZ1gI/xJFo8+LPGWizGG21zZFMnTqQEdf8rRwjkDIHkfD+Gh9uIIyl xzXXGYuLEUv4wqMZh2AuY5DXHRYCaYE= X-Received: by 2002:a50:903c:: with SMTP id b57mr7063286eda.161.1542313578573; Thu, 15 Nov 2018 12:26:18 -0800 (PST) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id z44-v6sm7289903ede.11.2018.11.15.12.26.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Nov 2018 12:26:18 -0800 (PST) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 15 Nov 2018 22:26:17 +0200 Message-Id: <20181115202617.14941-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH] arm: ti: boot: Fix U-Boot environment partition address X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Recent removal of obsolete partition led to shifting of starting address of "reserved" partition (which reflects U-Boot environment). Fix its start address to keep it in sync with ENV_OFFSET and DFU environment. This patch also provides fixed start address for "reserved" partition, so that we can track when it's shifted next time. While at it, move it before "misc" partition to keep all Android partitions together. Signed-off-by: Sam Protsenko Acked-By: Praneeth Bajjuri --- include/environment/ti/boot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 3c9c87f21b..5891009a5a 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -34,9 +34,9 @@ "partitions_android=" \ "uuid_disk=${uuid_gpt_disk};" \ "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \ - "name=bootloader,size=1792K,uuid=${uuid_gpt_bootloader};" \ + "name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \ + "name=reserved,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \ "name=misc,size=128K,uuid=${uuid_gpt_misc};" \ - "name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \ "name=efs,size=16M,uuid=${uuid_gpt_efs};" \ "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \ "name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \