Redboot as primary bootmonitor – Comtrol eCos User Manual

Page 203

Advertising
background image

Chapter 5. Installation and Testing

RedBoot as Primary Bootmonitor

RedBoot is installed in flash using the on-board ARM Boot Monitor.

Boot the board while pressing SPACE. This should bring up the Boot Monitor:

ARM bootPROM [Version 1.3] Rebuilt on Jul 16 2001 at 16:21:36

Running on a P920 board Evaluation Board

Board Revision V1.0, ARM920T processor Processor

Memory Size is 32MBytes, Flash Size is 32MBytes

Copyright (c) ARM Limited 1999 - 2001. All rights reserved.

Board designed by ARM Limited

Hardware support provided at http://www.arm.com/

For help on the available commands type ? or h

boot Monitor >

Download the RAM mode image of RedBoot configured as a primary bootmonitor using the ARM bootmonitor’s
SREC-download command:

boot Monitor

>

m

Load Motorola S-Record image into memory and execute it

The S-Record loader only accepts input on the serial port.

Record addresses must be between 0x00008000 and 0x01E0F510.

Type Ctrl/C to exit loader.

Use the terminal emulator’s ASCII upload command, or (on Linux) simply cat the file to the serial port:

$ cat redboot_primary_RAM/redboot.srec

>

/dev/ttyS1

You should see RedBoot start up:

FLASH configuration checksum error or invalid key

Ethernet eth0: MAC address 00:30:d3:03:04:99

IP: 192.168.42.111, Default server: 192.168.42.3

RedBoot(tm) bootstrap and debug environment [RAM]

Non-certified release, version UNKNOWN - built 13:15:40, Nov

9 2001

Platform: AAED2000 system (ARM9) [Primary]

Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0x00000000-0x01f80000, 0x0006f208-0x01f51000 available

FLASH: 0x60000000 - 0x62000000, 256 blocks of 0x00020000 bytes each.

RedBoot>

As can be seen from the output above, the network has been configured to give the board an IP address and
information about the default server. If things are not set up on your network, you can still continue, but use the
Y-modem download method when loading the RedBoot ROMRAM mode image. Now initialize RedBoot’s FIS:

RedBoot

>

fis init

About to initialize [format] FLASH image system - continue (y/n)? y

*** Initialize FLASH Image System

Warning: device contents not erased, some blocks may not be usable

... Erase from 0x61fe0000-0x62000000: .

... Program from 0x01f5f000-0x01f5f300 at 0x61fe0000: .

99

Advertising