[U-Boot] [RFC] utilize flash small block sizes to reduce flash footprint
Wolfgang Denk
wd at denx.de
Mon Sep 27 10:59:43 CEST 2010
Dear Andreas Pretzsch,
In message <1285564526.21734.187.camel at 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.
More information about the U-Boot
mailing list