Changeset e4b16ea9 in rtems


Ignore:
Timestamp:
Aug 8, 2013, 11:21:15 PM (7 years ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
4.11, master
Children:
98bcf4ff
Parents:
ef3c17f
git-author:
Pavel Pisa <ppisa@…> (08/08/13 23:21:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/09/13 06:49:55)
Message:

bsp/csb336: Fix MMU _ttbl_base location to not overlap with exception vectors.

The initial region (64 bytes) of SDRAM RTEMS image is remapped
to provide overlay of the initial/ROM exceptions table.
This area cannot be used for MMU mapping table. Different correctly
aligned block has to be used for MMU table. Remapping of SDRAM
(address 0x08200000) to address 0 is supported only on 1 MB block
granularity and that is why SDRAM_VEC area has to be 1 MB aligned too
but unused part of remapped region can be freely used for other
purposes (as MMU tables).

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb336/startup/linkcmds

    ref3c17f re4b16ea9  
    11MEMORY {
    2         SDRAM_MMU : ORIGIN = 0x08200000, LENGTH = 16k
    3         SDRAM : ORIGIN = 0x08204000, LENGTH = 30M - 16k
     2        SDRAM_VEC : ORIGIN = 0x08200000, LENGTH = 16k
     3        SDRAM_MMU : ORIGIN = 0x08204000, LENGTH = 16k
     4        SDRAM :     ORIGIN = 0x08208000, LENGTH = 30M - 32k
    45}
    56
    6 REGION_ALIAS ("REGION_START", SDRAM);
     7REGION_ALIAS ("REGION_START", SDRAM_VEC);
    78REGION_ALIAS ("REGION_VECTOR", SDRAM);
    89REGION_ALIAS ("REGION_TEXT", SDRAM);
Note: See TracChangeset for help on using the changeset viewer.