forked from Imagelibrary/rtems
arm/raspberrypi: minimized mainline patch move MMU in front of application image and correct RPi2 boot on 4.11 branch.
This is minimized version of mainline patch arm/raspberrypi: move MMU in front of application image to respect variable memory size. plus correction which has been part of other mainline patches. This is end of series which allows 4.11 to boot on Raspberry Pi. Closes #2782 Closes #2783
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <bsp/raspberrypi.h>
|
||||
#include <bsp/mm.h>
|
||||
#include <libcpu/arm-cp15.h>
|
||||
#include <bsp.h>
|
||||
|
||||
void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user