All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reda MIMOUNE <reda.mimoune@easii-ic.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables
Date: Fri, 17 Sep 2010 16:49:15 +0200	[thread overview]
Message-ID: <1918F436C366B34BB245DD28389E039453ADE8BB05@mars.easii.fr> (raw)
In-Reply-To: <20100917143204.6416A15242D@gemini.denx.de>

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@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

  reply	other threads:[~2010-09-17 14:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 16:21 [U-Boot] Davinci DM365 custom design : Problem when reading uBoot environment variables Reda MIMOUNE
2010-09-15 18:15 ` Scott Wood
2010-09-16  7:42   ` [U-Boot] RE : " Reda MIMOUNE
2010-09-16 16:55     ` [U-Boot] " Scott Wood
2010-09-17  7:35       ` [U-Boot] RE : " Reda MIMOUNE
2010-09-17 12:37         ` Wolfgang Denk
2010-09-17 12:48           ` [U-Boot] RE : " Reda MIMOUNE
2010-09-17 14:32             ` Wolfgang Denk
2010-09-17 14:49               ` Reda MIMOUNE [this message]
2010-09-17 15:02                 ` Wolfgang Denk
2010-09-17 18:01               ` [U-Boot] " Scott Wood
2010-09-21 14:47                 ` [U-Boot] RE : " Reda MIMOUNE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1918F436C366B34BB245DD28389E039453ADE8BB05@mars.easii.fr \
    --to=reda.mimoune@easii-ic.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.