diff options
author | Pavel Pisa <ppisa@pikron.com> | 2016-05-22 00:18:03 +0200 |
---|---|---|
committer | Pavel Pisa <ppisa@pikron.com> | 2016-05-31 10:33:43 +0200 |
commit | c64d5f0d0c450f61001538d84d35fa34f52e3590 (patch) | |
tree | ad0436d0bee88f56aedf7db244a9e04f7cfeb5b1 /c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds | |
parent | arm/raspberrypi: add VideoCore framebuffer without initialization (diff) | |
download | rtems-c64d5f0d0c450f61001538d84d35fa34f52e3590.tar.bz2 |
arm/raspberrypi: move MMU in front of application image to respect variable memory size.
The page table is placed at address 0x00004000 which provides
required 16 kB space till the start of application image.
The RAM size specified in a linker script is upper limit
address of RAM utilized for the work area initialization.
If VideoCore reports to use lower address than expected
then work area size is adjusted (shrinked) appropriately.
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds b/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds index f1ad11cc1e..fc72b5cfd0 100644 --- a/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds +++ b/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds @@ -36,9 +36,9 @@ */ MEMORY { - VECTOR_RAM (AIW) : ORIGIN = 0x0 , LENGTH = 0x8000 - RAM (AIW) : ORIGIN = 0x00008000, LENGTH = 128M - 48K - RAM_MMU (AIW) : ORIGIN = 128M - 16k, LENGTH = 16k + VECTOR_RAM (AIW) : ORIGIN = 0x0 , LENGTH = 16k + RAM_MMU (AIW) : ORIGIN = 0x00004000, LENGTH = 16k + RAM (AIW) : ORIGIN = 0x00008000, LENGTH = 128M - 32k } REGION_ALIAS ("REGION_START", RAM); |