Chapter 2. redboot commands and examples, Introduction, Redboot commands and examples – Comtrol eCos User Manual
Page 115
Chapter 2. RedBoot Commands and Examples
Introduction
RedBoot provides three basic classes of commands:
•
Program loading and execution
•
Flash image and configuration management
•
Miscellaneous commands
Given the extensible and configurable nature of eCos and RedBoot, there may be extended or enhanced sets of
commands available.
The basic format for commands is:
RedBoot> COMMAND [-S]... [-s val]... operand
Commands may require additional information beyond the basic command name. In most cases this additional
information is optional, with suitable default values provided if they are not present.
Format
Description
Example
-S
A boolean switch; the behavior of
the command will differ, depending
on the presence of the switch. In this
example, the
-f
switch indicates that
a complete initialization of the FIS
data should be performed. There may
be many such switches available for
any given command and any or all of
them may be present, in any order.
RedBoot> fis init -f
-s
val
A qualified value; the letter "s"
introduces the value, qualifying it’s
meaning. In the example,
-b
0x100000
specifies where the
memory dump should begin. There
may be many such switches
available for any given command
and any or all of them may be
present, in any order.
RedBoot> dump -b 0x100000
-l 0x20
11