From: Wolfgang Denk Date: Mon, 27 Sep 2010 10:59:43 +0200 Subject: [U-Boot] [RFC] utilize flash small block sizes to reduce flash footprint In-Reply-To: <1285564526.21734.187.camel@ws-apr.office.loc> References: <1285564526.21734.187.camel@ws-apr.office.loc> Message-ID: <20100927085943.8E331153651@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 Andreas Pretzsch, In message <1285564526.21734.187.camel@ws-apr.office.loc> you wrote: > In a nit-picking moment trying to save some flash storage, I looked at > the current typical flash layout of U-Boot and came up with below RFC. Thanks. > I'd volunteer to provide an implementation for the architectures I have > close at hand today (Blackfin, ARM11), as time permits. For other > architectures, I'd need some assistance. You design a big and somewhat complicate solution for a problem which does not exist, because it has already been solved more than a decase ago, i. e. right with the very first versions of U-Boot (or PPCBoot, as it was called by then). We call this feature "embedded environment", and all what it takes to use it oin a machine is a somehwat hand-crafted version of the linker script which aligns the location of the environmentin the right (small) flash sectors. This works like a charm, and I recommend you have a look into this. 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 NOTE: The Most Fundamental Particles in This Product Are Held Together by a "Gluing" Force About Which Little is Currently Known and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.