Memory maps, Rebuilding redboot – Comtrol eCos User Manual

Page 191

Advertising
background image

Chapter 5. Installation and Testing

-w <

time>

Wait time in seconds before starting kernel

-c

"params"

Parameters passed to kernel

<

addr>

Kernel entry point, defaulting to the entry point of the last image loaded

The parameter string is stored in the on-chip memory at location 0x8C001000, and is prefixed by “cmdline:” if it
was supplied.

Memory Maps

RedBoot sets up the following memory map on the ASB2305 board.

NOTE: The regions mapped between 0x80000000-0x9FFFFFFF are cached by the CPU. However, all those
regions can be accessed uncached by adding 0x20000000 to the address.

Physical Address Range

Description

-----------------------

-----------

0x80000000 - 0x9FFFFFFF

Cached Region

0x80000000 - 0x81FFFFFF

Boot PROM

0x84000000 - 0x85FFFFFF

System Flash

0x86000000 - 0x86007FFF

64Kbit Sys Config EEPROM

0x86F90000 - 0x86F90003

4x 7-segment LEDs

0x86FA0000 - 0x86FA0003

Software DIP Switches

0x86FB0000 - 0x86FB001F

PC16550 Debug Serial Port

0x8C000000 - 0x8FFFFFFF

On-Chip Memory (repeated 16Kb SRAM)

0x90000000 - 0x93FFFFFF

SDRAM

0x98000000 - 0x9BFFFFFF

Paged PCI Memory Space (64Mb)

0x9C000000 - 0x9DFFFFFF

PCI Local SRAM (32Mb)

0x9E000000 - 0x9E03FFFF

PCI I/O Space

0x9E040000 - 0x9E0400FF

AM33-PCI Bridge Registers

0x9FFFFFF4 - 0x9FFFFFF7

PCI Memory Page Register

0x9FFFFFF8 - 0x9FFFFFFF

PCI Config Registers

0xA0000000 - 0xBFFFFFFF

Uncached Mirror Region

0xC0000000 - 0xDFFFFFFF

CPU Control Registers

The ASB2305 HAL makes use of the on-chip memory in the following way:

0x8C000000 - 0x8C0000FF

hal_vsr_table

0x8C000100 - 0x8C0001FF

hal_virtual_vector_table

0x8C001000 -

Linux command line (RedBoot exec command)

- 0x8C003FFF

Emergency DoubleFault Exception Stack

Currently the CPU’s interrupt table lies at the beginning of the RedBoot image, which must therefore be aligned to
a 0xFF000000 mask.

87

Advertising