From patchwork Tue Jul 7 13:50:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11648641 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFFEA92A for ; Tue, 7 Jul 2020 13:51:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8AE42073E for ; Tue, 7 Jul 2020 13:51:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q/s2NX8b"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="LikJzzlk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8AE42073E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=l/sxZYJAYeEDG5tgUg1UTrGXhD1qmB/9Owno7iInwHQ=; b=Q/s2NX8baPfXJDIHA88ys8gts Y+FqPXF6XiRriSKBMnjYVt/q270brhnGoPm6Jwr2r6Mt6yib4NeFQg8Lie5z8dVIhvM3/yC3RxFFz s06Es6RXIaQ+agdIj6JUL+mDNaKXe7JgxD7MuRwyLJcbUXjHaNFQ0TcJOMrhl4CyEQd2Ly+G2c83t Jv7LDIVncbncwnZwO3XBz+MhljpCakuZgEMnCAzpnwgTUwA7X6ZZnwhCDZCvHTgmGAEO8UZbqfn5g juG/5R8nJHxl0P416/ltKl5XLWR+4zabv+8N1iW8iU4UM9iFfVvh8LGCL1w38Kvn9IdO2dtROK+Ad fwOIYZQZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso0J-0006ZP-QH; Tue, 07 Jul 2020 13:51:24 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso0H-0006YL-RN for linux-rockchip@lists.infradead.org; Tue, 07 Jul 2020 13:51:22 +0000 Received: by mail-pj1-x1044.google.com with SMTP id cm21so8990832pjb.3 for ; Tue, 07 Jul 2020 06:51:21 -0700 (PDT) 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:content-transfer-encoding; bh=X09XRwdN6OD0FcvM3vVAEHq81Npbq7hoDY+clcDkkik=; b=LikJzzlkwTPPzvOtuVBuoZP2yvmghGNgarLX7ZBY9X1wt8frnslyOEZkkPP1pQ9dlK j6kGxbyAzshCSwpnnbaK//mo9iot9zzxswEK2didEyzis7okjsUH3Up5YDmS25HIBe+Y AziaytSDcngOh4NAMmxSAffhvi/88KR6w1L90= 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=X09XRwdN6OD0FcvM3vVAEHq81Npbq7hoDY+clcDkkik=; b=UcqiYV++idKYJ3uxnW0hxnOkNc7eRZCg6EvA4PmcCUFka6ypdXxZfw/qhar2sRGZo1 1QnX1zlhl/SKm76JPK07LynlGE0KOcrgSPS/86wOqSBdCiXrDGpqbtdmkwuDLCKFwP8T EryS8TBZuhOb+h1s2yClcXHdDfazB/KO7zI1n9sJu02q0UYh0F1d1MeAfVndPIPsdJ5Y 9Cy0x4d8JOhN1po7TCM4MgP/uvlRwL3kOF2TYWkKk6PnFApGuC3DmQhqoXqh2riOHhzh pLAxZTqP70bGD7DNlI/ADzFBow9mQqAM35zWLslhP5esMZnE+grqVKVivfnSJ5OUzA55 ZrZg== X-Gm-Message-State: AOAM5335JVeKlFq00sYagtOtNTdkx2c5fN5qHkYR3lkqDnfVPQAbO19P yWo5oVvVvyZM6nx40l4qXz1RVQ== X-Google-Smtp-Source: ABdhPJwDgjWrESrMyFcwbvRHyQO6vgrU1gJEEbfIWVRqYkQB7OlHIYA/jWxxJM283SP8PEyaSqymPg== X-Received: by 2002:a17:90a:8a07:: with SMTP id w7mr4516991pjn.219.1594129879693; Tue, 07 Jul 2020 06:51:19 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:18 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v3 6/6] roc-rk3399-pc: Update ENV offset, size Date: Tue, 7 Jul 2020 19:20:49 +0530 Message-Id: <20200707135049.9521-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_095121_932934_AC4422F2 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1044 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v3: - fix configs 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 b2c370cc59..f15dddc684 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_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 588d03952a..9ffde7f960 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_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y