Initial installation, Quick download instructions, Atlas download format – Comtrol eCos User Manual

Page 248

Advertising
background image

Chapter 5. Installation and Testing

flash region.

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

Initial Installation

RedBoot is installed using the code download facility built into the Atlas board. See the Atlas User manual for
details, and also the Atlas download format in

the Section called Atlas download format

.

Quick download instructions

Here are quick start instructions for downloading the prebuilt RedBoot image.

1. Locate the prebuilt files in the bin directory:

deleteall.dl

and

redboot.dl

.

2. Make sure switch S1-1 is OFF and switch S5-1 is ON. Reset the board and verify that the LED display reads

Flash DL

.

3. Make sure your parallel port is connected to the 1284 port Of the Atlas board.

4. Send the

deleteall.dl

file to the parallel port to erase previous images:

$ cat deleteall.dl >/dev/lp0

When this is complete, the LED display should read

Deleted

.

5. Send the ROM mode RedBoot image to the board:

$ cat redboot.dl >/dev/lp0

When this is complete, the LED display should show the last address programmed. This will be something
like:

1fc17000

.

6. Change switch S5-1 to OFF and reset the board. The LED display should read

RedBoot

.

7. Run the RedBoot fis init and fconfig commands to initialize the flash. See

the Section called Additional config

options

,

the Section called Flash Image System (FIS) in Chapter 2

and

the Section called Persistent State

Flash-based Configuration and Control in Chapter 2

for details.

Atlas download format

In order to download RedBoot to the Atlas board, it must be converted to the Atlas download format. There are
different ways of doing this depending on which version of the developer’s kit is shipped with the board.

144

Advertising