Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312)

Overview

RedBoot supports both serial ports on the board and the ethernet port. The default serial port settings are 38400,8,N,1. RedBoot also supports flash management on the EDB7xxx for the NOR flash only. Two basic RedBoot configurations are supported:

Initial Installation Method

A Windows or Linux utility is used to program flash using serial port #1 via on-chip programming firmware. See board documentation for details on in situ flash programming.

Flash management

Updating the secondary RedBoot image

To update the secondary RedBoot images, follow the procedures detailed in the Section called Load and start a different version of RedBoot, running from RAM in Chapter 4, but the actual numbers used with the flags in the sample commands should be:
-f 0xE0040000
-b 0x40000
-r 0x40000
-l 0x40000

NOTE: On the EDB7312, because the primary RedBoot image runs in RAM and not FLASH, it can be updated directly without use of the separate RAM based version.

Special RedBoot Commands

None.

Memory Maps

The MMU page tables and LCD display buffer, if enabled, are located at the end of DRAM.

Physical Address Range     Description
-----------------------    ----------------------------------
0x00000000 - 0x01ffffff    NOR Flash (EDB7211, EDB7212)
0x00000000 - 0x00ffffff    NOR Flash (EDB7312)
0x10000000 - 0x11ffffff    NAND Flash
0x20000000 - 0x2fffffff    Expansion 2
0x30000000 - 0x3fffffff    Expansion 3
0x40000000 - 0x4fffffff    PCMCIA 0
0x50000000 - 0x5fffffff    PCMCIA 1
0x60000000 - 0x600007ff    On-chip SRAM
0x80000000 - 0x8fffffff    I/O registers
0xc0000000 - 0xc1ffffff    DRAM (EDB7211, EDB7212)
0xc0000000 - 0xc0ffffff    DRAM (EDB7312)

Virtual Address Range    C B  Description
-----------------------  - -  ----------------------------------
0x00000000 - 0x01ffffff  Y Y  DRAM 
0x00000000 - 0x00fcffff  Y Y  DRAM (EDB7312)
0x20000000 - 0x2fffffff  N N  Expansion 2
0x30000000 - 0x3fffffff  N N  Expansion 3
0x40000000 - 0x4fffffff  N N  PCMCIA 0
0x50000000 - 0x5fffffff  N N  PCMCIA 1
0x60000000 - 0x600007ff  Y Y  On-chip SRAM
0x80000000 - 0x8fffffff  N N  I/O registers
0xc0000000 - 0xc001ffff  N Y  LCD buffer (if configured)
0xe0000000 - 0xe1ffffff  Y Y  NOR Flash (EDB7211, EDB7212)
0xe0000000 - 0xe0ffffff  Y Y  NOR Flash (EDB7312)
0xf0000000 - 0xf1ffffff  Y Y  NAND Flash

The flash based RedBoot image occupies virtual addresses 0xe0000000 - 0xe003ffff.

Resource Usage

The RAM based RedBoot image occupies RAM addresses 0x40000 - 0x7ffff. The ROMRAM based RedBoot image (EDB7312 only) occupies RAM addresses 0x1000 - 0x3ffff. RAM addresses start at 0x80000 and continue up to the top of the installed physical RAM size, less the memory reserved for MMU page tables (0x9000 bytes) and the LCD display buffer, if enabled (0x20000 bytes). The RAM is available for general use such as a temporary scratchpad for downloaded images before they are written to flash.

The EP7xxx timer #2 is used as a polled timer to provide timeout support for network and XModem file transfers.

Rebuilding RedBoot

The instructions in Chapter 3 should be followed. The values for ARCH_DIR and PLATFORM_DIR on this platform are “arm” and “edb7xxx” respectively. The value for TARGET is either “edb7211” or “edb7212” or “edb7312”, depending on the desired platform. Note that the configuration export files supplied in the hal/arm/edb7xxx/VERSION/misc directory in the RedBoot source tree should be used, and the correct edb7XXX variant chosen.