Timestamp:
08/08/13 23:22:06 (11 years ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
4.11, 5, master
Children:
01b0755
Parents:
526f895
git-author:
Pavel Pisa <ppisa@…> (08/08/13 23:22:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/14/13 14:25:58)
Message:

bsp/csb336: Memory map update and jump to start at image start provided.

CSB336 i.MX1/i.MXS memory map organization

  • SDRAM starts at address 0x08000000 but 2 MB are reserved for boot-block/loader (or other use) before RTEMS image origin/load address (that is kept from previous setup)
  • Caching of 30 MB of SDRAM used for RTEMS (start at 0x08200000) is changed to writeback mode which provides higher throughput.
  • The first 1 MB of RTEMS dedicated SDRAM is remapped to address 0 to provide area for ARM CPU exceptions table.
  • Internal registers and rest of the Flash (above 1 MB) are mapped one to one. Registers region is extended to 2 MB to cover eSRAM found on i.MX1 chip variant.
  • The first two megabytes of SDRAM unused by RTEMS are mapped with attributes to allow specific purposes.
  • the first MB (at address 0x08000000) is nocached to allow directly set some values read by booot-block after warm reset
  • the second MB (at address 0x08100000) is set for write-through caching. That allows to use memory for LCD frame-buffer without need to flush cache after each redraw.

Jump to start provided at address 0x08200000 allows
to load application image even as plain binary file
and start it by jump to image start address.

Signed-off-by: Pavel Pisa <ppisa@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.