From: Maxime Ripard Date: Mon, 29 Jan 2018 09:02:52 +0100 Subject: [U-Boot] [PATCH v3 17/30] sunxi: arm64: Increase u-boot size on MMC environment In-Reply-To: <1517156391-11353-18-git-send-email-jagan@amarulasolutions.com> References: <1517156391-11353-1-git-send-email-jagan@amarulasolutions.com> <1517156391-11353-18-git-send-email-jagan@amarulasolutions.com> Message-ID: <20180129080252.2vivjxcotkjkm6id@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jan 28, 2018 at 09:49:38PM +0530, Jagan Teki wrote: > U-Boot size is crossing MMC environment offset due to adding > new features on arm64 boards. So update the ENV_OFFSET to > 0x100000 so the u-boot size limit increased to 0xf6000 > > MMC layout(updated): > =================== > part: sector: size > unused: 0: 8KiB > SPL: 16: 32KiB > U-Boot: 80: 984KiB > uENV: 2048: 128KiB > > Signed-off-by: Jagan Teki > --- > env/Kconfig | 3 ++- > include/configs/sunxi-common.h | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/env/Kconfig b/env/Kconfig > index 692f863..e2b32c2 100644 > --- a/env/Kconfig > +++ b/env/Kconfig > @@ -441,7 +441,8 @@ config ENV_OFFSET > hex "Environment Offset" > depends on !ENV_IS_IN_UBI > depends on !ENV_IS_NOWHERE > - default 0x88000 if ARCH_SUNXI > + default 0x88000 if ARCH_SUNXI && !ARM64 > + default 0x100000 if ARCH_SUNXI && ARM64 This breaks all existing platforms. NAK. Why do you think we went into so great troubles recently? Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: