From: u-boot user <aparna_badve@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] crc32 checksum header in bootvars section of flash
Date: Tue, 8 Jan 2008 15:51:17 -0800 (PST) [thread overview]
Message-ID: <14702144.post@talk.nabble.com> (raw)
Hello all,
Can anybody tell me where in u-boot source code and how is the crc32
checksum generated for the bootvars
section in flash? I edited the bootvars and have saved it to a file. The
crc32 checksum header needs to be appended at the beginning of bootvars. I
need to load the bootvars file and change it according for different board
configurations. I put printf statements in env_common.c in u-boot source
code in function env_crc_update() to print the crc32 checksum it calculates.
But the values in the bootvars section in flash do not match with the printf
values? There is a crc32 command in the u-boot bootloader as well. Is that
used to calculate the checksum in the bootvars section? If yes, then what
option is it used with and can we replicate the same code in user space so
we can edit our own files and append checksums to it at the beginning?
I look forward to your replies.
Thanks and Regards
--
View this message in context: http://www.nabble.com/crc32-checksum-header-in-bootvars-section-of-flash-tp14702144p14702144.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
next reply other threads:[~2008-01-08 23:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 23:51 u-boot user [this message]
2008-01-09 9:00 ` [U-Boot-Users] crc32 checksum header in bootvars section of flash Wolfgang Denk
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=14702144.post@talk.nabble.com \
--to=aparna_badve@yahoo.com \
--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