Am4140 u-boot bootloader u-boot usage – Kontron AM4140 U-Boot Bootloader User Manual

Page 25

Advertising
background image

AM4140 U-Boot Bootloader

U-Boot Usage

ID 1052-0281, Rev. 1.0

Page 25

P R E L I M I N A R Y

USAGE:

Check the md5 message digest of a file previously loaded to 100000
with a size of 80000 and its md5 message digest loaded to 10000 in a
script

COMMAND / RESPONSE:

=> setenv check_crc “if md5sum 100000 80000 10000;

then echo ‘md5 message digest OK’; else echo ‘md5

message digest BAD’; fi”

=>run check_crc

md5 message digest OK

=>

md5sum (continued)

Advertising