From patchwork Fri Jun 12 06:41:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1362 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AA5063F03D for ; Fri, 12 Jun 2020 08:41:27 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id o7sf5683403pgb.1 for ; Thu, 11 Jun 2020 23:41:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591944086; cv=pass; d=google.com; s=arc-20160816; b=S1I3ks++3to6egsdKK6XzzriQl1ubgz9GcXVG3M2YsRqSKLp1qGPjE3hY0HD9KhlG9 tTih9jxjlTBf1nAc2hWRcT26h0etH6tNbrd1Wufx52Sa0QWGt9m7KYu2FcPv1daq7Pdc CoLFpU5vc5kUMX81159Mq5Ao+Hyey2b21K92vo8Y6cEfM+KSsxfukytUHAMpnwK/UGug JiwFXKoQf6u8vgRHvDxa/gyq9b9ncPz62tMIXORMIV58lVchZdMgZjRi8ZtNLxnIbnZ7 CA/DA1yKI1WA9CpzZ96TpCB98B/atF0Swz4PNQXsy9mdUJsorgcvlu6kx8VA4yxjwMw5 liIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=GSdNV4xJW4FBiIzBNV/eGm0fcyacxifVZc2+VTv9ckA=; b=iyPb+RleQJepvzM3+bYaNdMyocK+oJ+klOCbqfSs/JmGhuSnaXgVVOdyCtYxXg5Tei qCgtKt7yLbxwNDEtOi4gCyweXjPCH643DFYD+MMfd2CFe9p2dmoP2RLio16s2O24Xh8Y SVTBcTEZy8rYzNp3J0zYewrLmI0RFj0YSTHe2u1xGuKi45kAqrF02Zw4qFtwZGPLgeNt Z1c6Y6+PXahAuLPTArufRE/S/RLKAFJZgB69D7WclxAM0W3ZONtI9OQ9Vbr1sIDkDbCq 0x11HLuVkZNafI8nsiBSpTYlnRc/3XE0vZoFAiT7y62AAIgWlteQv6jR+kaA64ByyNwM DwFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QZzNsedO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=GSdNV4xJW4FBiIzBNV/eGm0fcyacxifVZc2+VTv9ckA=; b=i/spDPOMbjFeZfxRGdKInHIYswwjp6i3uMz95ZYRDXI5VQwkD80RlPLw1BAMxui1OC HJp6xcLLmlVfNtrXDKRapinZ7lbeFKLwgASjcgJXTxXfiiNNd/wUrWO9dGLmyEqND592 sdSc23lTzKe7O9ps10X4JKuNS+f6esmoC35bg= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=GSdNV4xJW4FBiIzBNV/eGm0fcyacxifVZc2+VTv9ckA=; b=sfy35Qqxjcw34GICsg8QYQUQWCC35GIfWlCdu8uUoGjJ+Io9X9f8bvmWe7oe6PkfGt 4la+2+bXcHTiSdO3Vy58Kz9QKbLt5mC4f0gfuNgRyHSGUurI6+v0rZLIyamUn77gdxSZ vboXVNc0kayYJRo+3s0vrc1cu6O3GgJrBoNDp1C67PYHdDkf98sB/nzpa9N/FMhXVzGO v01EurVMB5LbbtnvxxSHxns3V+zzeGP4JMa/+a0r+O4EgW0mjdGqflu/tKhK7mQhyGBR I/6f0KmrtS9HXaeBYsEcn6kOxFecCsghn8eF4SO8ZPT3M+iQTs1ijjpBBp5BzwwrztMu 7qfg== X-Gm-Message-State: AOAM53329Sc+XNFdxVXDdWH7v7Z29VwKtWaP0eA+Ekt9RdM2JoAuxIhL FkJgpV4GzZRk71OWIvQW6g1XggH8 X-Google-Smtp-Source: ABdhPJxGiA4yehIHOaCbEmJNd3aLJCRbEGMmca0EI6i2pRfrS80RjXduYqE7CEp15kDmLJE1debrSA== X-Received: by 2002:a17:90a:f0ce:: with SMTP id fa14mr11239811pjb.169.1591944086241; Thu, 11 Jun 2020 23:41:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:178e:: with SMTP id 136ls1485354pfx.2.gmail; Thu, 11 Jun 2020 23:41:25 -0700 (PDT) X-Received: by 2002:a63:7d1:: with SMTP id 200mr4544528pgh.117.1591944085782; Thu, 11 Jun 2020 23:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591944085; cv=none; d=google.com; s=arc-20160816; b=XCq5iqVw2eryhaoN0rgCS7Ki0garZlxBZZlPQRXaEmb3c+yxDSgRTe8dHbPEUP4ha7 VL7rVWeSdDI3D030T63RIYptvo3xU9pJk3Mi2GqvVhsX/W5HH9Tg5AleO0SpLJU2B3KW 3IO3qzscYCeahroo7v/d6Fy2kSwBhLjNIE3fTnY8g1MDoKETaAIBWHqucFmpFtoFmL3m 6Uoc66U8FG1+YMhyzQubx5CnGA6xv22g4tA+HJQwFZ3Oef0+m3Zgs3kVOTgLN8qtriz1 q5tDkXNN+aU0CO/j7sScchrrYjTRFHkfWMCs7/VQmJHW4Li2fELLbdxZl3wrSPHYksvi oV9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VZ/BwdmGkBFMIYL+4deXgcIl5rwY9fNYUfDELeT0SXQ=; b=LE6sxlXXgqwYQECSKY9RFSYSDT9AcwXsE1qKkSnrY1RFMwje9hmbZ+4pp9yxHBYP/2 iXEb+Bx/Mk3ULFUUga2HMdL6Y08MYw0nMYY7iU3T/+9mHGIroiqzYRfYMBtuVuK9gqrw 14jHXPFsFv+cxFF7YY7rogfQ1GIykrVNu/fCvlrG38fF1tGyn8rDCX57OdGnd4vDK6QW nmGLMsUFSWe+ede8GNt+QsIKrPoFbjXjiGtcgjCzu4a+JyU325WsGIzW0zPhWPdw2jcY pSLtvlsAD/WNbvjO+XUYq4sfK4vrtxHQXL7n8c4jGJcg5gDCIJsjifjeHAL25fQMzE7X 6imw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QZzNsedO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 62sor6578508pfd.99.2020.06.11.23.41.25 for (Google Transport Security); Thu, 11 Jun 2020 23:41:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:3103:: with SMTP id x3mr10156554pfx.130.1591944085489; Thu, 11 Jun 2020 23:41:25 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b5c9:c9f3:725c:9867]) by smtp.gmail.com with ESMTPSA id j19sm5033878pfn.109.2020.06.11.23.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 23:41:23 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH] roc-rk3399-pc: Update ENV offset, size Date: Fri, 12 Jun 2020 12:11:07 +0530 Message-Id: <20200612064108.459227-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200612064108.459227-1-jagan@amarulasolutions.com> References: <20200612064108.459227-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QZzNsedO; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki --- configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- configs/roc-pc-rk3399_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index 7906948374..595f052cb7 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ROCKCHIP_RK3399=y CONFIG_TARGET_ROC_PC_RK3399=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 046fb73858..1c4db3443f 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ROCKCHIP_RK3399=y CONFIG_TARGET_ROC_PC_RK3399=y