RedBoot™ User's Guide: Document Version 1.9, February 2003 | ||
---|---|---|
Prev | Chapter 5. Installation and Testing | Next |
RedBoot uses either of the serial ports. The default serial port settings are 38400,8,N,1. Management of onboard flash is also supported. Two basic RedBoot configurations are supported:
RedBoot running from the board's flash boot sector.
RedBoot running from RAM with RedBoot in the flash boot sector.
Device programmer is used to program socketed flash parts with ROM version of RedBoot.
Alternatively, to install RedBoot on a target that already has eCos GDB stubs, download the RAM version of RedBoot and run it. Initialize the flash image directory: fi init Then download the ROM version of RedBoot and program it into flash:
RedBoot> load -b 0x00040000 -m ymodem RedBoot> fi cr RedBoot -f 0x04000000 -b 0x00040000 -l 0x20000 |
RedBoot sets up the following memory map on the PID board.
Physical Address Range Description ----------------------- ----------- 0x00000000 - 0x0007ffff DRAM 0x04000000 - 0x04080000 flash 0x08000000 - 0x09ffffff ASB Expansion 0x0a000000 - 0x0bffffff APB Reference Peripheral 0x0c000000 - 0x0fffffff NISA Serial, Parallel and PC Card ports |
The flash based RedBoot image occupies flash addresses 0x04000000 - 0x0401ffff.
RedBoot also reserves RAM (0x00000000 - 0x00007fff) for RedBoot runtime uses.
RAM based RedBoot configurations are designed to run from RAM at physical addresses 0x00008000 - 0x0003ffff. RAM physical addresses from 0x00040000 to the end of RAM are available for general use, such as a temporary scratchpad for downloaded images, before they are written to flash.
The instructions in Chapter 3 should be followed. The values for TARGET, ARCH_DIR and PLATFORM_DIR on this platform are “pid”, “arm” and “pid” respectively. Note that the configuration export files supplied in the hal/arm/pid/VERSION/misc directory in the RedBoot source tree should be used.