[U-Boot-Users] Using memory value in a hush shell script?

mitsy mitsy12 at gmail.com
Thu Aug 17 17:52:37 CEST 2006


What is the best way to use a value in a memory location in a hush
shell scritpt that gets run with autoscript?

For example, say a CRC value for area 20000000 -- 20001000 is stored
in a flash, at location 12345678. If I wanted to verify a crc against
this value, I'd like to pass the value at address 12345678 as a last
argument.

crc32 -v 20000000 1000 (data @ 12345678)

or is it better to just read the value from flash, store it in a local
variable and use it?




More information about the U-Boot mailing list