source: rtems/bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5674f_ecu508 @ 8f8ccee

5
Last change on this file since 8f8ccee was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1MEMORY {
2        DSROM : ORIGIN = 0x00020000, LENGTH = 64k
3        SYSROM : ORIGIN = 0x00100000, LENGTH = 4k
4        RAM : ORIGIN = 0x40000000, LENGTH = 240k
5        NOCACHE : ORIGIN = 0x4003c000, LENGTH = 16k
6        DSRAM : ORIGIN = 0x20000000, LENGTH = 64k
7        RAM_EXT : ORIGIN = 0x20010000, LENGTH = 444k
8        SYSRAM : ORIGIN = 0x2007f000, LENGTH = 4k
9        NVRAM : ORIGIN = 0x3ffa0000, LENGTH = 128k
10}
11
12REGION_ALIAS ("REGION_START", STARTROM);
13REGION_ALIAS ("REGION_FAST_TEXT", RAM);
14REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ROM);
15REGION_ALIAS ("REGION_TEXT", ROM);
16REGION_ALIAS ("REGION_TEXT_LOAD", ROM);
17REGION_ALIAS ("REGION_RODATA", ROM);
18REGION_ALIAS ("REGION_RODATA_LOAD", ROM);
19REGION_ALIAS ("REGION_FAST_DATA", RAM);
20REGION_ALIAS ("REGION_FAST_DATA_LOAD", ROM);
21REGION_ALIAS ("REGION_DATA", RAM);
22REGION_ALIAS ("REGION_DATA_LOAD", ROM);
23REGION_ALIAS ("REGION_BSS", RAM);
24REGION_ALIAS ("REGION_RWEXTRA", RAM_EXT);
25REGION_ALIAS ("REGION_WORK", RAM);
26REGION_ALIAS ("REGION_STACK", RAM);
27REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
28REGION_ALIAS ("REGION_NOCACHE_LOAD", ROM);
29REGION_ALIAS ("REGION_NVRAM", NVRAM);
30
31SECTIONS {
32        .dsram (NOLOAD) : {
33                bsp_section_dsram_begin = .;
34                *(SORT(.bsp_dsram*))
35                bsp_section_dsram_end = .;
36        } > DSRAM AT > DSROM
37        bsp_section_dsram_size = bsp_section_dsram_end - bsp_section_dsram_begin;
38        bsp_section_dsram_load_begin = LOADADDR (.dsram);
39        bsp_section_dsram_load_end = bsp_section_dsram_load_begin + bsp_section_dsram_size;
40
41        .sysram : {
42                bsp_section_sysram_begin = .;
43                *(SORT(.bsp_sysram*))
44                bsp_section_sysram_end = .;
45        } > SYSRAM AT > SYSROM
46        bsp_section_sysram_size = bsp_section_sysram_end - bsp_section_sysram_begin;
47        bsp_section_sysram_load_begin = LOADADDR (.sysram);
48        bsp_section_sysram_load_end = bsp_section_sysram_load_begin + bsp_section_sysram_size;
49}
50
51INCLUDE linkcmds.mpc55xx
Note: See TracBrowser for help on using the repository browser.