Common commands, Alias, Name – Comtrol eCos User Manual

Page 117: Synopsis, Arguments, Description

Advertising
background image

Commands can be abbreviated to their shortest unique string. Thus in the list above, d,du,dum and dump are all
valid for the dump command. The fconfig command can be abbreviated fc, but f would be ambiguous with fis.

There is one additional, special command. When RedBoot detects ’$’ or ’+’ (unless escaped via ’\’) in a command,
it switches to GDB protocol mode. At this point, the eCos GDB stubs take over, allowing connections from a GDB
host. The only way to get back to RedBoot from GDB mode is to restart the platform.

NOTE: Multiple commands may be entered on a single line, separated by the semi-colon “;” character.

The standard RedBoot command set is structured around the bootstrap environment. These commands are designed
to be simple to use and remember, while still providing sufficient power and flexibility to be useful. No attempt
has been made to render RedBoot as the end-all product. As such, things such as the debug environment are left to
other modules, such as GDB stubs, which are typically included in RedBoot.

The command set may be also be extended on a platform basis.

Common Commands

alias

Name

alias

— Manipulate command line aliases

Synopsis

alias {

name

} [

value

]

Arguments

Name

Type

Description

Default

name

Name

The name for this alias.

none

value

String

Replacement value for the
alias.

none

Description

The alias command is used to maintain simple command line aliases. These aliases are shorthand for longer ex-
pressions. When the pattern %{name} appears in a command line, including in a script, the corresponding value
will be substituted. Aliases may be nested.

13

Advertising