From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] environment variables crc
Date: Mon, 20 Apr 2009 14:25:16 -0400 [thread overview]
Message-ID: <200904201425.17747.vapier@gentoo.org> (raw)
In-Reply-To: <49EC98CE.9090001@mgb-tech.com>
On Monday 20 April 2009 11:46:22 Gerrit Van Damme wrote:
> I've copied a flash image of one board to another one and changed the
> ethaddr (environment variable)
> of course when I start Uboot now the system says: CRC bad, using default
> environment variables.
> Now what I would like to do is recalculate that CRC, change it in the
> image and then copy it to the second board.
> Can anyone tell me how I can calculate the CRC and where it is located.
> I already understood that it's a CRC32.
"saveenv". the CRC is the first 4 bytes of the environment and is calculated
using the environment.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090420/0b61f078/attachment.pgp
next prev parent reply other threads:[~2009-04-20 18:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 15:46 [U-Boot] environment variables crc Gerrit Van Damme
2009-04-20 18:25 ` Mike Frysinger [this message]
2009-04-21 8:15 ` Gerrit Van Damme
2009-04-21 14:43 ` Wolfgang Denk
2009-04-21 15:11 ` Gerrit Van Damme
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=200904201425.17747.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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