Command syntax netbootloader – Kontron NetBootLoader User Manual

Page 57

Advertising
background image

ID 1022-8317, Rev. 2.0

Command Syntax

NetBootLoader

Page 49

USAGE:

Sample configuration file for loading files:

setcore 0;

load -r initrd1 img1;

md5 -r initrd1.md5 img1.md5;

load -b -r initrd2 img2;

md5 -b -r initrd2.md5 img2.md5;

load -b initrd3 img3;

setcore 1;

load -r initrd4 img4;

md5 -r initrd4.md5 img4.md5;

load -b -r initrd5 img5

run -c

In this example, core 0 is prepared first: If image 1 does not have a
valid md5sum, image 2 is loaded. If image 2 is invalid, image 3 is
loaded. On core 1 image 4 is tried. If this is invalid, image 5 is loaded.
Run with the “-c” option ensures that images for cores 0 and 1 must
be loaded successfully or the system will not start.

LOAD

(NAND Flash)

Advertising