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: 1449 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 9E2263F062 for ; Tue, 7 Jul 2020 15:51:21 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id o15sf32490612pgn.15 for ; Tue, 07 Jul 2020 06:51:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129880; cv=pass; d=google.com; s=arc-20160816; b=QOmf/EjH9SNnWflxN3Z27oki3rKRYsEiuVQ5aUrp1bpsN455F/4SsB0lI8HQz5aaHq QUjmKqksn+Q0O+DKC/vqKoJjAtDUIChy1QmQHsNuGZvyUnFpe53/Sau0wGQBUQA45GD1 tcOmquoRbVRrGFvA0gJ2Aqf4Qln4tOwkx/B9nRQcaL7B+dQh7EUr2iq3fWK4csoJVp5+ M3t8mKrlo9l+2pURbzRusr/+yW3IGZH7xtxgxo4RYRrGEN7xVI5jTJQgKNrshh0Uq7oK gWKjSpKT60z+joVpS0dpTkTPMltg6iFp/SV15jGTT+CQBJwj25PwQpD/Lfds8L6M1g0B yxZw== 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=Cg8Tux1sXaQFN6CHTej33YeBUvRQhplmq6YdN+fjQ4ytrRbqTI7WPpczAVZoZCVYyW jMPMB12AoZUEust5gKSDTHraXTnmbSzReERK+pmgU8GHF6Swu3diHW3rlL5GzVgtq/W4 4mBS7mvu7t1TVtUDyPN1OR2mpqj+g9lUiqpcKPUUkutgNqtyhVI3V3G40EbYCtzJwl+Z QaALOg9hMZlZVwnYYeo2DOsx1uGs9MCjg/xuHnCDol9rBqz55j33/3cnowmWc12KL6Ed QUC0LVQDJNJzdLlj63Je1DbKmrpln05d32LMyvSvXlfLrLtIJ9++lld4W/sIPHiv3mkj SvqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LikJzzlk; 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=KqE1eS13MnOkCE51mIXuZIdUJR762+84lFwrD8SAnZtwLw/ISgSs86ZrrBTY5UOTG8 aAg3T22i4r3Igiiqq6ln0WabcJZxEjBcDoDDsNqwpeOeVe8ljnpKcAXd3C/ILUzR3lnT 5ga8c9cjoyQnuxvO4lQumtfahdqY2X5BfxpR4= 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=hpifBn1YXcp+1pmsFsdDMkYBy9IqEVZZHe4TP+7y80g=; b=jS+ToB3GcbD6Di7ju3TLy/ZRKdT1ceOF1M9jbaXjS64gpc+R511TWV/72ixaX03vpu OorM76p5FguS1/Ji4W1msO6mhqMpOCL1tfDypPNLyDbG+82H8FWNz7ptHwAHtXzLz/0g aVL8ZFfv0nms/Y700yClm/uF4nnjI8lW1PW6VgHwH9UregEYcbIuwJScXj+9iiHVbvOO DDJBT+5rkjAVgmXWRADnv47AGaXCMqco/5f0cKpUdnaaSw1qbxur+fCxZfUoIkOL35WK zTFWSkzi4CXwued2qSRtoxw6t9qBX1FeUxQP5IlPlvBHJkSb8azus1+NJ4ZZ8RY45bws TtWQ== X-Gm-Message-State: AOAM531Z2kb/m36FPPDugsNzW9selicYJj9BjObAiIH3kv7E5aWyU7nk NbS6CuSuJ/GY0YAaLE9zKgyoDTIz X-Google-Smtp-Source: ABdhPJy+/zVhbDcY3+0eTMO1RBdb6flpvBLnErgqKD3uK8sugu9o5sPDC/x9Jt8qittcRMWKjMj6zQ== X-Received: by 2002:a17:90a:ab96:: with SMTP id n22mr4563753pjq.52.1594129880399; Tue, 07 Jul 2020 06:51:20 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:be03:: with SMTP id r3ls2149912pls.11.gmail; Tue, 07 Jul 2020 06:51:20 -0700 (PDT) X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr46845458plp.321.1594129879931; Tue, 07 Jul 2020 06:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129879; cv=none; d=google.com; s=arc-20160816; b=UCm5d3Id14VsMMea0HIqEOWvvTRqrLc+Cwrd7p4/X6UcD5j4LlHPkxAFb3vsVa2XII WMcapTwUmgh6DGNMWBM11lQb5lcMfvA7aRgcUFZ47cIicz1kKvpzl15ApLhAXnQDlDqG aS1OncFsSUN5YRc1Nt+kPuFyBPFYv0hLonevFRcDJ9D/vLj1mcLAj2goeiEGQh/sC1e/ RBb79yCNa9LibpTksnJq6NYj9pik3pBHK49ufF73PXhkzMN1iS3e9icq/IXFqehQYcMN G2b79PTL3zaWWeHUOgieFYtWkbsyVBk17xUxkDI2V/sIQJDcpep+Xlhva/aqg5t7Yolq Uuag== 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=X09XRwdN6OD0FcvM3vVAEHq81Npbq7hoDY+clcDkkik=; b=WdheD9cOIMyjKpR13I9mv12Fc5UjrsVD5Kiy6dT5SZNQxqHwFcpw2SLb6xqLt5/yyH qwtU4+9nDoL3/XTuw0/ELRitAeguylggZD1BqZiZXi+dDqjGSa6xkzQ9j0hee0pIoZob O63wtKT+OrkMA9nQKo3J5oOQ5X4g5eo579eLFA4rg5pV8vB1jXGaBRP2EiODEr8Ks4wc pGkbYOxmwJTHR6LRCWMs9KRH4IDkveFdEHJYMJTcSPBzlhP6XK+zFAGNi4h/UvasH+fA FCnM4bUgTzfy1OlW2td9q5notI5dbHATTSMK/TMI+vxkzNU2/vmlgKlLG+UAWnqg9EKn TmoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LikJzzlk; 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 jf11sor3320093pjb.25.2020.07.07.06.51.19 for (Google Transport Security); Tue, 07 Jul 2020 06:51:19 -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: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 Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LikJzzlk; 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 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