Flash management, Special redboot commands, Memory maps – Comtrol eCos User Manual

Page 207

Advertising
background image

Chapter 5. Installation and Testing

Flash management

The ROMRAM and REDBOOT configurations supported on this platform differ only in the memory layout
(ROMRAM configuration runs RedBoot from 0x00008000 while REDBOOT configuration runs RedBoot from
0x07f80000). The REDBOOT configuration allows applications to be loaded and run from address 0x00008000.

Special RedBoot Commands

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

the

Section called Executing Programs from RedBoot in Chapter 2

). The exec parameters used for the Excalibur are:

-b <

addr>

Location Linux kernel was loaded to

-l <

len>

Length of kernel

-c

"params"

Parameters passed to kernel

-r <

addr>

’initrd’ ramdisk location

-s <

len>

Length of initrd ramdisk

The parameters for kernel image base and size are automatically set after a load operation. So one way of starting
the kernel would be:

RedBoot

>

load -r -b 0x100000 zImage

Raw file loaded 0x00100000-0x001a3d6c

RedBoot

>

exec -c "console=ttyUA0,57600"

Using base address 0x00100000 and length 0x000a3d6c

Uncompressing Linux.....

An image could also be put in flash and started directly:

RedBoot

>

exec -b 0x40400000 -l 0xc0000 -c "console=ttyUA0,57600"

Uncompressing Linux.....

103

Advertising