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 boot environment. See the user manual for full details.
Here are quick start instructions for downloading the prebuilt Redboot image:
Boot the board and press ENTER:
ARM Evaluator7T Boot Monitor PreRelease 1.00 Press ENTER within 2 seconds to stop autoboot Boot: |
Erase the part of the flash where RedBoot will get programmed:
Boot: flasherase 01820000 10000 |
Prepare to download the UU-encoded version of the RedBoot image:
Boot: download 10000 Ready to download. Use 'transmit' option on terminal emulator to download file. |
Either use ASCII transmit option in the terminal emulator, or on Linux, simply cat the file to the serial port:
$ cat redboot.UU > /dev/ttyS0 |
Loaded file redboot.bin at address 000100000, size = 41960 Boot: |
Program the flash:
Boot: flashwrite 01820000 10000 10000 |
And verify that the module is available:
Boot: rommodules Header Base Limit 018057c8 01800000 018059e7 BootStrapLoader v1.0 Apr 27 2000 10:33:58 01828f24 01820000 0182a3e8 RedBoot Apr 5 2001 |
Reboot the board and you should see the RedBoot banner.
RedBoot sets up the following memory map on the E7T 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).
Physical Address Range C B Description ----------------------- - - ----------- 0x00000000 - 0x0007ffff Y N SDRAM 0x03ff0000 - 0x03ffffff N N Microcontroller registers 0x01820000 - 0x0187ffff N N System flash (mirrored) |
The flash based RedBoot image occupies flash addresses 0x0182000 - 0x0182ffff.
RedBoot also reserves RAM (0x00000000 - 0x0000ffff) for RedBoot runtime uses.
RAM physical addresses from 0x00010000 to the end of RAM 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 “e7t”, “arm” and “e7t” respectively. Note that the configuration export files supplied in the hal/arm/e7t/VERSION/misc directory in the RedBoot source tree should be used.