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] call env print from uboot environment
Date: Fri, 01 Feb 2013 06:25:40 +0100	[thread overview]
Message-ID: <20130201052540.B468620055E@gemini.denx.de> (raw)
In-Reply-To: <loom.20130201T035118-798@post.gmane.org>

Dear Rommel Custodio,

In message <loom.20130201T035118-798@post.gmane.org> you wrote:
> Dear Wolfgang,
> 
> Wolfgang Denk <wd <at> denx.de> writes:
> 
> > 
> > > What am I doing wrong.
> > 
> > Try instead:
> > 
> > 	env import -b 20000005
> Skipping the CRC ... maybe "20000004" is the correct address.

No.  As I mentioned before, this environment was set up for redundant
env, and has a flag byte after the CRC. So you must start at offset 5.

> "env import -c 0x20000000 0x200" if you want the CRC verified.

Which will not work, as there is no valid CRC in his environment.

You should actually read what I wrote before trying to correct me.

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
A good marriage would be between a blind wife and deaf husband.
                                               -- Michel de Montaigne

  reply	other threads:[~2013-02-01  5:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 20:24 [U-Boot] call env print from uboot environment John Stile
2013-01-31 22:29 ` Wolfgang Denk
2013-02-01  3:13   ` Rommel Custodio
2013-02-01  5:25     ` Wolfgang Denk [this message]
2013-02-01  7:58       ` Rommel Custodio

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=20130201052540.B468620055E@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