From patchwork Sun Sep 7 16:01:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DrEagle X-Patchwork-Id: 386717 X-Patchwork-Delegate: prafulla@marvell.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 403351400BB for ; Mon, 8 Sep 2014 02:03:29 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 656B7A7408; Sun, 7 Sep 2014 18:03:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hNcDO9LYbpVY; Sun, 7 Sep 2014 18:03:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1A908A740A; Sun, 7 Sep 2014 18:03:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2C1D4A73DC for ; Sun, 7 Sep 2014 18:02:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6KruXCqJomc5 for ; Sun, 7 Sep 2014 18:02:50 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from milenium.gk2.net (louche.gk2.net [88.178.80.34]) by theia.denx.de (Postfix) with ESMTPS id 6BB82A73E5 for ; Sun, 7 Sep 2014 18:02:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by milenium.gk2.net (Postfix) with ESMTP id 195932D487C; Sun, 7 Sep 2014 18:02:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at milenium.gk2.net Received: from milenium.gk2.net ([127.0.0.1]) by localhost (milenium.gk2.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X0V6SvHOUl89; Sun, 7 Sep 2014 18:02:17 +0200 (CEST) Received: from BARATARIA.nation.gk2.net (village.gk2.net [109.190.23.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gege@milenium.gk2.net) by milenium.gk2.net (Postfix) with ESMTPSA id 3E5442D480E; Sun, 7 Sep 2014 18:02:01 +0200 (CEST) From: Gerald Kerma To: u-boot@lists.denx.de Date: Sun, 7 Sep 2014 18:01:20 +0200 Message-Id: <1410105684-12506-2-git-send-email-drEagle@doukki.net> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410105684-12506-1-git-send-email-drEagle@doukki.net> References: <1410105684-12506-1-git-send-email-drEagle@doukki.net> Cc: Gerald Kerma , panto@antoniou-consulting.com Subject: [U-Boot] [PATCH 1/5] ARM: sheevaplug: change env location X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch move the environment offset in sheevaplug. The size of the u-boot binary is become too big. Fix saving environments was result of corrupting the u-boot. Signed-off-by: Gerald Kerma Changes in v2: - patch description Changes in v1: - fix sheevaplug environment offset --- include/configs/sheevaplug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..d89bc37 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -54,8 +54,8 @@ * it has to be rounded to sector size */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */ -#define CONFIG_ENV_ADDR 0x60000 -#define CONFIG_ENV_OFFSET 0x60000 /* env starts here */ +#define CONFIG_ENV_ADDR 0x80000 +#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */ /* * Default environment variables