
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@denx.de] Envoyé : vendredi 17 septembre 2010 16:32 À : Reda MIMOUNE Cc : Scott Wood; u-boot@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@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