public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] R: Re:  Question about md output
@ 2012-05-12 16:12 ffileppo at libero.it
  2012-05-29 20:37 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: ffileppo at libero.it @ 2012-05-12 16:12 UTC (permalink / raw)
  To: u-boot


>
>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

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-30  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 16:12 [U-Boot] R: Re: Question about md output ffileppo at libero.it
2012-05-29 20:37 ` Wolfgang Denk
2012-05-30  5:40   ` Anthony Foiani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox