Rebuilding redboot, Arm/arm7 atmel at91 evaluation board (eb40), Overview – Comtrol eCos User Manual

Page 198: Initial installation method

Advertising
background image

Chapter 5. Installation and Testing

Rebuilding RedBoot

These shell variables provide the platform-specific information needed for building RedBoot according to the
procedure described in

Chapter 3

:

export TARGET=pid

export ARCH_DIR=arm

export PLATFORM_DIR=pid

The names of configuration files are listed above with the description of the associated modes.

ARM/ARM7 Atmel AT91 Evaluation Board (EB40)

Overview

RedBoot supports both serial ports. The default serial port settings are 38400,8,N,1. RedBoot also supports minimal
flash management on the EB40. However, since the flash device (AT29LV1024) is so small (only the upper 64K is
available for general use), only the simple flash write command ’fis write’ is 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

ROMRAM

[ROMRAM]

RedBoot running from
RAM, but contained in the
board’s flash boot sector.

redboot_ROMRAM.ecm

Initial Installation Method

This development board comes with ARM’s debug tool, Angel, installed in flash. At this time, Angel will not be
replaced. Rather, RedBoot will be placed in the alternate half of flash. Switch SW1 is used which monitor to boot.
Selecting SW1 to "lower mem" will choose Angel. Select SW1 to "Upper mem" for RedBoot once it has been
installed.

Set SW1 to "lower mem" and connect serial port A to a host computer. Using GDB from the host and Angel on
the board, download the RAM mode image of RedBoot to the board. SW1 should then be set to "upper mem" just
before starting RedBoot using the ’cont’ command. Once RedBoot is started, the Angel session must be interrupted
(on Linux this can be done using ^Z). Follow this by connecting to the board using minicom at 38400-8N1. At this
point, RedBoot will be running on the board in RAM. Now, download the ROMRAM mode image and program it

94

Advertising