RedBoot™ User's Guide: Document Version 1.9, February 2003 | ||
---|---|---|
Prev | Chapter 5. Installation and Testing | Next |
RedBoot supports both serial ports for communication and downloads. The default serial port settings are 38400,8,N,1.
RedBoot is installed using the on-board bootPROM environment. See the user manual for full details.
Here are quick start instructions for downloading the prebuilt Redboot image:
Set DIP switch S1[1] to the ON position and reset or power the board up. You will see the bootPROM startup message on serial port A (J14):
Initialising... ARM bootPROM [Version 1.3] Rebuilt on Jun 26 2001 at 22:04:10 Running on a Integrator Evaluation Board Board Revision V1.0, ARM966E-S Processor Memory Size is 16MBytes, 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 > |
Issue the FLASH ROM load command:
boot Monitor > L Load Motorola S-Records into flash Deleting Image 0 The S-Record loader only accepts input on the serial port. Type Ctrl/C to exit loader. |
Either use the ASCII transmit option in the terminal emulator, or on Linux, simply cat the file to the serial port:
$ cat redboot.srec > /dev/ttyS0 |
When complete, type Ctrl-C and you should see something similar to:
................................ ................................ .................... Downloaded 5,394 records in 81 seconds. Overwritten block/s 0 boot Monitor > |
Set DIP switch S1[1] to the OFF position and reboot the board and you should see the RedBoot banner.
RedBoot sets up the following memory map on the Integrator board.
NOTE: The virtual memory maps in this section use a C and B column to indicate whether or not the region is cached (C) or buffered (B).
ARM7TDMI -------- Physical Address Range C B Description ----------------------- - - ----------- 0x00000000 - 0x0007ffff N N SSRAM 0x00080000 - 0x0fffffff N N SDRAM (depends on part fitted) 0x10000000 - 0x1fffffff N N System control and peripheral registers 0x20000000 - 0x23ffffff N N Boot ROM (contains boot Monitor) 0x24000000 - 0x27ffffff N N FLASH ROM (contains RedBoot) 0x28000000 - 0x2bffffff N N SSRAM echo area 0x40000000 - 0x5fffffff N N PCI Memory access windows 0x60000000 - 0x60ffffff N N PCI IO access window 0x61000000 - 0x61ffffff N N PCI config space window 0x62000000 - 0x6200ffff N N PCI bridge register window 0x80000000 - 0x8fffffff N N SDRAM echo area (used for PCI accesses) ARM966E ------- Physical Address Range C B Description ----------------------- - - ----------- 0x00000000 - 0x000fffff N N SSRAM 0x00100000 - 0x0fffffff N N SDRAM (depends on part fitted) 0x10000000 - 0x1fffffff N N System control and peripheral registers 0x20000000 - 0x23ffffff N N Boot ROM (contains boot Monitor) 0x24000000 - 0x27ffffff N N FLASH ROM (contains RedBoot) 0x28000000 - 0x2bffffff N N SSRAM echo area 0x40000000 - 0x5fffffff N N PCI Memory access windows 0x60000000 - 0x60ffffff N N PCI IO access window 0x61000000 - 0x61ffffff N N PCI config space window 0x62000000 - 0x6200ffff N N PCI bridge register window 0x80000000 - 0x8fffffff N N SDRAM echo area (used for PCI accesses) |
The flash based RedBoot image occupies flash addresses 0x24000000 - 0x2401ffff.
RedBoot also reserves RAM (0x00000000 - 0x0003ffff) for RedBoot runtime uses. If ethernet support is included, then the address range 0x00f00000 to 0x00ffffff are reserved for use by the driver. This may be moved using the MLT.
RAM physical addresses from 0x00040000 to 0x00efffff and from 0x00100000 to the end of SDRAM are available for general use.
The instructions in Chapter 3 should be followed. The values for TARGET, ARCH_DIR and PLATFORM_DIR on this platform are “integrator” or “integrator_arm9”, “arm” and “integrator” respectively. Note that the configuration export files supplied in the hal/arm/integrator/VERSION/misc directory in the RedBoot source tree should be used.