public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] RE : Davinci DM365 custom design : Problem when reading uBoot environment variables
Date: Fri, 17 Sep 2010 14:37:21 +0200	[thread overview]
Message-ID: <20100917123721.0A2D015242D@gemini.denx.de> (raw)
In-Reply-To: <1918F436C366B34BB245DD28389E039453ADFAAD25@mars.easii.fr>

Dear Reda MIMOUNE,

In message <1918F436C366B34BB245DD28389E039453ADFAAD25@mars.easii.fr> you wrote:
>
> Have a question about it, if I upgrade to a new version of uBoot. Is it guaranteed that mkimage
> will wrap the uboot binary the same way. Is mkimage the same version ?

Of course mkimage is not the same version. When upgrade to a new
version of U-Boot, you also get a new version of mkimage.

> If yes, I think I will upgrade.

Where would you expect problems?  You can build and test the new
version of mkimage before updating the U-Boot image on your target
board.

And you can keep the old mkimage tool around for reference as well.

> Of course, I understood that. My question was in the config file. I put this:
> 
> #define CFG_ENV_SECT_SIZE			SZ_16K
> #define CFG_ENV_SIZE				SZ_128K

This makes no sense. I doubt that your NAND flash has 16 kB sectors.

Also I seriously doubt that you need 128 kB for environment.

> I saw something equivalent in the Evalution board of Davinci DM365 so it should not be
> impossible.

Please do not copy code without thinking.

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
All this doesn't alter anything, you know. The world is still full of
stupid people. They don't use their brains. They don't seem  to  want
to think straight.                    - Terry Pratchett, _Soul Music_

  reply	other threads:[~2010-09-17 12:37 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 [this message]
2010-09-17 12:48           ` [U-Boot] RE : " Reda MIMOUNE
2010-09-17 14:32             ` Wolfgang Denk
2010-09-17 14:49               ` Reda MIMOUNE
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=20100917123721.0A2D015242D@gemini.denx.de \
    --to=wd@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox