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

Dear all,

I need to access data values stored in flash for integrity checking.

Thus, I would like to parse the output of md (memory display) and store its 
output to enviromental varaibles.

For example, when invoking:

=> md 0x100000 1
00100000: 8083764e bd86200a 60a19054 2c12c402

I would like to store one ore more memory values in some env variables.

1) Is it feasible with the current uboot scripting features?

2) Would it be possible to modify the md command so that it also store its 
output to env variables?

3) Or, would it be possible to modify the md command so that its output is 
just a word value which can be used for uboot scripting capabilities?
e.g. 

=> md 0x100000 1 2 
bd86200a

=> md 0x100000 1 4 
2c12c402

Best Regards,

FF

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

end of thread, other threads:[~2012-05-12 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 13:26 [U-Boot] Question about md output ffileppo at libero.it
2012-05-12 14:32 ` Wolfgang Denk

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