From: Wolfgang Denk Date: Tue, 04 Aug 2009 23:39:47 +0200 Subject: [U-Boot] [PATCH] stxamc8548: make environment use one of the smaller "boot" blocks in flash In-Reply-To: <1249383697-28141-3-git-send-email-oakad@yahoo.com> References: <1249383697-28141-1-git-send-email-oakad@yahoo.com> <1249383697-28141-2-git-send-email-oakad@yahoo.com> <1249383697-28141-3-git-send-email-oakad@yahoo.com> Message-ID: <20090804213947.5576F8340728@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear oakad at yahoo.com, In message <1249383697-28141-3-git-send-email-oakad@yahoo.com> you wrote: > > Put environment into .ppcenv section aligned on a smaller "boot" eraseblock > boundary near flash end. Hm... if you change to code to using a smaller boot sector... > #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE + 0x38000) > #define CONFIG_ENV_SECT_SIZE 0x4000 /* 16K(one sector) for env */ > -#define CONFIG_ENV_SIZE 0x2000 > +#define CONFIG_ENV_SIZE 0x4000 ...should then not be CONFIG_ENV_SECT_SIZE changed to some smaller size, too? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de How does a project get to be a year late? ... One day at a time.