[U-Boot] [PATCH] stxamc8548: make environment use one of the smaller "boot" blocks in flash

Wolfgang Denk wd at denx.de
Tue Aug 4 23:39:47 CEST 2009


Dear oakad at yahoo.com,

In message <1249383697-28141-3-git-send-email-oakad at 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.


More information about the U-Boot mailing list