summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Pisa <ppisa@pikron.com>2013-08-09 01:21:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-09 08:49:55 +0200
commite4b16ea919b97571290b54964f3ec8c2512105cf (patch)
tree139a0999b11cce17adb1e022d96d8c8c2c3147cb
parentsptests/spintrcritical19: Typos (diff)
downloadrtems-e4b16ea919b97571290b54964f3ec8c2512105cf.tar.bz2
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@pikron.com>
-rw-r--r--c/src/lib/libbsp/arm/csb336/startup/linkcmds7
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/csb336/startup/linkcmds b/c/src/lib/libbsp/arm/csb336/startup/linkcmds
index 0e13a9ceac..040619a019 100644
--- a/c/src/lib/libbsp/arm/csb336/startup/linkcmds
+++ b/c/src/lib/libbsp/arm/csb336/startup/linkcmds
@@ -1,9 +1,10 @@
MEMORY {
- SDRAM_MMU : ORIGIN = 0x08200000, LENGTH = 16k
- SDRAM : ORIGIN = 0x08204000, LENGTH = 30M - 16k
+ SDRAM_VEC : ORIGIN = 0x08200000, LENGTH = 16k
+ SDRAM_MMU : ORIGIN = 0x08204000, LENGTH = 16k
+ SDRAM : ORIGIN = 0x08208000, LENGTH = 30M - 32k
}
-REGION_ALIAS ("REGION_START", SDRAM);
+REGION_ALIAS ("REGION_START", SDRAM_VEC);
REGION_ALIAS ("REGION_VECTOR", SDRAM);
REGION_ALIAS ("REGION_TEXT", SDRAM);
REGION_ALIAS ("REGION_TEXT_LOAD", SDRAM);