[U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

Reda MIMOUNE reda.mimoune at easii-ic.com
Fri Sep 17 16:49:15 CEST 2010


Thank you
No Davinci did not mess it up. I read 0x4000 (16KB) instead of 0x40000 (256KB).
So if I understand you I can swap the values in my first email:

CONFIG_ENV_SECT_SIZE  	= 128KB
CFG_ENV_SIZE	 	= 16KB

Thanks for help.
Cordialement,
Reda MIMOUNE



Reda MIMOUNE
Ingénieur Software Senior


EASII IC SAS	 	
90, avenue Léon Blum	 	
BP 2612	 Tel : 04 56 580 579	 
38036 Grenoble cedex 2	 Fax : 04 56 580 599	 
www.easii-ic.com




-----Message d'origine-----
De : Wolfgang Denk [mailto:wd at denx.de] 
Envoyé : vendredi 17 septembre 2010 16:32
À : Reda MIMOUNE
Cc : Scott Wood; u-boot at lists.denx.de
Objet : Re: RE : [U-Boot] RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

Dear Reda MIMOUNE,

In message <1918F436C366B34BB245DD28389E039453ADFAAD2A at mars.easii.fr> you wrote:
>
>  reading the README file, here is what I read:
> 
> 	Note: CFG_ENV_OFFSET and CFG_ENV_OFFSET_REDUND must be aligned
> 	to a block boundary, and CFG_ENV_SIZE must be a multiple of
> 	the NAND devices block size.

I think that should be CONFIG_ENV_SECT_SIZE

> Since my sectors/blocks are 128KB, I must be at least 128KB!
> 
> Is the README file wrong ?

Seems so. Unless Davinci has messed up 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
"If that makes any sense to you, you have a big problem."
                                  -- C. Durance, Computer Science 234


More information about the U-Boot mailing list