public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alexey Smishlayev <alexey@xtech2.lv>
To: u-boot@lists.denx.de
Subject: [U-Boot] Creating U-Boot env image
Date: Tue, 10 Dec 2013 15:36:06 +0200	[thread overview]
Message-ID: <52A718C6.408@xtech2.lv> (raw)
In-Reply-To: <ED3E0BCACD909541BA94A34C4A164D4C4FD9B995@post.tritech.se>

Hello Mats,

On 2013.12.10. 15:33, Mats K?rrman wrote:
> On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote:
>> I'm not sure, if that's not something simple, that's why I wrote to this
>> list. I just don't know every little detail about using U-Boot.
> I was thinking something like:  [flash-sector-size] <= [U-Boot-configured-env-size]
> and you must give the right number to the env image generation program.
>
>> That's what I've thought also - if I just dd the environment contents to
>> a file, can I then use it as a valid image for production? That could be
>> the most simple way to achieve what I want.
> Yes, should be possible. If you're using redundant environments, you
> probably want to use the env copy that has "0x01" in the 5:th byte.
> See common/env_flash.c and include/environment.h.

Thank you, I will check that. How can I see if I'm compiling U-Boot with 
redundant environment, or not?

Best regards,
Alexey

  reply	other threads:[~2013-12-10 13:36 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
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 [this message]
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=52A718C6.408@xtech2.lv \
    --to=alexey@xtech2.lv \
    --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