Mips/rm7000 pmcsierra ocelot, Overview, Additional commands – Comtrol eCos User Manual

Page 255: Memory maps, Mips/rm7000 pmc-sierra ocelot

Advertising
background image

Chapter 5. Installation and Testing

MIPS/RM7000 PMC-Sierra Ocelot

Overview

RedBoot uses the front facing serial port. The default serial port settings are 38400,8,N,1. RedBoot also supports
ethernet. Management of onboard flash is also supported.

The following RedBoot configurations are supported:

Configuration

Mode

Description

File

ROM

[ROM]

RedBoot running from the
board’s flash boot sector.

redboot_ROM.ecm

RAM

[RAM]

RedBoot running from
RAM with RedBoot in the
flash boot sector.

redboot_RAM.ecm

Additional commands

The exec command which allows the loading and execution of Linux kernels, is supported for this architecture (see

the Section called Executing Programs from RedBoot in Chapter 2

). The exec parameters used for MIPS boards

are:

-b <

addr>

Location to store command line and environment passed to kernel

-w <

time>

Wait time in seconds before starting kernel

-c

"params"

Parameters passed to kernel

<

addr>

Kernel entry point, defaulting to the entry point of the last image loaded

Linux kernels on MIPS platforms expect the entry point to be called with arguments in the registers equivalent to
a C call with prototype:

void Linux(int argc, char **argv, char **envp);

RedBoot will place the appropriate data at the offset specified by the

-b

parameter, or by default at address

0x80080000, and will set the arguments accordingly when calling into the kernel.

The default entry point, if no image with explicit entry point has been loaded and none is specified, is 0x80000750.

151

Advertising