[U-Boot] [PATCH] stxamc8548: make environment use one of the smaller "boot" blocks in flash
Wolfgang Denk
wd at denx.de
Wed Aug 5 09:30:33 CEST 2009
Dear Alex Dubov,
In message <591477.74934.qm at web37601.mail.mud.yahoo.com> you wrote:
>
> > 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?
> >
>
> The "large" eraseblock size for this flash config is 128k (2x64k). Small one is 16k (2x8k).
So the old setting (CONFIG_ENV_SECT_SIZE=0x4000=16K) was plain wrong?
Please merge this fix into your inital patch submission, then.
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
Severe culture shock results when experts from another protocol suite
[...] try to read OSI documents. The term "osified" is used to refer
to such documents. [...] Any relationship to the word "ossified" is
purely intentional. - Marshall T. Rose
More information about the U-Boot
mailing list