From patchwork Thu Jun 18 14:12:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1406 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 543D23F0D3 for ; Thu, 18 Jun 2020 16:13:34 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id r12sf4394594pfr.16 for ; Thu, 18 Jun 2020 07:13:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489613; cv=pass; d=google.com; s=arc-20160816; b=z+FH2EQ2GedwEJmZJgNbc+K9fDz6yiNxDiXhSjjwrYzzE+pbaBqpePyr4KOJQPwNXN ytGbsW18zvaKE27q7fwDTJuhVmcwmK61dfp5Z7s6YoRvhgTIbKQOr+f8kYP00+nTZR4r kOREJ+evtwoGNhumtcSMzRwMAukIi6yM9wIZqeCgijQTI55Up1uNEksH60m4sdrOjVHp 94s5z2Jrc9D1ygDLVxNiGHmXsemXSGOzvZqmSJhi8NPSamdReFxwOH9j/HJTgQiKlHpP eIZHgB3wDLZzgZ4R9oYvo33J2zA3EzKrTeexi/7dSKELFuTbLN8Ebjzpfi71Xl6TQwCS YmCA== 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=J7sHA2c+Mz0TyZwKeToZIhRH9swSco0BxnfjOM1VKm8hxKY8KnSaIUD3BxLWP3XOXh QN4MfnVfUjxqXo2dGIKFjjLsxzZPGbbzqS59SWgGy+V05oMbqoAhd1AJpCPIrFRWeXlM p9IMEDUoNRbDYBkxJ4bJBMZbawGVkrIZddUFwqRTI5EXeB/OFY8MbJ5bLNm0YH6tauP1 t7ZH9625rU5tbG7F8ME4hnQt5BIMYvFbMCJC8A1YVLeAxrQ4E8q7X2k9F6JX4U2xBEsC TZmXyHzwicexPw+iKbVHgHVBa/yRj3uY72yoc1NcNAC+e06im8KpKBaF714spo4KEoSH 7vtg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Io2072ND; 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=pWfkb6L9Lk4ztds4bi+FE75SWE6saTyo2JK7ZdTY/OxBXly6PgVU8DXNjtZvHYnjNB Dah8bRn1vioks16qoJy7W07u6PDAF+r26YKo+k02+f/20L41aIeDOxpIL4L4s0g60aoA 8UDqayYClitu8dvt1ZJLR5ilfStQEvlesM3IM= 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=jEczhwAhVow5i7ZqNVQTI9ngrETSSkePgu0nOBkLdfY=; b=lmbKgrCDAyOORgT9rxkYeqRSeVqqE7f6I1sm5zLVpYCwXysUl/0ORHvQsvJ3e0p0rD NQ6yqmLkowG0ieeKDTozGr6+IrFK7kFNMC7dasCWB9HfASMlokpFlX+289tliVj/kzee u/N+9vygeCmwE2e1R+l5WupZmB0Il6czOYR09QVNHsyqQjMPbVaFih8D41JbsC0CuWJo 3OggC+T+C4KpjvzYkg0K3jvuMnncs/Ro60MTtf8009yS9b5n3lehV8OT+jcyiuGo3Wg2 ZtD5RHgPUIImq7QCiJqBap6SP0EYDml8WtbOV0eUCY8OOAu2uHedjZDblRFf9T/7dhEZ CXPw== X-Gm-Message-State: AOAM532U1UUQ/GlS4kzJAOzJbom51goOhPfmeE9BgbaLt/Fz6pzZFDi5 D/3TSAn8GeXOc/CTVSDSKgCWRerp X-Google-Smtp-Source: ABdhPJzZtYK5lSym2HfH3yqPH+qVsjcDVd1eZGAB6eAu2/7PgsFsqjDycbOiMv+gijbOtaRkinORrg== X-Received: by 2002:a63:fc0e:: with SMTP id j14mr3577298pgi.264.1592489613137; Thu, 18 Jun 2020 07:13:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c253:: with SMTP id d19ls2477183pjx.2.gmail; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) X-Received: by 2002:a17:90b:e8f:: with SMTP id fv15mr4730913pjb.47.1592489612693; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489612; cv=none; d=google.com; s=arc-20160816; b=bbsfZBYxaNOyPiyrviu6R8sgpMOBMYzVpUvxe9y8aRmnjGgGMWrjqBUlm+XUQ8qPpE aCp9ZvU2l5Z2mFwEjcWhRliJFiWoRV3otWHGQDckzYfmitbHiS3h6AJfldSQejn9ExC/ 3oRggnqeyXV1zEFjPJcybKgOa/YCNQ1CrMOPXQQIa8tJMoecM2kmhRDQqyipPVLVZZwK NwQVDvt09D17WLbSPXoq6Yo7YFkNgWEouoV9sbtmqJfLZtFrlFsGO95VctdVwV9AtTWR tqaYMYcJ2+RaVq1kzeu1bXd/8JhixGXGGDQb6InETs1hyPjkv9Vjd6KLPgQx7hwEc7h0 k4NA== 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=aXo79YsDlYiUwbb10I7rIRjM4i7XWuzplBzXYRC5D7k=; b=PI8fhS04k8BGer4yfFJ0iRJ9x3Qt/Jo2nD8sX0yx7Z5Fh2k62KmjXy8cQQRe/gLYnj ePNQD9LbrWX2lSjwPKk6lxIzSOGXukM/laeMzcdMQTfXEHY1fH0gOyrf5LHwsYPcKUfE 6EFXSfrzG2DAiKrL/5UFSAU+9Mwqu6Sz+fONfYhgoEiFFY3xDnIyNtr87C8leuAeA8Sx S7/1Fj38JYtDZZ0DjUw7L5L+JLsFW7RIFHVvPCoIMCuv+3ku+2f1u6TLJTG70cdLg1u3 WEi1nM5xve0z8Rx2EbjJw2jhTD4dZKTCKnZiiAarC8azY5nbXvO2BnozQhnsahR7mI7J oJKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Io2072ND; 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 s2sor3623964pjq.38.2020.06.18.07.13.32 for (Google Transport Security); Thu, 18 Jun 2020 07:13:32 -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:a17:90a:dc0f:: with SMTP id i15mr4315734pjv.221.1592489612365; Thu, 18 Jun 2020 07:13:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:31 -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 v2 6/6] roc-rk3399-pc: Update ENV offset, size Date: Thu, 18 Jun 2020 19:42:59 +0530 Message-Id: <20200618141259.155581-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=Io2072ND; 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 --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y 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