Command syntax netbootloader, Md5 (nand flash) – Kontron NetBootLoader User Manual
Page 61
ID 1022-8317, Rev. 2.0
Command Syntax
NetBootLoader
Page 53
MD5
(NAND Flash)
FUNCTION:
Performs checksum verification of the data buffer contents
SYNTAX:
md5 [-b|-n [-f]] [-r
where:
md5
command
-b
option:
do not calculate md5sum(s) if last specified
file(s) was (were) not loaded
-n
option: new
create new md5sum(s) and write them to the
file(s)
-f
option: force file overwrite
overwrite file(s) if file(s) already exist(s)
-r
option: ramdisk check/create
check or create md5sum of initrd
parameter: string
<[x … ]x>
filename of md5sum for initrd
parameter: string
<[x … ]x>
filename of md5sum for operating system
image
DESCRIPTION:
This command is used to verify the integrity of file(s) loaded in the
data buffer (of the currently specified core). It can verify both OS
images as well as the initrd filesystem.
The md5sum file must have the same 128-bit fingerprint as
generated by the GNU utility “md5sum”.
The “-b” option permits selective performance of md5sum checking.
In particular, in a configuration file it can be used in conjunction with
the LOAD command to provide full control over the image loading
and starting process. Refer to the example provided with the LOAD
command.