All of lore.kernel.org
 help / color / mirror / Atom feed
From: ffileppo at libero.it <ffileppo@libero.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] R: Re:  Question about md output
Date: Sat, 12 May 2012 18:12:06 +0200 (CEST)	[thread overview]
Message-ID: <809266.7065381336839126651.JavaMail.defaultUser@defaultHost> (raw)


>
>Ditto.
>
>Have a look at itest; if you still make no progress then please
>describe what you actually want to do, so we can show you how to do it
>efficiently - without need to modify code.
>
>Best regards,
>
>Wolfgang Denk
>


Dear Wolfgang,

thanks for your support.
Let me understand if I get this right.

for example, I have a block of 8 words, starting at 0x0:

00000000: a b c d
00000010: e f g h

where a is the crc32 computed on b,c,d,e,f,g,h

Within uboot, I would like to compute the crc32 of  b,c,d,e,f,g,h and compare 
it with a.

-- Compute CRC and store at address 20
crc 1 7 20
-- Compare CRCs
if itest *0 == *20; then echo CRC ok; else echo CRC bad; fi


Is that correct?

Thanks and best regards,

FF

 

             reply	other threads:[~2012-05-12 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 16:12 ffileppo at libero.it [this message]
2012-05-29 20:37 ` [U-Boot] R: Re: Question about md output Wolfgang Denk
2012-05-30  5:40   ` Anthony Foiani

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=809266.7065381336839126651.JavaMail.defaultUser@defaultHost \
    --to=ffileppo@libero.it \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.