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] Creating U-Boot env image
Date: Mon, 09 Dec 2013 21:12:02 +0100	[thread overview]
Message-ID: <20131209201202.A64B5380A65@gemini.denx.de> (raw)
In-Reply-To: <52A5D4F1.7020101@xtech2.lv>

Dear Alexey Smishlayev,

In message <52A5D4F1.7020101@xtech2.lv> you wrote:
> 
> I would like to flash the environment variable values to my board, 
> rather than setting them at the prompt. I've founa a tool mkenvimage is 
> made specially for that. I used it to create a binary image of the 
> U-Boot environment. However, when I flash it to my board, I get the message
> *** Warning - bad CRC, using default environment
> 
> I thought it is due to that redundant memory wasn't written aswell, so I 
> commented out #define CONFIG_ENV_REDUND_OFFSET in the 
> include/configs/at91sam9g20ek.h, and tried once again, but I'm still 
> getting this error.
> 
> What should I do to flash environment values directly to the board's NAND?

Why don't you just use "env import"?

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
Living on Earth may be expensive, but it includes an annual free trip
around the Sun.

  reply	other threads:[~2013-12-09 20:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09 14:34 [U-Boot] Creating U-Boot env image Alexey Smishlayev
2013-12-09 20:12 ` Wolfgang Denk [this message]
2013-12-09 21:39   ` Alexey Smishlayev
2013-12-09 21:56     ` Stephen Warren
2013-12-10 11:39 ` Mats Kärrman
2013-12-10 12:32   ` Alexey Smishlayev
2013-12-10 13:33     ` Mats Kärrman
2013-12-10 13:36       ` Alexey Smishlayev
2013-12-11  9:59 ` Bo Shen

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=20131209201202.A64B5380A65@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