RedBoot™ User's Guide: Document Version 2.0, December 2003 | ||
---|---|---|
Prev | Chapter 5. Installation and Testing |
RedBoot supports the serial port which is available via a special cable connected to the CON_UART connector on the board. The default serial port settings are 115200,8,N,1. The serial port supports baud rates up to 460800, which can be set using the baud command as described in Chapter 2.
FLASH management is also supported. Two basic RedBoot configurations are supported:
RedBoot running from RAM which has been relocated from the board's flash boot sector. This mode is known as ROMRAM.
RedBoot running from RAM, loaded by some other means.
Since the normal RedBoot configuration does not use the FLASH ROM except during startup, it is unnecessary to load a RAM-based RedBoot before reprogramming the FLASH.
The Portable Demonstration Kit should have been shipped with an existing version of RedBoot, which can be upgraded to the current version using the instructions below.
To update the primary RedBoot image, follow the procedures detailed in the Section called Update the primary RedBoot flash image in Chapter 4, but the actual numbers used with the flags in the sample commands should be:
-f 0xFF000000 -b 0x100000 -l 0x40000 |
The exec command as described in Chapter 2 is supported by RedBoot on this target, for executing Linux kernels. Only the command line and timeout options are relevant to this platform.
The memory map of this platform is fixed by the hardware (cannot be changed by software). The only attributes which can be modified are control over cacheability, as noted below.
Address Cache? Resource 00000000-03EFFFFF Yes SDRAM (via plugin DIMM) 03F00000-03FFFFFF No Unused (SDRAM) 10000000-1FFFFFFF No AX88796 Ethernet 20000000-2FFFFFFF No System FPGA 30000000-3FFFFFFF No MB93493 companion chip (unused) 40000000-FCFFFFFF ?? Unused FD000000-FDFFFFFF ?? FLASH (ROM3,ROM4) (unused) FE000000-FEFFFFFF No Miscellaneous on-chip I/O FF000000-FFFFFFFF No RedBoot FLASH (16MiB) |
The RedBoot image occupies flash addresses 0xFF000000 - 0xFF03FFFF. To execute it copies itself out of there to RAM at 0x03E00000. RedBoot reserves memory from 0x00000000 to 0x0001FFFF for its own use. User programs can use memory from 0x00020000 to 0x03DFFFFF. RAM based RedBoot configurations are designed to run from RAM at 0x00020000.
The instructions in Chapter 3 should be followed. The values for TARGET, ARCH_DIR and PLATFORM_DIR on this platform are “mb93093”, “frv” and “mb93093” respectively. The configuration export files supplied in the hal/frv/mb93093/VERSION/misc directory in the RedBoot source tree should be used. In general only the ROMRAM variant should need to be used.